Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rli etc #1653

Closed
wants to merge 2 commits into from
Closed

Rli etc #1653

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from following number, opposite direction</title>
<meta name="assert" content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'>
<link rel="help" href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel="match" href='/reference/bidi-controls-001-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FSI: isolated from following number, auto</title>
<meta name="assert" content='Plain text content surrounded by FSI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'>
<link rel="help" href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel="match" href='/reference/bidi-controls-001-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from following number, same direction</title>
<meta name="assert" content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'>
<link rel="help" href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel="match" href='/reference/bidi-controls-001-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from following number, opposite direction</title>
<meta name="assert" content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'>
<link rel="help" href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel="match" href='/reference/bidi-controls-001-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0; 3&#x202c;</div>
<div dir="ltr">&#x202d;a 3&#x202c;</div>
<div dir="rtl">&#x202d;3 &#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3 a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from following number with intervening neutrals, opposite direction</title>
<meta name='assert' content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel='match' href='/reference/dir-isolation-002-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&lt; &#x5d0; &lt; &gt; 3 &gt;&#x202c;</div>
<div dir="ltr">&#x202d;&lt; a &lt; &gt; 3 &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &gt; &#x5d0; &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &gt; a &gt;&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&lt; &#x5d0; &lt; &gt; 3 &gt;&#x202c;</div>
<div dir="ltr">&#x202d;&lt; a &lt; &gt; 3 &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &gt; &#x5d0; &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &gt; a &gt;&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FSI: isolated from following number with intervening neutrals, auto</title>
<meta name='assert' content='Plain text content surrounded by FSI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel='match' href='/reference/dir-isolation-002-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&lt; &#x5d0; &lt; &gt; 3 &gt;&#x202c;</div>
<div dir="ltr">&#x202d;&gt; a &gt; &gt; 3 &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &lt; &#x5d0; &lt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &gt; a &gt;&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&lt; &#x5d0; &lt; &gt; 3 &gt;&#x202c;</div>
<div dir="ltr">&#x202d;&gt; a &gt; &gt; 3 &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &lt; &#x5d0; &lt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &gt; a &gt;&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from following number with intervening neutrals, same direction</title>
<meta name='assert' content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and directionally isolated from a following number.'>
<link rel="author" title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel='match' href='/reference/dir-isolation-002-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&gt; &#x5d0; &gt; &gt; 3 &gt;&#x202c;</div>
<div dir="ltr">&#x202d;&gt; a &gt; &gt; 3 &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &lt; &#x5d0; &lt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &lt; a &lt;&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&gt; &#x5d0; &gt; &gt; 3 &gt;&#x202c;</div>
<div dir="ltr">&#x202d;&gt; a &gt; &gt; 3 &gt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &lt; &#x5d0; &lt;&#x202c;</div>
<div dir="rtl">&#x202d;&lt; 3 &lt; &lt; a &lt;&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from immediately following number, opposite direction</title>
<meta name='assert' content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and is directionally isolated from a following number, even with no intervening white space.'>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel='match' href='/reference/dir-isolation-003-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0;3&#x202c;</div>
<div dir="ltr">&#x202d;a3&#x202c;</div>
<div dir="rtl">&#x202d;3&#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0;3&#x202c;</div>
<div dir="ltr">&#x202d;a3&#x202c;</div>
<div dir="rtl">&#x202d;3&#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>FSI: isolated from immediately following number, auto</title>
<meta name='assert' content='Plain text content surrounded by FSI...PDI is treated as a neutral character and is directionally isolated from a following number, even with no intervening white space.'>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel='match' href='/reference/dir-isolation-003-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0;3&#x202c;</div>
<div dir="ltr">&#x202d;a3&#x202c;</div>
<div dir="rtl">&#x202d;3&#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0;3&#x202c;</div>
<div dir="ltr">&#x202d;a3&#x202c;</div>
<div dir="rtl">&#x202d;3&#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>RLI,LRI: isolated from immediately following number, same direction</title>
<meta name='assert' content='Plain text content surrounded by RLI/LRI...PDI is treated as a neutral character and is directionally isolated from a following number, even with no intervening white space.'>
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
<link rel='help' href='http://www.w3.org/TR/html5/dom.html#requirements-relating-to-the-bidirectional-algorithm'>
<link rel='match' href='/reference/dir-isolation-003-ref.html'>
<style type="text/css">
/* the CSS below is not part of the test */
.test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-right: 200px; padding: 5px; clear: both; }
</style>
</head>
<body>
<p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0;3&#x202c;</div>
<div dir="ltr">&#x202d;a3&#x202c;</div>
<div dir="rtl">&#x202d;3&#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3a&#x202c;</div>
</div>
<div class="ref">
<div dir="ltr">&#x202d;&#x5d0;3&#x202c;</div>
<div dir="ltr">&#x202d;a3&#x202c;</div>
<div dir="rtl">&#x202d;3&#x5d0;&#x202c;</div>
<div dir="rtl">&#x202d;3a&#x202c;</div>
</div>
<!--Notes:
Key to entities used in these tests:
&#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
&#x2067; - The RLI (right-to-left-isolate) formatting character.
&#x2066; - The LRI (left-to-right-isolate) formatting character.
&#x2068; - The FSI (first-strong-isolate) formatting character.
&#x2069; - The PDI (pop directional isolate) formatting character; closes RLI/LRI/FSI.
The punctuation is moved around in the source to make it easier to do visual comparisons when the test is run.
-->
</body></html>
Loading