WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 56932
Bug 118708
Include disabled stylesheets in document.styleSheets
https://bugs.webkit.org/show_bug.cgi?id=118708
Summary
Include disabled stylesheets in document.styleSheets
Ryosuke Niwa
Reported
2013-07-15 21:26:04 PDT
Consider merging
https://chromium.googlesource.com/chromium/blink/+/ecb0f25278c990b2483ef78ed1612a5cb3cefd48
Stylesheets disabled through LinkStyle.disabled were not included in Document.styleSheets, even if they existed as CSSStyleSheet objects. Fixed LinkStyle::setDisabled so it propagates disabled state to the sheet object when present. According to the HTML5 spec, setting disabled on LinkStyle when the sheet is not present should not have any effect and getting it should return false. I did not dare to do any changes there in this CL.
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2022-08-20 15:21:21 PDT
*** This bug has been marked as a duplicate of
bug 56932
***
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug