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 24299 - Support both style.webkitFoo and style.WebkitFoo
Summary: Support both style.webkitFoo and style.WebkitFoo
Status: NEW
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-01-15 13:18 UTC by Simon Pieters
Modified: 2014-01-15 13:18 UTC (History)
0 users

See Also:


Attachments

Description Simon Pieters 2014-01-15 13:18:15 UTC
http://dev.w3.org/csswg/cssom/#dom-cssstyledeclaration-camel-cased-attribute

[[
camel-cased attribute
]]

WebKit/Blink support both style.webkitFoo and style.WebkitFoo. In http://webdevdata.org/ data set 2013-09-01 (doesn't include external scripts) I find 63 occurrences of "style\.webkit[A-Z]" and 86 occurrences of "style\.Webkit[A-Z]".

Consider specifying this if the property starts with "-webkit-".