[Webkit-unassigned] [Bug 251681] New: list-style-position:inside causing a cursor positioning issue for contenteditable="true"

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Feb 3 05:46:04 PST 2023


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

            Bug ID: 251681
           Summary: list-style-position:inside causing a cursor
                    positioning issue for contenteditable="true"
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Mac (Apple Silicon)
                OS: macOS 13
            Status: NEW
          Severity: Minor
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: j.r.flockton.work at gmail.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 464821

  --> https://bugs.webkit.org/attachment.cgi?id=464821&action=review

Illustrative example

1. Open the below in a Safari browser:

```
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>List style position bug</title>
  </head>
  <body>
    <div contenteditable="true">
      <ul style="list-style-position: inside">
        <li>First list item</li>
        <li></li>
      </ul>
    </div>
  </body>
</html>
```

2. Place your text cursor in the second bullet. 
3. Notice that the cursor is incorrectly positioned before the bullet point.

-- 
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/20230203/27a2260d/attachment.htm>


More information about the webkit-unassigned mailing list