RESOLVED CONFIGURATION CHANGED 154393
Tailing newline cause last element align error
https://bugs.webkit.org/show_bug.cgi?id=154393
Summary Tailing newline cause last element align error
billy3321
Reported 2016-02-18 04:55:46 PST
Created attachment 271653 [details] failed test page In the test case, if the F div and the close div tag(</div>) has only one newline, will generate a little gap and cause the align error. But if their has space with the newline, this error will not display. The .box text-align set right or justify will cause this error.
Attachments
failed test page (679 bytes, text/html)
2016-02-18 04:55 PST, billy3321
no flags
this test will not cause error (680 bytes, text/html)
2016-02-18 04:57 PST, billy3321
no flags
Test reduction (426 bytes, text/html)
2016-02-19 11:58 PST, zalan
no flags
billy3321
Comment 1 2016-02-18 04:57:21 PST
Created attachment 271654 [details] this test will not cause error
zalan
Comment 2 2016-02-18 21:46:42 PST
Works fine with FF(44.0.2). Fails with Chrome (Version 48.0.2564.116 (64-bit))
zalan
Comment 3 2016-02-19 11:58:32 PST
Created attachment 271771 [details] Test reduction
Brent Fulgham
Comment 4 2022-07-14 15:24:43 PDT
Safari, Chrome, and Firefox all agree on rendering for this test case. I don't believe there is any remaining compatibility issue.
zalan
Comment 5 2022-07-14 16:01:32 PDT
This is an IFC progression (legacy line layout still produces gap).
Note You need to log in before you can comment on or make changes to this bug.