WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
209261
Deferred scripts should wait for stylesheets
https://bugs.webkit.org/show_bug.cgi?id=209261
Summary
Deferred scripts should wait for stylesheets
Ryosuke Niwa
Reported
2020-03-18 17:48:15 PDT
See
https://github.com/whatwg/html/issues/3890
Attachments
Test
(579 bytes, text/plain)
2022-08-14 15:24 PDT
,
Ryosuke Niwa
no flags
Details
Test
(476 bytes, text/html)
2022-08-14 15:24 PDT
,
Ryosuke Niwa
no flags
Details
WIP
(7.11 KB, patch)
2022-08-14 15:53 PDT
,
Ryosuke Niwa
ews-feeder
: commit-queue-
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-12 11:17:42 PDT
I took the test case from WHATWG and changed it into JSFiddle: Link -
https://jsfiddle.net/1hqr2spL/
These are results across all browsers: *** Safari 15.6 on macOS 12.5 *** before: rgb(255, 0, 0) after: rgb(255, 0, 0) load: rgb(255, 0, 0) *** Firefox Nightly 105 *** before:rgb(255, 0, 0) after:rgb(255, 0, 0) load:rgb(255, 0, 0) *** Chrome Canary 106 *** before:rgb(255, 0, 0) after:rgb(255, 0, 0) load:rgb(255, 0, 0) _______ Is something else needed here? Thanks!
Ryosuke Niwa
Comment 2
2022-08-12 15:43:18 PDT
https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/execution-timing?label=experimental&label=master&aligned&view=subtest
Some of these test cases still fail in Safari.
Ryosuke Niwa
Comment 3
2022-08-14 15:24:13 PDT
Created
attachment 461624
[details]
Test In a standalone file, WebKit logs: before: rgb(0, 0, 0) after: rgb(0, 0, 0) load: rgb(255, 0, 0) whereas other browsers log: before: rgb(255, 0, 0) after: rgb(255, 0, 0) load: rgb(255, 0, 0)
Ryosuke Niwa
Comment 4
2022-08-14 15:24:49 PDT
Created
attachment 461625
[details]
Test
Ryosuke Niwa
Comment 5
2022-08-14 15:53:14 PDT
Created
attachment 461626
[details]
WIP
Ryosuke Niwa
Comment 6
2022-08-14 15:55:00 PDT
Blink has changed its behavior in
https://chromium-review.googlesource.com/c/chromium/src/+/3274405
Alexey Proskuryakov
Comment 7
2022-08-20 16:09:17 PDT
Comment on
attachment 461626
[details]
WIP View in context:
https://bugs.webkit.org/attachment.cgi?id=461626&action=review
> LayoutTests/imported/w3c/web-platform-tests/html/semantics/scripting-1/the-script-element/execution-timing/106-defer-import-expected.txt:1 > FAILED (This TC requires JavaScript enabled)
huh
Ahmad Saleem
Comment 8
2024-01-29 16:52:58 PST
Failing tests in Safari:
https://wpt.fyi/results/html/semantics/scripting-1/the-script-element/execution-timing?label=master&label=experimental&aligned=&view=subtest&q=safari%3Afail
Ahmad Saleem
Comment 9
2024-01-30 08:44:54 PST
Blink Commits -
https://chromium.googlesource.com/chromium/src/+/30f857d9e7229853723365ddadb65349aefe0189
&
https://chromium.googlesource.com/chromium/src/+/423ddd5ac2ae25c243ceaaa9f2fdb67981ec4538
Radar WebKit Bug Importer
Comment 10
2024-02-08 13:17:28 PST
<
rdar://problem/122575084
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug