[Webkit-unassigned] [Bug 14321] getComputedStyle(...).zIndex returns string "normal"
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Sat Jun 23 12:27:46 PDT 2007
http://bugs.webkit.org/show_bug.cgi?id=14321
mitz at webkit.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |mitz at webkit.org
------- Comment #4 from mitz at webkit.org 2007-06-23 12:27 PDT -------
Since the div is not positioned nor transparent, it actually renders as 'auto',
so I don't think it should return '20'. That it returns 'normal' instead of
auto looks like a simple typo in CSSComputedStyleDeclaration:
if (style->hasAutoZIndex())
return new CSSPrimitiveValue(CSS_VAL_NORMAL);
should be CSS_VAL_AUTO.
--
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
More information about the webkit-unassigned
mailing list