layers and zindex in Safari

Lars Knoll lars at trolltech.com
Sun Aug 31 00:12:22 CEST 2003


On Friday 29 August 2003 21:46, David Hyatt wrote:
> I looked at these changes.  I really like them.  The idea of having the
> layers hold onto their own sorted lists is a great simplification.

Thanks. Actually it's more correct now than your old code, since the old code 
didn't sonour document order when flattening and reordering the elements.

> The one thing that looks broken to me at first glance is clipping, but
> I could be wrong.  I'll need to study the code more first.  Also the
> negative z-index thing that we've been talking about.

Might be. It worked for the cases I tested, but I'm sure I missed some. I'll 
do more testing in the next hours.

> One really minor nitpick: the term "PositionedLayer" won't be correct
> in CSS3, since elements that use "opacity" establish their own stacking
> contexts without necessarily being positioned.  I'd just go with
> something generic like "LayerElement."

Was just a name I picked at random for the elements in the ordered list. I can 
easily rename it.

Lars


More information about the Khtml-devel mailing list