WICG / construct-stylesheets

API for constructing CSS stylesheet objects
Other
138 stars 25 forks source link

Should the origin-clean flag be set or unset? #113

Closed nordzilla closed 4 years ago

nordzilla commented 4 years ago

The spec description of the constructor notes that the origin-clean flag should be "unset"...

"If it is set, the API allows reading and modifying of the CSS rules."

Unsetting this flag would mean that the CSS rules cannot be read or modified. This seems wrong to me.

rakina commented 4 years ago

Oh right, hmm, I think this was a mistake. It should be set.