-
Notifications
You must be signed in to change notification settings - Fork 3.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect "tip" in text transform tests #13505
Comments
Besides the copy & paste trick, the tip also states that: "To identify the characters where differences occur, in order to report problem characters,either mouse over to reveal a tooltip" For this reason many tests have a Thus, should this part of the tip be also removed, or should it be fixed somehow? |
It seems the tooltip indeed shows up when opening the test in a browser using the |
There are two reasons i think we should keep the tip:
It's hard enough to find the time at the moment to port the tests we have to the WPT environment (we still have probably several hundred waiting to be copied over), so i'd like to avoid things that will increase the difficulty. (Of course, substantive errors or problems are good to change. I'm just talking about unnecessary edits.) |
Thanks for the feedback. With this explanation, I see how the note is supposed to mean that once you have identified the problematic characters visually, you can use copy/paste and the listed tools to find their name, which makes reporting the problem clearer. That is indeed not wrong, but I found the note's phrasing misleading, as it seemed to me that it said that you could use copy/paste + these tools to identify the differences if you were unsure just by looking at them, which would not be true.
Also, I was not aware that you were running a parallel copy of the tests, I assumed that the i18n site was in some form working off the same repository, so I did not consider problems with synchronisation.
With all of that in mind, I think we can revert the change, but I would suggest rephrasing/clarifying the note to avoid other people being confused the same way.
Maybe something like this:
… Tip: To identify the characters where differences have been observed, in order to report problem characters, either mouse over to reveal a tooltip, or copy and paste the sequence into a tool such as <a href='http://r12a.github.io/uniview/' target='_blank'>UniView</a> or the <a href='http://r12a.github.io/apps/conversion/' target='_blank'>Unicode Conversion Tool</a>. Note that text-transforms is not preserved during copy-and-paste, so this should only be used for find the name of characters of interest, not as a substitute for visually comparing them.
|
I've been absent for the last two weeks so I wasn't able to reply earlier. Sorry about that. I'm fine with reverting the changes or updating the tooltip message as @frivoal suggested. If you prefer the latter I can prepare a new PR. |
@r12a: see previous comment. I'd prefer updating the message as suggested above. Is that OK from the point of view of the i18n group, and of keeping things in sync? |
Gentlemen, i no longer have the bandwidth needed to maintain parity between the WPT tests and the i18n test suite tests, so please feel free to make whatever changes you'd like the tests in the WPT repo. If at some future point i work on the tests in the i18n repo, i'll consider adding something along the lines of @frivoal's suggestion (thank you). |
As discussed in https://bugzilla.mozilla.org/show_bug.cgi?id=1498148#c40, a bunch of text transform tests give the suggestion to copy and paste the result of the transform to in some unicode tool to check if the correct characters have been produced. However, text-transform is not supposed to affect copy and paste, so that's wrong, and that "tip" should be removed. Maybe also the tests that cannot be evaluated without relying on that tip, if any, should be rewritten.
The text was updated successfully, but these errors were encountered: