RESOLVED FIXED Bug 74133
Convert some fast/regions pixel tests to reftests
https://bugs.webkit.org/show_bug.cgi?id=74133
Summary Convert some fast/regions pixel tests to reftests
Jacob Goldstein
Reported 2011-12-08 15:07:51 PST
Convert some fast/regions pixel tests to reftests
Attachments
Patch (111.23 KB, patch)
2011-12-14 10:32 PST, Jacob Goldstein
no flags
Patch (147.47 KB, patch)
2011-12-14 10:48 PST, Jacob Goldstein
no flags
Patch (111.27 KB, patch)
2011-12-14 11:11 PST, Jacob Goldstein
no flags
Patch (1021 bytes, patch)
2011-12-14 11:19 PST, Jacob Goldstein
no flags
Patch (112.26 KB, patch)
2011-12-14 11:39 PST, Jacob Goldstein
no flags
Patch (113.61 KB, patch)
2011-12-15 13:37 PST, Jacob Goldstein
webkit.review.bot: commit-queue-
Patch (134.26 KB, patch)
2011-12-16 11:07 PST, Jacob Goldstein
tony: review-
tony: commit-queue-
Patch (112.58 KB, patch)
2011-12-16 11:29 PST, Jacob Goldstein
tony: review-
tony: commit-queue-
Patch (112.63 KB, patch)
2012-01-16 14:01 PST, Jacob Goldstein
no flags
Patch (225.32 KB, patch)
2012-01-16 14:18 PST, Jacob Goldstein
no flags
Patch (112.69 KB, patch)
2012-01-16 14:21 PST, Jacob Goldstein
tony: review+
Patch (113.14 KB, patch)
2012-01-17 12:46 PST, Jacob Goldstein
no flags
Jacob Goldstein
Comment 1 2011-12-14 10:32:41 PST
Jacob Goldstein
Comment 2 2011-12-14 10:48:09 PST
Jacob Goldstein
Comment 3 2011-12-14 11:11:40 PST
Jacob Goldstein
Comment 4 2011-12-14 11:19:32 PST
Jacob Goldstein
Comment 5 2011-12-14 11:39:37 PST
WebKit Review Bot
Comment 6 2011-12-14 12:42:09 PST
Comment on attachment 119267 [details] Patch Attachment 119267 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10873348 New failing tests: fast/regions/webkit-flow-inlines-dynamic.html
Jacob Goldstein
Comment 7 2011-12-15 10:21:51 PST
Failure listed in Comment #6 not associated with the test changed by this patch
Jacob Goldstein
Comment 8 2011-12-15 10:29:18 PST
Failure is related - investigating (In reply to comment #7) > Failure listed in Comment #6 not associated with the test changed by this patch
Tony Chang
Comment 9 2011-12-15 13:34:54 PST
I suspect the failure is because on different OSes, the word wrapping will happen at different places. This is probably not the easiest test to convert. You could maybe change the text to spans with a fixed width or try using the Ahem font.
Jacob Goldstein
Comment 10 2011-12-15 13:37:13 PST
WebKit Review Bot
Comment 11 2011-12-15 16:06:42 PST
Comment on attachment 119494 [details] Patch Attachment 119494 [details] did not pass chromium-ews (chromium-xvfb): Output: http://queues.webkit.org/results/10914419 New failing tests: fast/regions/webkit-flow-inlines-dynamic.html
Jacob Goldstein
Comment 12 2011-12-16 11:07:34 PST
Created attachment 119635 [details] Patch Removed change to test_expectations.txt - results from the updated test will still be ignored on Chromium
Tony Chang
Comment 13 2011-12-16 11:12:26 PST
Comment on attachment 119635 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=119635&action=review > LayoutTests/ChangeLog:16 > +2011-12-15 Eric Carlson <eric.carlson@apple.com> > + Looks like the ChangeLog files didn't merge properly.
Jacob Goldstein
Comment 14 2011-12-16 11:29:43 PST
Created attachment 119640 [details] Patch Corrected ChangeLog
Tony Chang
Comment 15 2011-12-16 11:42:55 PST
Comment on attachment 119640 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=119640&action=review > LayoutTests/ChangeLog:4 > + updates > + Did you mean to include these lines? Maybe just remove them. > LayoutTests/fast/regions/webkit-flow-inlines-dynamic.html:39 > > <div id="content"> Could you add some text saying what the test is testing? E.g., The text in the test should not get out of the region. > LayoutTests/fast/regions/webkit-flow-inlines-dynamic.html:-58 > -<script> > -document.body.offsetWidth; > -document.getElementById('test').appendChild(document.createTextNode(" Here is some added content that will mess things up, since it shoves things down.")); Is this an important part of the test? Why is it being removed?
Jacob Goldstein
Comment 16 2012-01-16 14:01:55 PST
Jacob Goldstein
Comment 17 2012-01-16 14:18:36 PST
Jacob Goldstein
Comment 18 2012-01-16 14:21:20 PST
Jacob Goldstein
Comment 19 2012-01-16 14:25:58 PST
Latest patch address Comment #15: - Updated ChangeLog to remove addition line - Added text to explain what is being tested - Modified test to include dynamic insertion of text to verify that existing text remains within region after insertion NOTE: The text being used in the test files was changed to help protect against failures on various platforms where font size may result in slightly difference spacing. With the new text being used, slightly changes should not affect text wrapping
Tony Chang
Comment 20 2012-01-17 11:46:42 PST
Comment on attachment 122684 [details] Patch Can we use the ahem font to make the test even more cross platform compatible?
Jacob Goldstein
Comment 21 2012-01-17 12:46:09 PST
Created attachment 122800 [details] Patch Updated to use the Ahem font
WebKit Review Bot
Comment 22 2012-01-17 15:26:08 PST
Comment on attachment 122800 [details] Patch Clearing flags on attachment: 122800 Committed r105200: <http://trac.webkit.org/changeset/105200>
WebKit Review Bot
Comment 23 2012-01-17 15:26:15 PST
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.