WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
63535
Implement Style sheet set API according to CSSOM spec
https://bugs.webkit.org/show_bug.cgi?id=63535
Summary
Implement Style sheet set API according to CSSOM spec
HE Shi-Jun
Reported
2011-06-28 07:10:31 PDT
[Supplemental] interface Document { readonly attribute StyleSheetList styleSheets; attribute DOMString? selectedStyleSheetSet; readonly attribute DOMString? lastStyleSheetSet; readonly attribute DOMString? preferredStyleSheetSet; readonly attribute DOMStringList styleSheetSets; void enableStyleSheetsForSet(DOMString? name); }; See:
http://dev.w3.org/csswg/cssom/#extensions-to-the-document-interface
There are some bugs on alternate stylesheets. See: #56932: Alternate stylesheets are not present in document.styleSheets #26673: Dynamically changing .disabled doesn't work And other bugs: For alternate stylesheets, element.disabled and element.sheet.disabled should be true, but currently they are false. And set element.sheet.disabled does not affect element.disabled...
Attachments
Add attachment
proposed patch, testcase, etc.
Alexey Proskuryakov
Comment 1
2011-06-28 15:13:51 PDT
This bug is not very useful as filed. CSSOM is a large specification, and large specifications typically never get implemented to 100% in any browser. When would you consider this bug resolved? If there is anything specific that you need and that is not implemented in WebKit, it would be most efficient to provide your use cases for the features that are needed.
Kevin Ballard
Comment 2
2011-08-25 14:10:25 PDT
This bug as filed isn't asking for full implementation of CSSOM but rather an implementation of the Stylesheet Set API.
Alexey Proskuryakov
Comment 3
2011-08-25 14:29:04 PDT
Still, what is the specific bug to be fixed here? We implement many parts of the API. Propagation of disabled flag thats mentioned in bug description 's being worked on in other bugs. What exactly needs to be done to consider this bug report finished?
Kevin Ballard
Comment 4
2011-08-25 14:44:52 PDT
(In reply to
comment #3
)
> Still, what is the specific bug to be fixed here? > > We implement many parts of the API. Propagation of disabled flag thats mentioned in bug description 's being worked on in other bugs. What exactly needs to be done to consider this bug report finished?
I would imagine that, at the very least, the API that's listed in the description needs to be implemented. Right now webkit supports styleSheets, selectedStylesheetSet (capitalization difference is covered by
bug #62407
) and preferredStylesheetSet, but it doesn't support lastStyleSheetSet, styleSheetSets, or enableStyleSheetsForSet().
Radar WebKit Bug Importer
Comment 5
2022-07-12 14:51:37 PDT
<
rdar://problem/96911947
>
Sam Sneddon [:gsnedders]
Comment 6
2025-01-02 10:14:12 PST
(In reply to Kevin Ballard from
comment #4
)
> (In reply to
comment #3
) > > Still, what is the specific bug to be fixed here? > > > > We implement many parts of the API. Propagation of disabled flag thats mentioned in bug description 's being worked on in other bugs. What exactly needs to be done to consider this bug report finished? > > I would imagine that, at the very least, the API that's listed in the > description needs to be implemented. Right now webkit supports styleSheets, > selectedStylesheetSet (capitalization difference is covered by
bug #62407
) > and preferredStylesheetSet, but it doesn't support lastStyleSheetSet, > styleSheetSets, or enableStyleSheetsForSet().
This was all removed from the CSSOM spec over a decade ago:
https://drafts.csswg.org/cssom/#changes-from-5-december-2013
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