[Webkit-unassigned] [Bug 20930] Show node description in inspector highlight

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jul 30 13:37:04 PDT 2010


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





--- Comment #5 from Alexander Pavlov (apavlov) <apavlov at chromium.org>  2010-07-30 13:37:05 PST ---
(In reply to comment #4)

Thanks for taking a look!

> Some quick comments:
> 
> I think showing this note in the middle of the box would be better and be less likely to be clipped. If you show it in the middle I don' think it needs a box around it, maybe just bolder text or a text shadow.

Rendering the label in the middle risks obscuring border/margin rectangles for small elements (esp. narrow ones, should they have a lot of style classes) but I seem to have seen this approach elsewhere so this might work ok.
Without any background, it's going to be quite messy since it may overlay some existing text or image containing a similar pattern in the label area, even with a shadow (I've tried it out).

> Showing the node text in <> is odd, since it is an invalid tag when there is an id or class name. Just drop the <> or something smarter.

Yes, we were just sitting there experimenting, and this was one state snapshot. I don't know if there's something good we can use to enclose the text, guess should just drop the <>.

> Don't use "x" for pixel size, use ×. It is odd to give just one size, since there are multiple deminisions when padding and margin, what does this size include?

This text is rendered in the native code (TextRun), so have to look up what × corresponds to.
This size includes [offsetWidth x offsetHeight]. Do you have any suggestions on how to layout multiple sizes/more data in this "tooltip" area?

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