Bug 14267 - After maximizing the window Web Inspector should recalculate the dark mask
Summary: After maximizing the window Web Inspector should recalculate the dark mask
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: All All
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-06-20 23:01 PDT by Niels Leenheer (HTML5test)
Modified: 2008-05-12 15:45 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niels Leenheer (HTML5test) 2007-06-20 23:01:15 PDT
If you inspect an element in the Web Inspector a dark mask block the whole webpage, except for the element that is actually being inspected.

When the inspector is docked to the page and you resize the page by clicking on the window maximize button the mask is not properly recalculated. For example, if the window gets bigger the proper position of the element is not always retained (if the element is aligned to the right or middle). Also if the window gets smaller, the mask is shown outside of the window.
Comment 1 Adam Roben (:aroben) 2008-01-29 10:55:17 PST
<rdar://problem/5712791>
Comment 2 Adam Roben (:aroben) 2008-02-24 14:24:21 PST
Does this bug still occur?
Comment 3 Matt Lilek 2008-02-28 16:43:48 PST
(In reply to comment #2)
> Does this bug still occur?
> 

Yes, it does.  OS X does better than Windows on it, but not by a whole lot.

1. Go to <http://reddit.com>
2. Right click and inspect something on the right-hand side like the ad or Other Reddits section.
3. Click to maximize the window.

On OS X, the black mask will expand to fill in the newly visible content, but the hole will remain in the same position.  On Windows the black mask does not change at all.
Comment 4 Adam Roben (:aroben) 2008-05-12 14:43:54 PDT
We don't have a dark mask anymore (see bug 16532).
Comment 5 Matt Lilek 2008-05-12 15:45:00 PDT
(In reply to comment #4)
> We don't have a dark mask anymore (see bug 16532).
> 

No, but do we plan on adding any kind of toggle-able highlight (in addition to the mouse over in the tree view)?  If so, we should probably reopen this as it would affect that.