Tests for bidi and first letter.

This commit is contained in:
L. David Baron 2009-02-08 10:28:30 -08:00
parent 92cec0cb6d
commit 99c896619c
7 changed files with 113 additions and 0 deletions

View File

@ -17,6 +17,10 @@ random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == mixedChartype-02.html mixedChartype-02-
random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == mixedChartype-02-j.html mixedChartype-02-ref.html
random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == mixedChartype-03.html mixedChartype-03-ref.html
random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == mixedChartype-03-j.html mixedChartype-03-ref.html
== with-first-letter-1a.html with-first-letter-1-ref.html
== with-first-letter-1b.html with-first-letter-1-ref.html
== with-first-letter-2a.html with-first-letter-2-ref.html
== with-first-letter-2b.html with-first-letter-2-ref.html
random-if(MOZ_WIDGET_TOOLKIT=="gtk2") == 386339.html 386339-ref.html
== 409375.html 409375-ref.html
== 413542-1.html 413542-1-ref.html

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test for bidi splitting and :first-letter</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p { unicode-bidi: bidi-override; }
</style>
</head>
<body>
<p><span style="background: aqua">T</span>his has AB<span style="background:yellow">CD</span>דג<span style="background:yellow">בא</span></p>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test for bidi splitting and :first-letter</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p:first-letter { background: aqua; }
</style>
</head>
<body>
<p>This has AB<span style="background:yellow">CDאב</span>גד</p>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test for bidi splitting and :first-letter</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p:first-letter { background: aqua; }
</style>
</head>
<body>
<p><span><span>This has AB<span style="background:yellow">CDאב</span>גד</span></span></p>
</body>
</html>

View File

@ -0,0 +1,19 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test for bidi splitting and :first-letter</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p { unicode-bidi: bidi-override; }
p:first-letter { float:left; font-size: 2em; }
</style>
</head>
<body>
<p>This has AB<span style="background:yellow">CD</span>דג<span style="background:yellow">בא</span></p>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test for bidi splitting and :first-letter</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p:first-letter { float:left; font-size: 2em; }
</style>
</head>
<body>
<p>This has AB<span style="background:yellow">CDאב</span>גד</p>
</body>
</html>

View File

@ -0,0 +1,18 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Test for bidi splitting and :first-letter</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css">
p:first-letter { float:left; font-size: 2em; }
</style>
</head>
<body>
<p><span><span>This has AB<span style="background:yellow">CDאב</span>גד</span></span></p>
</body>
</html>