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...
Status: RESOLVED FIXED
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
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 17:38 UTC by Boris Zbarsky
Modified: 2014-09-16 19:58 UTC (History)
0 users

See Also:


Attachments

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
https://dvcs.w3.org/hg/csswg/rev/26672b51dc80

(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
Thanks!