WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
77427
Style declaration objects expose properties whose names are CSS property names
https://bugs.webkit.org/show_bug.cgi?id=77427
Summary
Style declaration objects expose properties whose names are CSS property names
Boris Zbarsky
Reported
2012-01-31 05:24:17 PST
Created
attachment 124711
[details]
Testcase showing bizarre WebKit behavior Per spec, a style declaration object should have a property called "fontSize". WebKit has that, but it _also_ has a property called "font-size" which is not described in the spec and is not implemented in any other browsers. Some sites are using these properties to lock out non-WebKit UAs now. These properties should be either standardized or removed.
Attachments
Testcase showing bizarre WebKit behavior
(139 bytes, text/html)
2012-01-31 05:24 PST
,
Boris Zbarsky
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Dave Hyatt
Comment 1
2012-02-29 10:51:26 PST
Does IE also support these? I think that might have been the original motivation.
Tom Zakrajsek
Comment 2
2012-02-29 10:58:23 PST
Yes. IE does, but FF and Opera do not. You're probably right about that being the motivation. The primary issue is whether or not this is used in the real world. If not, I'd rather remove it than push for spec change.
Boris Zbarsky
Comment 3
2012-02-29 11:16:26 PST
See thread starting
http://lists.w3.org/Archives/Public/www-style/2012Feb/0655.html
btw.
Brent Fulgham
Comment 4
2022-07-12 16:32:38 PDT
It looks like all browsers handle this test case the same way.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug