HTMLStyleElement should create its style sheet even if its media attribute is invalid. WebKit currently doesn't and this is causing us to fail the following WPT test: - html/semantics/document-metadata/the-style-element/style_non_matching_media.html This test is passing in both Firefox and Chrome.
Created attachment 435307 [details] Patch
Corresponding Blink change: https://chromium-review.googlesource.com/631859
Committed r280910 (240432@main): <https://commits.webkit.org/240432@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435307 [details].
<rdar://problem/81795830>