[webkit-dev] "highlighting" a frame

W. James MacLean wjmaclean at chromium.org
Wed Jul 11 13:09:21 PDT 2012


If you're just looking to draw a border, will the focus rings mechanism
suffice?


On Tue, Jul 10, 2012 at 1:37 AM, Patrick East <patricke at bsquare.com> wrote:

>  Hello,
>
>  We are working on a custom build of WebKit that will "highlight" a frame
> when the mouse moves over it (the intent is to have it draw a border around
> it for use with a custom input device). We have tried modifying the webcore
> html.css file adding in a :hover selector for frame and iframe that sets
> the border property, but this doesn't work correctly for embedded frames.
> When we test mousing over them it draws the border on the outer-most frame
> and not the inner frame which is what I want.
>
>  Unfortunately I don't know much about the css code in WebKit, so any
> suggestions on how this could be achieved would be much appreciated.
>
>  Thanks!
>
>  Patrick East
> patricke at bsquare.com
>
> _______________________________________________
> webkit-dev mailing list
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo/webkit-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120711/f2ac7dfd/attachment.html>


More information about the webkit-dev mailing list