<html>
    <head>
      <base href="https://bugs.webkit.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Text from attributes should be displayed in the direction of the attribute, not the element"
   href="https://bugs.webkit.org/show_bug.cgi?id=145498">145498</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Text from attributes should be displayed in the direction of the attribute, not the element
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>WebKit
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>528+ (Nightly build)
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>Normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Layout and Rendering
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>webkit-unassigned&#64;lists.webkit.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>aharon&#64;google.com
          </td>
        </tr></table>
      <p>
        <div>
        <pre>HTML5 made a change in <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=17829">https://www.w3.org/Bugs/Public/show_bug.cgi?id=17829</a> to specify that &quot;Text from attributes [that is exposed in user interfaces] is expected to be rendered in a manner that honours the directionality of the attribute.&quot;, instead of the directionality of the element as previously.

This makes a practical difference in the case of elements with dir=&quot;auto&quot;, where the directionality of the element is determined by its content, but the directionality of the attribute is determined independently by *its* own content.

So something like data:text/html; charset=utf-8,&lt;p dir=&quot;auto&quot; title=&quot;Hello!&quot;&gt;مرحبا!&lt;/p&gt; should be displayed with the exclamation mark on the left of the Arabic text in the body, but on the right of the English text in the tooltip. 

All the other attributes listed at <a href="https://html.spec.whatwg.org/multipage/dom.html#directionality-capable-attribute">https://html.spec.whatwg.org/multipage/dom.html#directionality-capable-attribute</a> are also potentially affected.</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>