[Webkit-unassigned] [Bug 255640] New: Declarative shadow DOM does not block rendering on <link> (browser inconsistency)
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Apr 18 21:06:18 PDT 2023
https://bugs.webkit.org/show_bug.cgi?id=255640
Bug ID: 255640
Summary: Declarative shadow DOM does not block rendering on
<link> (browser inconsistency)
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: DOM
Assignee: webkit-unassigned at lists.webkit.org
Reporter: mic.gallego at gmail.com
Hi,
While trying the declarative shadow DOM, I found that Safari does not block rendering if it encounters a <link> external stylesheet, causing FOUC. Chrome, on the other hand, seems to block the rendering until the stylesheet is loaded.
I could not find on the spec which behavior is expected, but having inconsistent behavior makes it hard to properly implement a workaround. From a developer point of view, blocking is more desirable (the only way to avoid blocking is to load the stylesheet in the head in the global scope, which leak all the styles).
I've raised this concern as well in the W3C repo: https://github.com/whatwg/dom/issues/1187
Thanks.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230419/b0b10a92/attachment.htm>
More information about the webkit-unassigned
mailing list