RESOLVED FIXED Bug 236730
Remove non-standard display:block UA stylesheet rule for <layer>
https://bugs.webkit.org/show_bug.cgi?id=236730
Summary Remove non-standard display:block UA stylesheet rule for <layer>
Simon Pieters (:zcorpan)
Reported 2022-02-16 12:46:35 PST
What steps will reproduce the problem? (1) Open data:text/html,a<layer>b (2) (3) What is the expected result? "ab" should be on one line (because <layer> should be display:inline) What happens instead? "a" and "b" are on separate lines (because the UA stylesheet has layer { display:block }) https://github.com/WebKit/WebKit/blob/main/Source/WebCore/css/html.css#L53-L55 This is in violation with the HTML standard which doesn't say <layer> should have any UA style: https://html.spec.whatwg.org/multipage/rendering.html#rendering Chromium also has this bug (https://bugs.chromium.org/p/chromium/issues/detail?id=1298197 ), but not Gecko.
Attachments
Patch (1.41 KB, patch)
2022-03-05 06:14 PST, zalan
no flags
Patch (2.88 KB, patch)
2022-03-05 08:34 PST, zalan
no flags
Radar WebKit Bug Importer
Comment 1 2022-02-23 12:47:15 PST
zalan
Comment 2 2022-03-05 06:14:04 PST
zalan
Comment 3 2022-03-05 08:34:32 PST
EWS
Comment 4 2022-03-05 13:25:22 PST
Committed r290870 (248101@main): <https://commits.webkit.org/248101@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 453911 [details].
Note You need to log in before you can comment on or make changes to this bug.