Bug 175758

Summary: Web Inspector: Can't copy text from "View variable value" popover in Styles sidebar
Product: WebKit Reporter: Matt Baker <mattbaker>
Component: Web InspectorAssignee: Devin Rousso <hi>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, hi, inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch
none
[Image] After Patch is applied none

Matt Baker
Reported 2017-08-20 18:33:06 PDT
Summary: Can't copy text from "View variable value" popover in Styles sidebar. Test page: <style> body { --my-var: gray; background-color: var(--my-var); } </style> Steps to Reproduce: 1. Inspect test page 2. Goto Elements tab > Styles 3. In the `body` rule, `background-color` property, click the "=" button. 4. Select popover text (gray) and right click. => Copy is disabled/grayed out. => ⌘+C has unpredictable results. Sometimes nothing happens. Sometimes the selector text from the rule is copied.
Attachments
Patch (1.65 KB, patch)
2017-08-21 10:59 PDT, Devin Rousso
no flags
[Image] After Patch is applied (41.50 KB, image/png)
2017-08-21 10:59 PDT, Devin Rousso
no flags
Devin Rousso
Comment 1 2017-08-21 10:59:01 PDT
Devin Rousso
Comment 2 2017-08-21 10:59:27 PDT
Created attachment 318648 [details] [Image] After Patch is applied
Matt Baker
Comment 3 2017-08-21 11:15:51 PDT
Comment on attachment 318647 [details] Patch r=me
WebKit Commit Bot
Comment 4 2017-08-21 11:45:39 PDT
Comment on attachment 318647 [details] Patch Clearing flags on attachment: 318647 Committed r220973: <http://trac.webkit.org/changeset/220973>
WebKit Commit Bot
Comment 5 2017-08-21 11:45:40 PDT
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 6 2017-08-21 11:46:58 PDT
Note You need to log in before you can comment on or make changes to this bug.