[Webkit-unassigned] [Bug 174856] New: AX: Incorrect range from index and length in contenteditable with <p> tags

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Jul 26 01:52:40 PDT 2017


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

            Bug ID: 174856
           Summary: AX: Incorrect range from index and length in
                    contenteditable with <p> tags
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Accessibility
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: n_wang at apple.com
                CC: n_wang at apple.com, webkit-bug-importer at group.apple.com

For something like this:
<div contenteditable="true">
<p>ab</p>
<p>cd</p>
</div>

On Mac when we get AXValueAttribute value it would be:
"ab\n\ncd"

So getting the string from range {2, 4} should be:
"\n\ncd"

But instead we get:
"\ncd"

<rdar://problem/30187854>

-- 
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/20170726/de2b0a60/attachment.html>


More information about the webkit-unassigned mailing list