Bug 14267

Summary: After maximizing the window Web Inspector should recalculate the dark mask
Product: WebKit Reporter: Niels Leenheer (HTML5test) <info>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: aroben, dev+webkit, timothy
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   

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.