Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 83e87b6e6a3beda3ed62ced43e7dc01aaf44d327
https://github.com/WebKit/WebKit/commit/83e87b6e6a3beda3ed62ced43e7dc01aaf44d327
Author: Ahmad Saleem <[email protected]>
Date: 2024-06-03 (Mon, 03 Jun 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-img-src.tentative.sub-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-link-stylesheet.tentative.sub-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-script-src.tentative.sub-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-img-src.tentative-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-link-stylesheet.tentative-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-script-src.tentative-expected.txt
M Source/WebCore/html/parser/HTMLPreloadScanner.cpp
Log Message:
-----------
Allow speculative parser to see inside Declarative Shadow DOM (DSD) templates
https://bugs.webkit.org/show_bug.cgi?id=269697
rdar://problem/123623233
Reviewed by Antti Koivisto.
Merge: https://chromium-review.googlesource.com/c/chromium/src/+/4200836
Prior to this patch, the speculative parser would bail out at the sight
of any `template` element. However, if that template was a
Declarative Shadow DOM shadow root, like `template shadowrootmode=open`,
it should be scanned.
Note that DSD shadow roots inside "normal" template elements
should still be skipped, since everything in the `template`
is inert.
* Source/WebCore/html/parser/HTMLPreloadScanner.cpp:
(WebCore::TokenPreloadScanner::scan):
*
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-img-src.tentative.sub-expected.txt:
Rebaselined
*
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-link-stylesheet.tentative.sub-expected.txt:
Rebaselined
*
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/document-write/template-shadowrootmode-script-src.tentative.sub-expected.txt:
Rebaselined
*
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-img-src.tentative-expected.txt:
Rebaselined
*
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-link-stylesheet.tentative-expected.txt:
Rebaselined
*
LayoutTests/imported/w3c/web-platform-tests/html/syntax/speculative-parsing/generated/page-load/template-shadowrootmode-script-src.tentative-expected.txt:
Rebaselined
Canonical link: https://commits.webkit.org/279668@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes