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.
Created attachment 318647 [details] Patch
Created attachment 318648 [details] [Image] After Patch is applied
Comment on attachment 318647 [details] Patch r=me
Comment on attachment 318647 [details] Patch Clearing flags on attachment: 318647 Committed r220973: <http://trac.webkit.org/changeset/220973>
All reviewed patches have been landed. Closing bug.
<rdar://problem/33995898>