diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 19:33:14 +0000 |
commit | 36d22d82aa202bb199967e9512281e9a53db42c9 (patch) | |
tree | 105e8c98ddea1c1e4784a60a5a6410fa416be2de /testing/web-platform/tests/css/CSS2/i18n/visuren | |
parent | Initial commit. (diff) | |
download | firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.tar.xz firefox-esr-36d22d82aa202bb199967e9512281e9a53db42c9.zip |
Adding upstream version 115.7.0esr.upstream/115.7.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/i18n/visuren')
54 files changed, 841 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-001.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-001.xht new file mode 100644 index 0000000000..5629e9a9f4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-001.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:default context, direction rtl, unicode-bidi embed</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=1' /> +<meta name="assert" content="In the default context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed correctly." /> +<style type='text/css'> +.test span { direction: rtl; unicode-bidi: embed; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-005.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-002.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-002.xht new file mode 100644 index 0000000000..5c14bc16a6 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-002.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:default context, direction rtl, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=2' /> +<meta name="assert" content="In the default context, if direction:rtl alone is applied to an inline element containing mixed direction text, the different directional runs in that element will not be in the correct order." /> +<style type='text/css'> +.test span { direction: rtl; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-001.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-003.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-003.xht new file mode 100644 index 0000000000..199931f397 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-003.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:ltr context, direction rtl, unicode-bidi embed</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=3' /> +<meta name="assert" content="In a LTR context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the text in that element will be displayed correctly." /> +<style type='text/css'> +.test { direction: ltr; } .test span { direction: rtl; unicode-bidi: embed; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-005.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-004.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-004.xht new file mode 100644 index 0000000000..c6cf5be3b8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-004.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:ltr context, direction rtl, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=4' /> +<meta name="assert" content="In a LTR context, if direction:rtl alone is applied to an inline element containing mixed direction text, the different directional runs in that element will not be in the correct order." /> +<style type='text/css'> +.test { direction: ltr; } .test span { direction: rtl; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-001.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-005.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-005.xht new file mode 100644 index 0000000000..6027755bfb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-005.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:rtl context, direction ltr, unicode-bidi embed</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=5' /> +<meta name="assert" content="In a RTL context, if direction:ltr and unicode-bidi:embed are applied to a LTR inline element containing mixed direction text, the text in that element will be displayed correctly." /> +<style type='text/css'> +.test { direction: rtl; } .test span { direction: ltr; unicode-bidi: embed; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">نشاط التدويل "<span>i18n activity, اختبار</span>"!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-015.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-006.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-006.xht new file mode 100644 index 0000000000..6ef2b77aeb --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-006.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:rtl context, direction ltr, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=6' /> +<meta name="assert" content="In a RTL context, if direction:ltr alone is applied to a LTR inline element containing mixed direction text, the different directional runs in that element will not be in the correct order." /> +<style type='text/css'> +.test { direction: rtl; } .test span { direction: ltr; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">نشاط التدويل "<span>i18n activity, اختبار</span>"!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-011.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-007.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-007.xht new file mode 100644 index 0000000000..d7f00230f9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-007.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:direction of a ltr tspan</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=7' /> +<meta name="assert" content="In a RTL context, if direction:ltr and unicode-bidi:embed are applied to an inline element containing mixed direction text, the the inline element will interact with surrounding ltr text as a LTR directional run." /> +<style type='text/css'> +.test { direction: rtl; } .test span { direction: ltr; unicode-bidi: embed; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-016.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-008.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-008.xht new file mode 100644 index 0000000000..3b5e7299fe --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-008.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:direction of a rtl tspan</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=8' /> +<meta name="assert" content="In a LTR context, if direction:rtl and unicode-bidi:embed are applied to an inline element containing mixed direction text, the the inline element will interact with surrounding rtl text as a RTL directional run." /> +<style type='text/css'> +.test { direction: ltr; } .test span { direction: rtl; unicode-bidi: embed; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">نشاط التدويل "<span>i18n activity, اختبار</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-017.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-009.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-009.xht new file mode 100644 index 0000000000..0381746fa4 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-009.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:on element, direction ltr, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=9' /> +<meta name="assert" content="direction:ltr alone on a block element will cause the text to be left-aligned, directional runs to be arranged LTR (but the words should look correct within each run), and punctuation should be treated as LTR." /> +<style type='text/css'> +.test { direction: ltr; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">W3C نشاط التدويل i18n activity!</div> + + +<p><img src="support/direction-unicode-bidi-018.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-010.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-010.xht new file mode 100644 index 0000000000..0f94aefe74 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-010.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:on element, direction rtl, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=10' /> +<meta name="assert" content="direction:rtl alone on a block element will cause the text to be right-aligned, directional runs to be arranged RTL (but the words should look correct within each run), and punctuation should be treated as RTL." /> +<style type='text/css'> +.test { direction: rtl; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">W3C نشاط التدويل i18n activity!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-019.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-011.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-011.xht new file mode 100644 index 0000000000..6f663ad024 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-011.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:inherited, direction ltr, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=11' /> +<meta name="assert" content="direction:ltr on a container element will be inherited by an embedded block element." /> +<style type='text/css'> +.test { direction: ltr; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div></div> + + +<p><img src="support/direction-unicode-bidi-018.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-012.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-012.xht new file mode 100644 index 0000000000..eb23f525ee --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-012.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:inherited, direction rtl, unicode-bidi none</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=12' /> +<meta name="assert" content="direction:rtl on a container element will be inherited by an embedded block element." /> +<style type='text/css'> +.test { direction: rtl; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div></div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-019.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-013.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-013.xht new file mode 100644 index 0000000000..dbe8cf3e61 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-013.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:default context, direction none, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=13' /> +<meta name="assert" content="In the default context, if unicode-bidi:bidi-override and no direction are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right." /> +<style type='text/css'> +.test span { unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-002.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-014.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-014.xht new file mode 100644 index 0000000000..972be2e098 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-014.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:default context, direction ltr, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=14' /> +<meta name="assert" content="In the default context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right." /> +<style type='text/css'> +.test span { direction: ltr; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-003.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-015.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-015.xht new file mode 100644 index 0000000000..2a5f615509 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-015.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:default context, direction rtl, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=15' /> +<meta name="assert" content="In the default context, if unicode-bidi:bidi-override and direction:rtl are applied to an inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from left to right." /> +<style type='text/css'> +.test span { direction: rtl; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-004.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-016.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-016.xht new file mode 100644 index 0000000000..f91a7bdfa1 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-016.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:ltr context, direction none, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=16' /> +<meta name="assert" content="In a LTR context, if unicode-bidi:bidi-override and no direction are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right." /> +<style type='text/css'> +.test { direction: ltr; } .test span { unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-002.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-017.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-017.xht new file mode 100644 index 0000000000..2a3117ea58 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-017.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:ltr context, direction ltr, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=17' /> +<meta name="assert" content="In a LTR context, if direction:ltr and unicode-bidi:bidi-override are applied to an inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from left to right." /> +<style type='text/css'> +.test { direction: ltr; } .test span { direction: ltr; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-003.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-018.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-018.xht new file mode 100644 index 0000000000..b573976e7d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-018.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:ltr context, direction rtl, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=18' /> +<meta name="assert" content="In a LTR context, if unicode-bidi:bidi-override and direction:rtl are applied to an inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from left to right." /> +<style type='text/css'> +.test { direction: ltr; } .test span { direction: rtl; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">i18n activity "<span>نشاط التدويل، W3C</span>"!</div> + + +<p><img src="support/direction-unicode-bidi-004.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-019.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-019.xht new file mode 100644 index 0000000000..b4548355db --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-019.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:rtl context, direction none, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=19' /> +<meta name="assert" content="In a RTL context, if unicode-bidi:bidi-override and no direction are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from right to left." /> +<style type='text/css'> +.test { direction: rtl; } .test span { unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">نشاط التدويل "<span>i18n activity, اختبار</span>"!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-012.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-020.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-020.xht new file mode 100644 index 0000000000..3c82626a6b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-020.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:rtl context, direction ltr, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=20' /> +<meta name="assert" content="In a RTL context, if direction:ltr and unicode-bidi:bidi-override are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in reverse backing-store order from right to left." /> +<style type='text/css'> +.test { direction: rtl; } .test span { direction: ltr; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">نشاط التدويل "<span>i18n activity, اختبار</span>"!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-013.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-021.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-021.xht new file mode 100644 index 0000000000..2c77d7696e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-021.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:rtl context, direction rtl, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=21' /> +<meta name="assert" content="In a RTL context, if unicode-bidi:bidi-override and direction:rtl are applied to a LTR inline element containing mixed direction text, the characters in that element will be displayed in backing-store order from right to left." /> +<style type='text/css'> +.test { direction: rtl; } .test span { direction: rtl; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">نشاط التدويل "<span>i18n activity, اختبار</span>"!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-014.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-022.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-022.xht new file mode 100644 index 0000000000..9b3b0d1b5b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-022.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:on element, direction ltr, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=22' /> +<meta name="assert" content="direction:ltr and unicode-bidi:bidi-override on a block element will cause the text to be left-aligned, and all text to be displayed in backing-store order from left to right." /> +<style type='text/css'> +.test { direction: ltr; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">W3C نشاط التدويل i18n activity!</div> + + +<p><img src="support/direction-unicode-bidi-020.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-023.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-023.xht new file mode 100644 index 0000000000..9ec8f76e8b --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-023.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:on element, direction rtl, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=23' /> +<meta name="assert" content="direction:rtl and unicode-bidi:bidi-override on a block element will cause the text to be right-aligned, and all text to be displayed in backing-store order from right to left." /> +<style type='text/css'> +.test { direction: rtl; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test">W3C نشاط التدويل i18n activity!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-021.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-024.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-024.xht new file mode 100644 index 0000000000..58331645bc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-024.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:inherited, direction ltr, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=24' /> +<meta name="assert" content="When direction:ltr and unicode-bidi:bidi-override is set on a block element, the override will not be inherited by a child block element, but the direction will." /> +<style type='text/css'> +.test { direction: ltr; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div></div> + + +<p><img src="support/direction-unicode-bidi-024.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-025.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-025.xht new file mode 100644 index 0000000000..f32220d979 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-025.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:inherited, direction rtl, unicode-bidi override</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=25' /> +<meta name="assert" content="When direction:rtl and unicode-bidi:bidi-override is set on a block element, the override will not be inherited by a child block element, but the direction will." /> +<style type='text/css'> +.test { direction: rtl; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div></div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-025.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-026.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-026.xht new file mode 100644 index 0000000000..bf8dc1b767 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-026.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:right to left block</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=26' /> +<meta name="assert" content="When direction:ltr and unicode-bidi:bidi-override is set on a block element containing block and inline elements, only the direction of the inline text will be overridden." /> +<style type='text/css'> +.test { direction: ltr; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div>W3C نشاط التدويل i18n activity!</div> + + +<p><img src="support/direction-unicode-bidi-026.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-027.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-027.xht new file mode 100644 index 0000000000..a3c228515a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-027.xht @@ -0,0 +1,30 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:left to right block</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=27' /> +<meta name="assert" content="When direction:rtl and unicode-bidi:bidi-override is set on a block element containing block and inline elements, only the direction of the inline text will be overridden." /> +<style type='text/css'> +.test { direction: rtl; unicode-bidi: bidi-override; } + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div>W3C نشاط التدويل i18n activity!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-027.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-028.xht b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-028.xht new file mode 100644 index 0000000000..3f3a4b83e5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/direction-unicode-bidi-028.xht @@ -0,0 +1,31 @@ +<?xml version="1.0" encoding="utf-8"?> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> +<head> +<title>CSS Test:inner block converted to inline</title> +<link rel='author' title='Richard Ishida' href='http://rishida.net' /> +<link rel='help' href='http://www.w3.org/TR/CSS21/visuren.html#direction' /> +<link rel='alternate' href='http://www.w3.org/International/tests/tests-html-css/tests-direction-unicode-bidi/generate?test=28' /> +<meta name="assert" content="When direction:rtl and unicode-bidi:bidi-override is set on a block element containing block and inline elements, and CSS is used to change the block element to an inline element, the direction of all the text will be overridden." /> +<style type='text/css'> +.test { direction: rtl; unicode-bidi: bidi-override; } +.test div { display: inline; unicode-bidi: normal; } /* default HTML stylesheet sets unicode-bidi */ + +/* the CSS below is not part of the test */ +.test { font-size: 28px; font-family: serif; } +img { margin-left: 14px; margin-right: 10px; } +</style> +</head> +<body> +<div dir='ltr'> +<p class="instructions"><span class="instructionsymbol"><img src="support/same.png" alt="same" /></span> Test passes if characters are in the same order.</p></div> + + + +<div class="test"><div>W3C نشاط التدويل i18n activity!</div>W3C نشاط التدويل i18n activity!</div> + + +<p style="text-align:right"><img src="support/direction-unicode-bidi-028.png" alt="reference graphic" /></p><div dir='ltr'> +</div> +</body> +</html> diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-001.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-001.png Binary files differnew file mode 100644 index 0000000000..f28069ca2f --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-001.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-002.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-002.png Binary files differnew file mode 100644 index 0000000000..fe89596420 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-002.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-003.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-003.png Binary files differnew file mode 100644 index 0000000000..fe89596420 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-003.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-004.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-004.png Binary files differnew file mode 100644 index 0000000000..3f04cf5016 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-004.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-005.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-005.png Binary files differnew file mode 100644 index 0000000000..c38f120bf8 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-005.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-006.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-006.png Binary files differnew file mode 100644 index 0000000000..b1c300fa65 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-006.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-007.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-007.png Binary files differnew file mode 100644 index 0000000000..0943b9ab88 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-007.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-008.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-008.png Binary files differnew file mode 100644 index 0000000000..bad4e97b07 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-008.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-011.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-011.png Binary files differnew file mode 100644 index 0000000000..eb65b37250 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-011.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-012.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-012.png Binary files differnew file mode 100644 index 0000000000..4f9dc17d25 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-012.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-013.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-013.png Binary files differnew file mode 100644 index 0000000000..8fa3ba8801 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-013.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-014.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-014.png Binary files differnew file mode 100644 index 0000000000..3e43bb0764 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-014.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-015.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-015.png Binary files differnew file mode 100644 index 0000000000..79d13182b9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-015.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-016.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-016.png Binary files differnew file mode 100644 index 0000000000..be28d6605a --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-016.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-017.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-017.png Binary files differnew file mode 100644 index 0000000000..b6c0bc65bc --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-017.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-018.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-018.png Binary files differnew file mode 100644 index 0000000000..57e0ad7d5e --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-018.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-019.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-019.png Binary files differnew file mode 100644 index 0000000000..187030d6bd --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-019.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-020.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-020.png Binary files differnew file mode 100644 index 0000000000..1b9cd39155 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-020.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-021.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-021.png Binary files differnew file mode 100644 index 0000000000..c1c81122ef --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-021.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-024.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-024.png Binary files differnew file mode 100644 index 0000000000..2a358b0229 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-024.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-025.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-025.png Binary files differnew file mode 100644 index 0000000000..31ce920a6d --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-025.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-026.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-026.png Binary files differnew file mode 100644 index 0000000000..0073bfa65c --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-026.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-027.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-027.png Binary files differnew file mode 100644 index 0000000000..09f4fcd116 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-027.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-028.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-028.png Binary files differnew file mode 100644 index 0000000000..51d452c6a5 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/direction-unicode-bidi-028.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/same.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/same.png Binary files differnew file mode 100644 index 0000000000..796789c3ff --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/same.png diff --git a/testing/web-platform/tests/css/CSS2/i18n/visuren/support/samenot.png b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/samenot.png Binary files differnew file mode 100644 index 0000000000..7c4120bd48 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/i18n/visuren/support/samenot.png |