[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 02:06:23 PST 2012
https://bugs.webkit.org/show_bug.cgi?id=103040
--- Comment #14 from Alexander Pavlov (apavlov) <apavlov at chromium.org> 2012-11-23 02:08:27 PST ---
(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.
--
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