WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
11698
assigning "" to CSS properties has no effect
https://bugs.webkit.org/show_bug.cgi?id=11698
Summary
assigning "" to CSS properties has no effect
Fabian Jakobs
Reported
2006-11-27 08:29:39 PST
Assigning "" to CSS properties sets the property to the default value in other browsers (IE and Firefox). WebKit just ignores such assignments. Example element.style.border = "" // no effect in WebKit, resets border in FF and IE element.style.border = "0px none" // works OK
Attachments
Test case
(2.20 KB, text/html)
2006-11-27 08:30 PST
,
Fabian Jakobs
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Fabian Jakobs
Comment 1
2006-11-27 08:30:39 PST
Created
attachment 11641
[details]
Test case test case added.
Matt Lilek
Comment 2
2006-11-27 09:04:44 PST
Works in Opera too.
Rob Buis
Comment 3
2007-05-17 01:09:24 PDT
The testcase seems to work in ToT. Cheers, Rob.
Alexey Proskuryakov
Comment 4
2007-05-17 10:11:18 PDT
Yes, this was fixed a while ago.
Rob Buis
Comment 5
2007-05-20 04:39:44 PDT
Marking as fixed after ap's comment. Cheers, rob.
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