https://github.com/mozilla/gecko-dev
Raw File
Tip revision: 63254fa16f70a245e6d33bfd4bcc94018c1b300b authored by ffxbld on 14 February 2017, 01:04:26 UTC
Added FENNEC_51_0_4_RELEASE FENNEC_51_0_4_BUILD1 tag(s) for changeset a622e89121a7. DONTBUILD CLOSED TREE a=release
Tip revision: 63254fa
bdi-element.html
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>
  From WebKit <a href='https://bugs.webkit.org/show_bug.cgi?id=50913'>bug 50913</a>
</p>
<p>
In this example, usernames are shown along with the number of posts that the user has submitted. If the bdi element were not used, the username of the Arabic user would end up confusing the text (the bidirectional algorithm would put the colon and the number "3" next to the word "User" rather than next to the word "posts").
</p>
<ul>
 <li>User <bdi>jcranmer</bdi>: 12 posts.
 <li>User <bdi>hober</bdi>: 5 posts.
 <li>User <bdi>إيان</bdi>: 3 posts.
</ul>
</body>
</html>
back to top