<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Implement word related text marker functions using TextIterator"
   href="https://bugs.webkit.org/show_bug.cgi?id=153939#c11">Comment # 11</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - AX: Implement word related text marker functions using TextIterator"
   href="https://bugs.webkit.org/show_bug.cgi?id=153939">bug 153939</a>
              from <span class="vcard"><a class="email" href="mailto:cfleizach&#64;apple.com" title="chris fleizach &lt;cfleizach&#64;apple.com&gt;"> <span class="fn">chris fleizach</span></a>
</span></b>
        <pre>Comment on <span class=""><a href="attachment.cgi?id=270803&amp;action=diff" name="attach_270803" title="patch">attachment 270803</a> <a href="attachment.cgi?id=270803&amp;action=edit" title="patch">[details]</a></span>
patch

View in context: <a href="https://bugs.webkit.org/attachment.cgi?id=270803&amp;action=review">https://bugs.webkit.org/attachment.cgi?id=270803&amp;action=review</a>

<span class="quote">&gt; Source/WebCore/ChangeLog:10
&gt; +        logics from previousBoundary and nextBoundary in VisibleUnits class.</span >

... reused logic from ...

<span class="quote">&gt; Source/WebCore/accessibility/AXObjectCache.cpp:1554
&gt; +    return AccessibilityObject::replacedNodeNeedsCharacter(node) || node-&gt;hasTagName(brTag);</span >

do you need to worry that node is nullptr here

<span class="quote">&gt; Source/WebCore/editing/VisibleUnits.h:118
&gt; +WEBCORE_EXPORT unsigned forwardSearchForBoundaryWithTextIterator(TextIterator&amp;, Vector&lt;UChar, 1024&gt;&amp;, unsigned, BoundarySearchFunction);</span >

these probably don't need to be WEBCORE_EXPORT, since the only people using are within WebCore

<span class="quote">&gt; Tools/DumpRenderTree/AccessibilityUIElement.cpp:979
&gt; +    AccessibilityTextMarker* marker = 0;</span >

nullptr and ditto for everything below

<span class="quote">&gt; LayoutTests/accessibility/mac/text-marker-word-nav.html:14
&gt; +Test Content&lt;span id=&quot;target&quot; contenteditable=&quot;true&quot;&gt;editable is working.&lt;/span&gt;</span >

can you add a test for content that is &lt;pre&gt; with line breaks, and then some content with &lt;br&gt; inside

<span class="quote">&gt; LayoutTests/accessibility/mac/text-marker-word-nav.html:18
&gt; +c &lt;img src=&quot;#&quot; aria-label=&quot;blah&quot; style=&quot;background-color: #aaaaaa; width: 100px; height: 100px;&quot;&gt;d</span >

can you add a test for an &lt;audio&gt; or &lt;video&gt; element

<span class="quote">&gt; LayoutTests/accessibility/mac/text-marker-word-nav.html:24
&gt; +巧克力是食物吗?</span >

which language is this? 
can you also add arabic

<span class="quote">&gt; LayoutTests/accessibility/mac/text-marker-word-nav.html:78
&gt; +        function advanceAndVerify(currentMarker, offset, obj) {</span >

can you add a test that runs from the start of the document to the end and the back again in reverse with word markers. that way we get some coverage of bigger movements</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>