Thu, 15 Jan 2015 21:03:48 +0100
Integrate friendly tips from Tor colleagues to make (or not) 4.5 alpha 3;
This includes removal of overloaded (but unused) methods, and addition of
a overlooked call to DataStruct::SetData(nsISupports, uint32_t, bool.)
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <html><head> |
michael@0 | 3 | <meta http-equiv="content-type" content="text/html; charset=UTF-8"> |
michael@0 | 4 | <meta charset="utf-8"> |
michael@0 | 5 | <title>HTML Test: BDI: neutral to surrounding letters</title> |
michael@0 | 6 | <link rel="reference" href="https://bug712600.bugzilla.mozilla.org/bdi-neutral-to-surrounding-run-ref.html"> |
michael@0 | 7 | <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com"> |
michael@0 | 8 | <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com"> |
michael@0 | 9 | <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-bdi-element"> |
michael@0 | 10 | <meta name="assert" content=" |
michael@0 | 11 | 'For the purposes of applying the bidirectional algorithm to the paragraph-level |
michael@0 | 12 | container that a bdi element finds itself within, the bdi element must be treated |
michael@0 | 13 | like a U+FFFC OBJECT REPLACEMENT CHARACTER.' |
michael@0 | 14 | |
michael@0 | 15 | Thus, regardless of its content and its dir attribute (if any), a BDI will not prevent |
michael@0 | 16 | a strongly RTL (or LTR) character preceding it from forming a single directional run with |
michael@0 | 17 | another strongly RTL (LTR) character following it."> |
michael@0 | 18 | <style> |
michael@0 | 19 | body{ |
michael@0 | 20 | font-size:2em; |
michael@0 | 21 | } |
michael@0 | 22 | </style> |
michael@0 | 23 | </head> |
michael@0 | 24 | <body> |
michael@0 | 25 | <!-- Key to entities used below: |
michael@0 | 26 | א ... ו - The first six Hebrew letters (strongly RTL). |
michael@0 | 27 | ‭ - The LRO (left-to-right-override) formatting character. |
michael@0 | 28 | ‬ - The PDF (pop directional formatting) formatting character; closes LRO. --> |
michael@0 | 29 | |
michael@0 | 30 | <!-- |
michael@0 | 31 | If the BDI in the following DIV were a SPAN, its b would prevent the א and the ב |
michael@0 | 32 | from forming a single RTL run and thus keep the >s between from being mirrored into <s. |
michael@0 | 33 | --> |
michael@0 | 34 | <div dir="ltr">א > <bdi>[b]</bdi> > ג...</div> |
michael@0 | 35 | <div dir="ltr">א > <bdi dir="ltr">[b]</bdi> > ג...</div> |
michael@0 | 36 | <div dir="ltr">א > <bdi dir="rtl">[b]</bdi> > ג...</div> |
michael@0 | 37 | <div dir="rtl">a > <bdi>[ב]</bdi> > c...</div> |
michael@0 | 38 | <div dir="rtl">a > <bdi dir="ltr">[ב]</bdi> > c...</div> |
michael@0 | 39 | <div dir="rtl">a > <bdi dir="rtl">[ב]</bdi> > c...</div> |
michael@0 | 40 | |
michael@0 | 41 | |
michael@0 | 42 | </body></html> |