There are no tests covering the DOM Node highlight. It just paints
quadrants for a given node. What are you trying to test, the highlight or
the node position? Is there a bug you are fixing?

Regards
Pavel

On Wed, Feb 22, 2012 at 11:10 PM, Max Vujovic <[email protected]> wrote:

> Hello,
>
> I was wondering if there are any Web Inspector tests that check the
> appearance, size, or position of a DOM node highlight. By DOM node
> highlight, I mean the translucent margin box, border box, padding box, and
> content box combination that WebKit draws over a DOM node when you inspect
> it.
>
> I need to write a test for a bug to check the size and position of the DOM
> node highlight for an SVG root element, and I've been searching for a
> similar test to imitate. I'd like to query the size and position of the
> DOM node highlight from JavaScript, but I'm not sure that information is
> exposed. I could probably do a pixel test if this isn't currently
> possible, but I was wondering if there's a better way. (The bug I'm
> working on is: https://bugs.webkit.org/show_bug.cgi?id=78037).
>
> Thanks,
> Max Vujovic
>
> _______________________________________________
> webkit-dev mailing list
> [email protected]
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
>
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to