This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 29471 - Remove API for alternative stylesheets (document.styleSheetSets etc)
Summary: Remove API for alternative stylesheets (document.styleSheetSets etc)
Status: RESOLVED FIXED
Alias: None
Product: CSS
Classification: Unclassified
Component: CSSOM (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Simon Pieters
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-02-16 10:27 UTC by Simon Pieters
Modified: 2016-02-16 11:25 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2016-02-16 10:27:59 UTC
https://drafts.csswg.org/cssom/#extensions-to-the-document-interface

[[
  attribute DOMString? selectedStyleSheetSet;
  readonly attribute DOMString? lastStyleSheetSet;
  readonly attribute DOMString? preferredStyleSheetSet;
  readonly attribute FrozenArray<DOMString> styleSheetSets;
  void enableStyleSheetsForSet(DOMString? name);
]]

These are supported only in Gecko. It appears there is no interest or plans from other vendors to implement (I can't find any bug asking to implement these methods for Chromium or WebKit or Edge).

Also see
https://lists.w3.org/Archives/Public/public-webapps/2016JanMar/0011.html
https://lists.w3.org/Archives/Public/www-style/2013Aug/0640.html

(WebKit and Blink still have non-standard document.selectedStylesheetSet; if other vendors implement that it can be added to the spec.)