[Webkit-unassigned] [Bug 103040] Web Inspector: Can we provide an interface to update the "Metrics" and "Highlight Overlay" according to the change of inspected page.
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Nov 23 04:41:07 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103040
--- Comment #18 from Peter Wang <peter.wang at torchmobile.com.cn> 2012-11-23 04:43:10 PST ---
(In reply to comment #14)
> (In reply to comment #13)
> > > Because Inspector recalculates the overlay only when the mouse pointer move out/in an element.
> >
> > This is not so.
>
> Just verified this on the following document (ToT Chromium):
>
> <html>
> <head>
> <style>
>
> #div {
> border: 1px solid black;
> width: 200px;
> height: 100px;
> }
>
> @media (orientation: portrait) {
> #div {
> width: 100px;
> height: 200px;
> }
> }
> </style>
> </head>
> <body>
> <div id="div">#div</div>
> </body>
> </html>
>
> 1. Enabled device metrics emulation with the resolution of 800x600, focused the "Screen resolution" width field and hovered the #div element in the DOM tree.
> 2. Changed width to "500" and hit Tab to apply the change, mouse pointer still over the #div element.
>
> The #div got "rotated" along with its highlight, and the element dimensions in the tooltip got changed, too
I've got your point now . I think there is misunderstanding, I mean if the <div> hasn't any css specifications, how to update the "Metrics" or "highlight overlay" when it's rotated?
--
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