| Summary: | Selection changes on modal <dialog> text nodes do not work with the mouse | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Tim Nguyen (:ntim) <ntim> | ||||||
| Component: | CSS | Assignee: | Tim Nguyen (:ntim) <ntim> | ||||||
| Status: | RESOLVED FIXED | ||||||||
| Severity: | Normal | CC: | cdumez, changseok, esprehn+autocc, ews-watchlist, fred.wang, glenn, kangil.han, koivisto, kondapallykalyan, pdr, simon.fraser, webkit-bug-importer | ||||||
| Priority: | P2 | Keywords: | InRadar | ||||||
| Version: | WebKit Nightly Build | ||||||||
| Hardware: | Unspecified | ||||||||
| OS: | Unspecified | ||||||||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=231962 | ||||||||
| Bug Depends on: | |||||||||
| Bug Blocks: | 84635, 165279 | ||||||||
| Attachments: |
|
||||||||
|
Description
Tim Nguyen (:ntim)
2021-10-14 07:38:36 PDT
Created attachment 441575 [details]
Patch
Comment on attachment 441575 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=441575&action=review > Source/WebCore/rendering/style/RenderStyle.h:613 > + UserSelect effectiveUserSelect() const { return effectiveInert() ? UserSelect::None : userSelect(); } It is confusing since "effectiveUserSelect" sounds like a property but this is just a helper. Perhaps bool allowsSelections() const; or similar. It would also be good to start moving helpers out of RenderStyle inline bool allowsSelections(const RenderStyle&) would be another option. Comment on attachment 441575 [details]
Patch
r=me but please find a better name
Created attachment 441591 [details]
Patch
Committed r284366 (243151@main): <https://commits.webkit.org/243151@main> |