Bug 228980 - Dynamically changing HTMLStyleElement.type should change the rendering accordingly
Summary: Dynamically changing HTMLStyleElement.type should change the rendering accord...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2021-08-10 16:31 PDT by Chris Dumez
Modified: 2021-08-11 08:40 PDT (History)
11 users (show)

See Also:


Attachments
Patch (3.68 KB, patch)
2021-08-10 16:33 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2021-08-10 16:31:22 PDT
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.
Comment 1 Chris Dumez 2021-08-10 16:33:11 PDT
Created attachment 435313 [details]
Patch
Comment 2 EWS 2021-08-11 08:39:13 PDT
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].
Comment 3 Radar WebKit Bug Importer 2021-08-11 08:40:19 PDT
<rdar://problem/81795795>