See https://github.com/whatwg/html/issues/3890
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!
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.
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)
Created attachment 461625 [details] Test
Created attachment 461626 [details] WIP
Blink has changed its behavior in https://chromium-review.googlesource.com/c/chromium/src/+/3274405
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
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
Blink Commits - https://chromium.googlesource.com/chromium/src/+/30f857d9e7229853723365ddadb65349aefe0189 & https://chromium.googlesource.com/chromium/src/+/423ddd5ac2ae25c243ceaaa9f2fdb67981ec4538
<rdar://problem/122575084>