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 26817 - The per-supported-property attributes on CSSStyleDeclaration might need [TreatNullAs] annotations
Summary: The per-supported-property attributes on CSSStyleDeclaration might need [Trea...
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
Depends on:
Reported: 2014-09-16 17:38 UTC by Boris Zbarsky
Modified: 2014-09-16 19:58 UTC (History)
0 users

See Also:


Description Boris Zbarsky 2014-09-16 17:38:03 UTC
They don't seem to have those right now, but I think they might need them for web compat.  So does cssFloat.  Gecko certainly has such annotations.

Also, shouldn't the dashed property case be specified as a partial interface similar to the normal case?
Comment 1 Simon Pieters 2014-09-16 19:42:38 UTC

(I think I had considered this and concluded that it was fine because setProperty's argument has [TreatNullAs]. However it's not fine without having a nullable type for the camel-cased/dashed attributes. But I've used [TreatNullAs] to avoid confusion.)
Comment 2 Boris Zbarsky 2014-09-16 19:58:19 UTC