Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <!DOCTYPE html>
2 <html><head>
3 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
4 <meta charset="utf-8">
5 <title>HTML Test: BDI: neutral to surrounding letters</title>
6 <link rel="reference" href="https://bug712600.bugzilla.mozilla.org/bdi-neutral-to-surrounding-run-ref.html">
7 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com">
8 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
9 <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-bdi-element">
10 <meta name="assert" content="
11 'For the purposes of applying the bidirectional algorithm to the paragraph-level
12 container that a bdi element finds itself within, the bdi element must be treated
13 like a U+FFFC OBJECT REPLACEMENT CHARACTER.'
15 Thus, regardless of its content and its dir attribute (if any), a BDI will not prevent
16 a strongly RTL (or LTR) character preceding it from forming a single directional run with
17 another strongly RTL (LTR) character following it.">
18 <style>
19 body{
20 font-size:2em;
21 }
22 </style>
23 </head>
24 <body>
25 <!-- Key to entities used below:
26 א ... ו - The first six Hebrew letters (strongly RTL).
27 ‭ - The LRO (left-to-right-override) formatting character.
28 ‬ - The PDF (pop directional formatting) formatting character; closes LRO. -->
30 <div dir="ltr">ג < [b] < א...</div>
31 <div dir="ltr">ג < [b] < א...</div>
32 <div dir="ltr">ג < [b] < א...</div>
33 <div dir="rtl">...a > [ב] > c</div>
34 <div dir="rtl">...a > [ב] > c</div>
35 <div dir="rtl">...a > [ב] > c</div>
36 </body></html>