Changeset 33458 in webkit
- Timestamp:
- May 14, 2008 3:07:56 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/WebCore/ChangeLog
r33457 r33458 1 2008-05-14 David Hyatt <hyatt@apple.com> 2 3 Fix for bug https://bugs.webkit.org/show_bug.cgi?id=16130. 4 5 Opacity, transforms, reflections and masks should not honor z-index unless the element is also 6 positioned. Always reset to auto if the element is not positioned (and then the following code will 7 adjust auto to 0 as needed). 8 9 Reviewed by Dan Bernstein 10 11 * css/CSSStyleSelector.cpp: 12 (WebCore::CSSStyleSelector::adjustRenderStyle): 13 1 14 2008-05-14 Anders Carlsson <andersca@apple.com> 2 15 -
trunk/WebCore/css/CSSStyleSelector.cpp
r32836 r33458 1182 1182 } 1183 1183 1184 // Make sure our z-index value is only applied if the object is positioned, 1185 // relatively positioned, transparent, or has a transform/mask/reflection. 1186 if (style->position() == StaticPosition && style->opacity() == 1.0f && !style->hasTransform() && !style->hasMask() && !style->boxReflect()) 1184 // Make sure our z-index value is only applied if the object is positioned. 1185 if (style->position() == StaticPosition) 1187 1186 style->setHasAutoZIndex(); 1188 1187
Note: See TracChangeset
for help on using the changeset viewer.