[Webkit-unassigned] [Bug 38442] New: Assignment to style.border causes border-style and border-color duplication
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sun May 2 15:54:54 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=38442
Summary: Assignment to style.border causes border-style and
border-color duplication
Product: WebKit
Version: 528+ (Nightly build)
Platform: Macintosh
OS/Version: Mac OS X 10.6
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: New Bugs
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: andrewss at vmware.com
When an element's style.border is set to "0", the border-style and border-color
attributes are set implicitly. Repeatedly calling style.border = "0" causes
the implicitly border styles to be added to the element again, instead of
updating the existing value.
For example, after setting border.style = "0" twice. The value of the style
attribute is:
border-style: initial; border-color: initial; border-top-width: 0px;
border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px;
border-style: initial; border-color: initial;
The border-style and border-color attributes are listed twice, and will be
listed again every time the style.border value is set.
A test case is attached. This behavior is visible on Safari 4.0.5 and Chrome
5.0.342.9 beta on Mac OS 10.5 and 10.6
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list