Open Bug 1606969 Opened 6 years ago Updated 3 years ago

Move more StyleSheet setters into constructor

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: nordzilla, Unassigned)

Details

This came up in Bug 1606727 to implement the WebIDL Constructor for CSSStyleSheets.

Many of the setters may be able to be moved into the constructor for StyleSheet itself.
This has also been noted before, such as here.

Possible setters to look at moving to construction time:

  • SetURIs()
  • SetTitle()
  • SetPrincipal()
  • SetReferrerInfo()
Component: DOM: CSS Object Model → CSS Parsing and Computation
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.