| Summary: | Stylesheets from other stylesheet sets should be disabled | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> | ||||||
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> | ||||||
| Status: | NEW --- | ||||||||
| Severity: | Normal | CC: | ap, bfulgham, karlcow, koivisto, rniwa, simon.fraser, webkit-bug-importer, zalan | ||||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||||
| Version: | Safari 15 | ||||||||
| Hardware: | Mac (Apple Silicon) | ||||||||
| OS: | macOS 12 | ||||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=212515 https://bugs.webkit.org/show_bug.cgi?id=118708 |
||||||||
| Attachments: |
|
||||||||
|
Description
Ahmad Saleem
2022-08-04 06:28:24 PDT
Created attachment 461403 [details]
WIP
Created attachment 461404 [details]
Test
Comment on attachment 461403 [details] WIP View in context: https://bugs.webkit.org/attachment.cgi?id=461403&action=review > Source/WebCore/style/StyleScope.cpp:408 > + sheet->setDisabled(title != m_preferredStylesheetSetName); This isn't quite right. Firefox allows unpreferred / disabled script to be enabled again by script. Web-Spec: Setting the disabled flag in step 5 of https://drafts.csswg.org/cssom/#add-a-css-style-sheet Source - Mozilla bug (https://bugzilla.mozilla.org/show_bug.cgi?id=1708045) |