Bug 171825 - Drop non-standard document.implementation.createCSSStyleSheet() API
Summary: Drop non-standard document.implementation.createCSSStyleSheet() API
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Chris Dumez
URL:
Keywords: WebExposed
: 60973 (view as bug list)
Depends on:
Blocks:
 
Reported: 2017-05-08 13:38 PDT by Chris Dumez
Modified: 2022-07-28 12:57 PDT (History)
10 users (show)

See Also:


Attachments
Patch (7.81 KB, patch)
2017-05-08 14:15 PDT, Chris Dumez
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chris Dumez 2017-05-08 13:38:37 PDT
Drop non-standard document.implementation.createCSSStyleSheet() API.

This was never-implemented by Firefox and they actually rejected implementing it:
- Drop non-standard document.implementation.createCSSStyleSheet() API

Blink dropped this API back in 2014 after getting UseCounter data showing this was not used:
- https://bugs.chromium.org/p/chromium/issues/detail?id=363561
- https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/uDjkuGA9gQs/zytnzJ6WryYJ

The API is not useful in its current state because even though document.implementation.createCSSStyleSheet() allows you to create a stylesheet, there is currently no way to associate it with the document.
Comment 1 Chris Dumez 2017-05-08 14:15:11 PDT
Created attachment 309409 [details]
Patch
Comment 2 WebKit Commit Bot 2017-05-08 15:18:02 PDT
Comment on attachment 309409 [details]
Patch

Clearing flags on attachment: 309409

Committed r216458: <http://trac.webkit.org/changeset/216458>
Comment 3 WebKit Commit Bot 2017-05-08 15:18:04 PDT
All reviewed patches have been landed.  Closing bug.
Comment 4 Ryosuke Niwa 2022-07-28 12:57:58 PDT
*** Bug 60973 has been marked as a duplicate of this bug. ***