This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
CSSOM spec should be updated to reflect recent Web IDL changes with regards to [TreatNullAs]: - https://github.com/heycam/webidl/pull/286 e.g. For example at https://drafts.csswg.org/cssom/#the-medialist-interface : [TreatNullAs=EmptyString] stringifier attribute CSSOMString mediaText; should become: stringifier attribute [TreatNullAs=EmptyString] CSSOMString mediaText; There are likely other instances in the same spec.
https://github.com/w3c/csswg-drafts/pull/1528 I updated all instances in csswg-drafts: $ find . -name "*.bs" | xargs grep "TreatNullAs" ./cssom/Overview.bs: [TreatNullAs=EmptyString] stringifier attribute CSSOMString mediaText; ./cssom/Overview.bs: [CEReactions] void setProperty(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString value, [TreatNullAs=EmptyString] optional CSSOMString priority = ""); ./cssom/Overview.bs: [CEReactions] void setPropertyValue(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString value); ./cssom/Overview.bs: [CEReactions] void setPropertyPriority(CSSOMString property, [TreatNullAs=EmptyString] CSSOMString priority); ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString cssFloat; ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString _<var>camel_cased_attribute</var>; ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString _<var>webkit_cased_attribute</var>; ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute CSSOMString _<var>dashed_attribute</var>; (Nothing with [Clamp] or [EnforceRange] AFAICT.)
(In reply to Simon Pieters from comment #1) > https://github.com/w3c/csswg-drafts/pull/1528 > > I updated all instances in csswg-drafts: > > $ find . -name "*.bs" | xargs grep "TreatNullAs" > ./cssom/Overview.bs: [TreatNullAs=EmptyString] stringifier attribute > CSSOMString mediaText; > ./cssom/Overview.bs: [CEReactions] void setProperty(CSSOMString property, > [TreatNullAs=EmptyString] CSSOMString value, [TreatNullAs=EmptyString] > optional CSSOMString priority = ""); > ./cssom/Overview.bs: [CEReactions] void setPropertyValue(CSSOMString > property, [TreatNullAs=EmptyString] CSSOMString value); > ./cssom/Overview.bs: [CEReactions] void setPropertyPriority(CSSOMString > property, [TreatNullAs=EmptyString] CSSOMString priority); > ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute > CSSOMString cssFloat; > ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute > CSSOMString _<var>camel_cased_attribute</var>; > ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute > CSSOMString _<var>webkit_cased_attribute</var>; > ./cssom/Overview.bs: [CEReactions, TreatNullAs=EmptyString] attribute > CSSOMString _<var>dashed_attribute</var>; > > (Nothing with [Clamp] or [EnforceRange] AFAICT.) Thanks Simon!