[webkit-dev] Web Inspector tests for DOM node highlights

Pavel Feldman pfeldman at chromium.org
Thu Feb 23 04:00:00 PST 2012

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?


On Wed, Feb 22, 2012 at 11:10 PM, Max Vujovic <mvujovic at adobe.com> 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
> webkit-dev at lists.webkit.org
> http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-dev/attachments/20120223/0acd662e/attachment.html>

More information about the webkit-dev mailing list