[Webkit-unassigned] [Bug 249500] New: Counters are always generated content and cannot be selected

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Dec 16 14:26:29 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=249500

            Bug ID: 249500
           Summary: Counters are always generated content and cannot be
                    selected
           Product: WebKit
           Version: Safari Technology Preview
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: HTML Editing
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com
                CC: wenson_hsieh at apple.com

Hi Team,

Just going through Blink's commit and trying to improve contenteditable support, I came across another failing test case:

https://jsfiddle.net/u7r2qw0f/

^ Trying to select the text, you will have selection on 2,3 as well while Chrome Canary 110 & Firefox Nightly 110 does not show text selection.

Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/9d8a90f8a7f49c673bcd4e369efc84c62cc18285

Webkit GitHub Source - Add this in RenderCounter.h:

bool canBeSelectionLeaf() const final { return false; }

_____

Just raising bug so this can be fixed.

Thanks!

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221216/21bf619e/attachment.htm>


More information about the webkit-unassigned mailing list