WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
231741
Selection changes on modal <dialog> text nodes do not work with the mouse
https://bugs.webkit.org/show_bug.cgi?id=231741
Summary
Selection changes on modal <dialog> text nodes do not work with the mouse
Tim Nguyen (:ntim)
Reported
2021-10-14 07:38:36 PDT
I suspect there's a bug with how text selection on inert is implemented.
Attachments
Patch
(23.66 KB, patch)
2021-10-18 02:36 PDT
,
Tim Nguyen (:ntim)
koivisto
: review+
Details
Formatted Diff
Diff
Patch
(23.72 KB, patch)
2021-10-18 05:24 PDT
,
Tim Nguyen (:ntim)
no flags
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-10-17 02:44:42 PDT
<
rdar://problem/84342457
>
Tim Nguyen (:ntim)
Comment 2
2021-10-18 02:36:01 PDT
Created
attachment 441575
[details]
Patch
Antti Koivisto
Comment 3
2021-10-18 04:32:32 PDT
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.
Antti Koivisto
Comment 4
2021-10-18 05:03:12 PDT
Comment on
attachment 441575
[details]
Patch r=me but please find a better name
Tim Nguyen (:ntim)
Comment 5
2021-10-18 05:24:40 PDT
Created
attachment 441591
[details]
Patch
Tim Nguyen (:ntim)
Comment 6
2021-10-18 05:26:51 PDT
Committed
r284366
(
243151@main
): <
https://commits.webkit.org/243151@main
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug