Bug 228980

Summary: Dynamically changing HTMLStyleElement.type should change the rendering accordingly
Product: WebKit Reporter: Chris Dumez <cdumez>
Component: CSSAssignee: Chris Dumez <cdumez>
Status: RESOLVED FIXED    
Severity: Normal CC: achristensen, changseok, darin, esprehn+autocc, ews-watchlist, ggaren, gyuyoung.kim, koivisto, sam, webkit-bug-importer, youennf
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

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>