[Webkit-unassigned] [Bug 131153] [CSS Blending] Add compositing reason for isolation in RenderLayerCompositor.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Thu Apr 3 15:14:07 PDT 2014
https://bugs.webkit.org/show_bug.cgi?id=131153
--- Comment #12 from Joseph Pecoraro <joepeck at webkit.org> 2014-04-03 15:14:22 PST ---
(In reply to comment #11)
> (From update of attachment 228532 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=228532&action=review
>
> >> Source/WebInspectorUI/UserInterface/Views/LayerTreeSidebarPanel.js:436
> >> + addReason(WebInspector.UIString("Element isolates composited descendants having CSS blending applied"));
> >
> > Very interesting! The patch looks good, As a user facing feature, I'd want to get a little more information on what isolation is so that maybe we can improve the UI String. Right now it sounds fine.
> >
> > Is "-webkit-isolation" with children having blending the only way to get this state? Is just -webkit-isolation enough?
> >
> > Note some of the other reasons include the CSS property, so it might be useful here to include "-webkit-isolation".
>
> > I'd want to get a little more information on what isolation
> We say that a layer isolates, or create an isolated group as defined here: http://dev.w3.org/fxtf/compositing-1/#isolatedgroups, if descendant layers are composited over a fully transparent black backdrop, so that the layers with CSS blending will be able to access only the elements from inside the isolated group.
>
> > Is "-webkit-isolation" with children having blending the only way to get this state? Is just -webkit-isolation enough?
> A layer isolates if it is a stacking context and has blending descendants: http://dev.w3.org/fxtf/compositing-1/#csscompositingrules_CSS . -webkit-isolation just turns the element into a stacking context: http://dev.w3.org/fxtf/compositing-1/#isolation, so a positioned layer with z-index would have the same effect.
Excellent, thanks for the links.
> I think we should not say "-webkit-isolation", maybe "Element is a stacking context and has composited descendants with CSS blending applied"?.
I'm fine with both "Element isolates" or "Element is a stacking context". The 2nd will be more familiar to web developers, and if that really is all isolation is in this context, than it might be the more user friendly string. It seems that "isolates" is a more technical term. For example, I had no idea what it meant =).
Thanks
--
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