[Webkit-unassigned] [Bug 54618] Web Inspector: Need renderer hint on implementing hovered node highlight in WebCore.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Feb 17 09:12:06 PST 2011


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


Simon Fraser (smfr) <simon.fraser at apple.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #1 from Simon Fraser (smfr) <simon.fraser at apple.com>  2011-02-17 09:12:06 PST ---
 >1. Bump element's zindex on hover in its style and call highlight code from the RenderObject

That wont' work.

> 2. Somehow have additional RenderLayer that would paint highlight

I don't think you want that either.

When accelerated compositing is off, you could get away with painting something "last" in the painting order. See ScrollView for some code that does this for overlay scrollbars and the pan indicator.

When accelerated compositing is on, you'll need to render the highlight into its own GraphicsLayer which is above everything else. WebKit2 already has a notion of an overlay layer (it's used for the Find highlight), but we'd need to pipe something through for WebKit1.

It would be nice if we could share the same "overlay" logic whether or not compositing is on, and have the GraphicsLayer part be hidden.

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