| Summary: | Web Inspector: Allow selecting text of Response (DOM Tree) | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Nikita Vasilyev <nvasilyev> | ||||||
| Component: | Web Inspector | Assignee: | Nikita Vasilyev <nvasilyev> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | inspector-bugzilla-changes, joepeck, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Attachments: |
|
||||||||
|
Description
Nikita Vasilyev
2020-06-25 13:54:07 PDT
Created attachment 402806 [details]
Patch
Comment on attachment 402806 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=402806&action=review > Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css:50 > +.tree-outline.dom.non-selectable { Should we allow selecting text of something with a class "non-selectable"? Should that class just be removed? Created attachment 402812 [details]
[Video] With patch applied
I see "non-selectable" was added for this new case that is different from TreeOutline selection in Elements. In Elements, it isn't text selection. It's treeOutline node selection, which is different.
I hope it clears things up.
(In reply to Joseph Pecoraro from comment #2) > Comment on attachment 402806 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=402806&action=review > > > Source/WebInspectorUI/UserInterface/Views/DOMTreeOutline.css:50 > > +.tree-outline.dom.non-selectable { > > Should we allow selecting text of something with a class "non-selectable"? > Should that class just be removed? To answer your question: No, because in Elements, we don't have "non-selectable" and it should not have `-webkit-user-select: text`. Comment on attachment 402806 [details]
Patch
Sounds fine then.
Committed r263872: <https://trac.webkit.org/changeset/263872> All reviewed patches have been landed. Closing bug and clearing flags on attachment 402806 [details]. |