[Webkit-unassigned] [Bug 84796] Implement the new stacking layer needed by the Fullscreen API and the new <dialog> element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 21 02:29:11 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=84796





--- Comment #6 from Hajime Morrita <morrita at google.com>  2012-09-21 02:29:40 PST ---
(In reply to comment #5)
> Jer, thanks for the comments.
> 
> After investigating some more and talking with morrita@, I'm wondering if we should use RenderLayer to implement this. It sounds like the RenderObject tree should basically correspond to the DOM tree, so moving the renderers around in the tree may cause problems.
> 
> I wonder if instead we can extend RenderLayer to do top layer stacking in addition to the existing z-index stacking. Each element in the top layer would have a RenderLayer. Then we can keep the RenderObjects in their usual place in the render tree. It might still be necessary to have their containing block (but not parent) be RenderFullScreen/RenderTopLayer, so it can do any special positioning required.

Some followup:

- Specifying z-index gives a layer to the renderer. What special about <dialog>
  is that it might need a layer in some unusual position.
- Render tree represents a CSS Box tree, which roughly matches DOM tree but
  it has its own construction algorithm (specified in CSS standard).
  In my understanding, moving RenderDialog to some special position
  means changing that algorithm.
  In contrast, RenderLayer roughly corresponds the stacking context, 
  so it seems to have natural fit to achieve the modality.

-- 
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