[Webkit-unassigned] [Bug 47828] style.border color comparison only returns true if the color is in rgb(r, g, b) format
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu May 3 03:52:17 PDT 2012
https://bugs.webkit.org/show_bug.cgi?id=47828
Pravin D <pravind.2k4 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |pravind.2k4 at gmail.com
--- Comment #1 from Pravin D <pravind.2k4 at gmail.com> 2012-05-03 03:52:17 PST ---
(In reply to comment #0)
> This bug can be observed in Origyn Web Browser and Google Chrome on linux.
>
> if "#" format is used for style.border comparison, the comparison always fails. In firefox and opera both "#" format and rgb format works fine.
I don't think they work properly for '#' format on FF and Opera too.
The results are same as below in FF and Opera.
document.getElementById('hplogo').style.border == '1px solid #d3c7a4'
false
Not sure how '#' format comparison should work though.
--
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