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.
<rdar://problem/89372670>
Created attachment 453909 [details] Patch
Created attachment 453911 [details] Patch
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].