Dynamically changing HTMLStyleElement.type should change the rendering accordingly. This is causing the following WPT test to fail in WebKit: - html/semantics/document-metadata/the-style-element/style_type_change.html This test is passing in both Firefox and Chrome.
Created attachment 435313 [details] Patch
Committed r280909 (240431@main): <https://commits.webkit.org/240431@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 435313 [details].
<rdar://problem/81795795>