Bug 89766

Summary: Web Inspector: [Elements] Right-clicking on whitespace should show the same context menu as right-clicking on the tag text
Product: WebKit Reporter: Alexander Pavlov (apavlov) <apavlov>
Component: Web Inspector (Deprecated)Assignee: Alexander Pavlov (apavlov) <apavlov>
Status: RESOLVED FIXED    
Severity: Normal CC: apavlov, bweinstein, joepeck, keishi, loislo, pfeldman, pmuellr, rik, timothy, yurys
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
Patch vsevik: review+

Description Alexander Pavlov (apavlov) 2012-06-22 09:46:14 PDT
Patch to follow.

Upstreaming http://code.google.com/p/chromium/issues/detail?id=133741
Comment 1 Alexander Pavlov (apavlov) 2012-06-22 10:52:27 PDT
Created attachment 149061 [details]
Patch
Comment 2 Vsevolod Vlasov 2012-06-22 11:08:37 PDT
Comment on attachment 149061 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=149061&action=review

> Source/WebCore/inspector/front-end/ElementsTreeOutline.js:456
> +        if (isTag && treeElement._populateTagContextMenu) {

As discussed  offline this regresses textNode context menu.
Comment 3 Alexander Pavlov (apavlov) 2012-06-22 11:16:53 PDT
Created attachment 149067 [details]
Patch
Comment 4 Alexander Pavlov (apavlov) 2012-06-22 11:22:57 PDT
Committed r121042: <http://trac.webkit.org/changeset/121042>