mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=rtl inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=ltr inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=auto</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 24px; }
|
||||
.rb2 { position: absolute; bottom: 0; left: 0; background-color: orange; width: 72px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=auto on surrounding block</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; left: 0; height: 48px; }
|
||||
.rb2 { top: 0; left: 109px; height: 48px; }
|
||||
.rb3 { top: 0; left: 218px; height: 48px; }
|
||||
.rb4 { top: 0; left: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; right: 0; height: 48px; }
|
||||
.rb2 { top: 0; right: 109px; height: 48px; }
|
||||
.rb3 { top: 0; right: 218px; height: 48px; }
|
||||
.rb4 { top: 0; right: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; left: 0; height: 48px; }
|
||||
.rb2 { top: 0; left: 109px; height: 48px; }
|
||||
.rb3 { top: 0; left: 218px; height: 48px; }
|
||||
.rb4 { top: 0; left: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; right: 0; height: 48px; }
|
||||
.rb2 { top: 0; right: 109px; height: 48px; }
|
||||
.rb3 { top: 0; right: 218px; height: 48px; }
|
||||
.rb4 { top: 0; right: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; left: 0; height: 48px; }
|
||||
.rb2 { top: 0; left: 109px; height: 48px; }
|
||||
.rb3 { top: 0; left: 218px; height: 48px; }
|
||||
.rb4 { top: 0; left: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; right: 0; height: 48px; }
|
||||
.rb2 { top: 0; right: 109px; height: 48px; }
|
||||
.rb3 { top: 0; right: 218px; height: 48px; }
|
||||
.rb4 { top: 0; right: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; left: 0; height: 48px; }
|
||||
.rb2 { top: 0; left: 109px; height: 48px; }
|
||||
.rb3 { top: 0; left: 218px; height: 48px; }
|
||||
.rb4 { top: 0; left: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; right: 0; height: 48px; }
|
||||
.rb2 { top: 0; right: 109px; height: 48px; }
|
||||
.rb3 { top: 0; right: 218px; height: 48px; }
|
||||
.rb4 { top: 0; right: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; left: 0; height: 48px; }
|
||||
.rb2 { top: 0; left: 109px; height: 48px; }
|
||||
.rb3 { top: 0; left: 218px; height: 48px; }
|
||||
.rb4 { top: 0; left: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; right: 0; height: 48px; }
|
||||
.rb2 { top: 0; right: 109px; height: 48px; }
|
||||
.rb3 { top: 0; right: 218px; height: 48px; }
|
||||
.rb4 { top: 0; right: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; left: 0; height: 48px; }
|
||||
.rb2 { top: 0; left: 109px; height: 48px; }
|
||||
.rb3 { top: 0; left: 218px; height: 48px; }
|
||||
.rb4 { top: 0; left: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
.rb1 { top: 0; right: 0; height: 48px; }
|
||||
.rb2 { top: 0; right: 109px; height: 48px; }
|
||||
.rb3 { top: 0; right: 218px; height: 48px; }
|
||||
.rb4 { top: 0; right: 327px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
.rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
<div class="ref"><div class="rb rb1"></div><div class="rb rb2"></div><div class="rb rb3"></div><div class="rb rb4"></div><div class="rb rb5"></div><div class="rb rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
.rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div><div class="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, pre, dir=rtl inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, pre, dir=ltr inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="ltr">
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, pre, dir=auto</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
.rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 24px; }
|
||||
.rb2 { position: absolute; bottom: 0; right: 0; background-color: orange; width: 72px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div></div>
|
||||
<div class="ref"><div class="rb1"></div><div class="rb2"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, pre, dir=auto on surrounding block</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test Reference File</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "Filler Text" below are aligned to the left, inside the blue box.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align - start (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.1. Text Alignment: the 'text-align' property" href="http://www.w3.org/TR/css-text-3/#text-align">
|
||||
<link rel="match" href="text-align-006-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align' property set to 'start' on a block element aligns the text to the start edge.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: start;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "Filler Text" below are aligned to the left, inside the blue box.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test Reference File</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
direction: rtl;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "Filler Text" below are aligned to the right, inside the blue box.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align - end (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.1. Text Alignment: the 'text-align' property" href="http://www.w3.org/TR/css-text-3/#text-align">
|
||||
<link rel="match" href="text-align-007-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align' property set to 'end' on a block element aligns the text to the end edge.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: end;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "Filler Text" below are aligned to the right, inside the blue box.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align - match-parent (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.1. Text Alignment: the 'text-align' property" href="http://www.w3.org/TR/css-text-3/#text-align">
|
||||
<link rel="match" href="text-align-007-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align' property set to 'match-parent' on a block element behaves the same as 'inherit'.">
|
||||
<style>
|
||||
body {
|
||||
text-align: end;
|
||||
}
|
||||
|
||||
p {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: match-parent;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the words "Filler Text" below are aligned to the right, inside the blue box.</p>
|
||||
<div>Filler Text</div>
|
||||
</body>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-001.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="test">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-002.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="test">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-003.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div class="test" dir="rtl">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-004.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="ltr">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-005.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-006.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-007.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="test" dir="rtl">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-008.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="ltr">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-009.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when direction is auto and first strong character is rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="test" dir="auto">‏XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
<!-- Notes:
|
||||
The &rlm isn't in the Ahem font, so it may cause a spurious effect, such as a thin white line in the middle of a block in IE. This should be ignored. The test needs a RTL character in the Ahem font, so that the &RLM can be removed.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-010.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when direction is auto and first strong character is ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="auto">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=rtl inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-014.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when base direction is rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<pre class="test">XXX
|
||||
‏XXX</pre>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
<!-- Notes:
|
||||
The &rlm isn't in the Ahem font, so it may cause a spurious effect, such as a thin white line in the middle of a block in IE. This should be ignored. The test needs a RTL character in the Ahem font, so that the &RLM can be removed.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=ltr inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-015.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when base direction is ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="ltr">
|
||||
<pre class="test">XXX
|
||||
‏XXX</pre>
|
||||
</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<!-- Notes:
|
||||
The &rlm isn't in the Ahem font, so it may cause a spurious effect, such as a thin white line in the middle of a block in IE. This should be ignored. The test needs a RTL character in the Ahem font, so that the &RLM can be removed.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=auto</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-016.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when direction is auto and first strong character is ltr, and left when first strong is rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 24px; }
|
||||
#rb2 { position: absolute; bottom: 0; left: 0; background-color: orange; width: 72px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<pre class="test" dir="auto">XXX
|
||||
‏XXX</pre>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div></div>
|
||||
<!-- Notes:
|
||||
The &rlm isn't in the Ahem font, so it may cause a spurious effect, such as a thin white line in the middle of a block in IE. This should be ignored. The test needs a RTL character in the Ahem font, so that the &RLM can be removed.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, pre, dir=auto on surrounding block</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-end-ref-017.html'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. since dir=auto is not inherited by pre, to right in ltr context.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 48px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="auto">
|
||||
<pre class="test">XXX
|
||||
‏XXX</pre>
|
||||
</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
<!-- Notes:
|
||||
The &rlm isn't in the Ahem font, so it may cause a spurious effect, such as a thin white line in the middle of a block in IE. This should be ignored. The test needs a RTL character in the Ahem font, so that the &RLM can be removed.
|
||||
The rationale for the expected outcome here is described at
|
||||
https://drafts.csswg.org/css-writing-modes-3/#valdef-unicode-bidi-plaintext
|
||||
"Because the unicode-bidi property does not inherit, setting bidi-override or plaintext on a block box will not affect any descendant blocks. Therefore these values are best used on blocks and inlines that do not contain any block-level structures. "
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, textarea, dir=rtl inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. left when base direction is rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test { border: 1px solid blue; margin: 20px; width: 300px; font-size: 24px; line-height: 1;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if both words are left-aligned in the box.</div>
|
||||
<div dir="rtl">
|
||||
<textarea class="test">latin
|
||||
و·کمی</textarea>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, textarea, dir=ltr inherited</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. right when base direction is ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test { border: 1px solid blue; margin: 20px; width: 300px; font-size: 24px; line-height: 1;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if both words are right-aligned in the box.</div>
|
||||
<div dir="ltr">
|
||||
<textarea class="test">latin
|
||||
و·کمی</textarea>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,22 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, textarea dir=auto on control</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. when dir=auto on textarea, right when first strong is ltr, left when rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test { border: 1px solid blue; margin: 20px; width: 300px; font-size: 24px; line-height: 1;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the first word is right-aligned, and the second left-aligned in the box.</div>
|
||||
<div>
|
||||
<textarea class="test" dir="auto">latin
|
||||
و·کمی</textarea>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,32 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: end, textarea, dir=auto on surrounding block</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:end aligns inline-level content to the end edge of the line box – ie. since dir=auto is not inherited by textarea, to right in ltr context.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: end; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test { border: 1px solid blue; margin: 20px; width: 300px; font-size: 24px; line-height: 1;}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if both words are right-aligned in both boxes.</div>
|
||||
<div dir="auto">
|
||||
<textarea class="test">latin
|
||||
و·کمی</textarea>
|
||||
</div>
|
||||
<div dir="auto">
|
||||
<textarea class="test">و·کمی
|
||||
latin</textarea>
|
||||
</div>
|
||||
<!--
|
||||
Notes:
|
||||
The rationale for the expected outcome here is described at
|
||||
https://drafts.csswg.org/css-writing-modes-3/#valdef-unicode-bidi-plaintext
|
||||
"Because the unicode-bidi property does not inherit, setting bidi-override or plaintext on a block box will not affect any descendant blocks. Therefore these values are best used on blocks and inlines that do not contain any block-level structures. "
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, direction: rtl</title>
|
||||
<link rel='match' href='reference/text-align-justify-ref-001.html'>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:justify aligns text in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned – in this case, to the right.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; left: 0; height: 48px; }
|
||||
#rb2 { top: 0; left: 109px; height: 48px; }
|
||||
#rb3 { top: 0; left: 218px; height: 48px; }
|
||||
#rb4 { top: 0; left: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, direction: ltr</title>
|
||||
<link rel='match' href='reference/text-align-justify-ref-002.html'>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:justify aligns text in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned – in this case, to the left.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; right: 0; height: 48px; }
|
||||
#rb2 { top: 0; right: 109px; height: 48px; }
|
||||
#rb3 { top: 0; right: 218px; height: 48px; }
|
||||
#rb4 { top: 0; right: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justify-ref-003.html'>
|
||||
<meta name="assert" content="text-align:justify aligns text in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned – in this case, to the right.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; left: 0; height: 48px; }
|
||||
#rb2 { top: 0; left: 109px; height: 48px; }
|
||||
#rb3 { top: 0; left: 218px; height: 48px; }
|
||||
#rb4 { top: 0; left: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="test" dir="rtl">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justify-ref-004.html'>
|
||||
<meta name="assert" content="text-align:justify aligns text in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned – in this case, to the left.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; right: 0; height: 48px; }
|
||||
#rb2 { top: 0; right: 109px; height: 48px; }
|
||||
#rb3 { top: 0; right: 218px; height: 48px; }
|
||||
#rb4 { top: 0; right: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="ltr">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justify-ref-005.html'>
|
||||
<meta name="assert" content="text-align:justify aligns text in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned – in this case, to the right.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; left: 0; height: 48px; }
|
||||
#rb2 { top: 0; left: 109px; height: 48px; }
|
||||
#rb3 { top: 0; left: 218px; height: 48px; }
|
||||
#rb4 { top: 0; left: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div dir="auto" class="test">‏XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justify-ref-006.html'>
|
||||
<meta name="assert" content="text-align:justify aligns text in order to exactly fill the line box. Unless otherwise specified by text-align-last, the last line before a forced break or the end of the block is start-aligned – in this case, to the left.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; right: 0; height: 48px; }
|
||||
#rb2 { top: 0; right: 109px; height: 48px; }
|
||||
#rb3 { top: 0; right: 218px; height: 48px; }
|
||||
#rb4 { top: 0; right: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div dir="rtl">
|
||||
<div dir="auto" class="test">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justifyall-ref-001.html'>
|
||||
<meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify-all; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; left: 0; height: 48px; }
|
||||
#rb2 { top: 0; left: 109px; height: 48px; }
|
||||
#rb3 { top: 0; left: 218px; height: 48px; }
|
||||
#rb4 { top: 0; left: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justifyall-ref-002.html'>
|
||||
<meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify-all; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; right: 0; height: 48px; }
|
||||
#rb2 { top: 0; right: 109px; height: 48px; }
|
||||
#rb3 { top: 0; right: 218px; height: 48px; }
|
||||
#rb4 { top: 0; right: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justifyall-ref-003.html'>
|
||||
<meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify-all; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; left: 0; height: 48px; }
|
||||
#rb2 { top: 0; left: 109px; height: 48px; }
|
||||
#rb3 { top: 0; left: 218px; height: 48px; }
|
||||
#rb4 { top: 0; left: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div class="test" dir="rtl">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='match' href='reference/text-align-justifyall-ref-004.html'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify-all; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; right: 0; height: 48px; }
|
||||
#rb2 { top: 0; right: 109px; height: 48px; }
|
||||
#rb3 { top: 0; right: 218px; height: 48px; }
|
||||
#rb4 { top: 0; right: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="ltr">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX </div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justifyall-ref-005.html'>
|
||||
<meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify-all; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; left: 0; height: 48px; }
|
||||
#rb2 { top: 0; left: 109px; height: 48px; }
|
||||
#rb3 { top: 0; left: 218px; height: 48px; }
|
||||
#rb4 { top: 0; left: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; right: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div dir="auto" class="test">‏XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,31 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: justify-all, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-justifyall-ref-006.html'>
|
||||
<meta name="assert" content="text-align:justify-all aligns text in order to exactly fill the line box, forcing the last line to justify as well.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: justify-all; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { text-align: right; position: relative; height:72px; }
|
||||
.rb { position: absolute; background-color: orange; width: 72px; }
|
||||
#rb1 { top: 0; right: 0; height: 48px; }
|
||||
#rb2 { top: 0; right: 109px; height: 48px; }
|
||||
#rb3 { top: 0; right: 218px; height: 48px; }
|
||||
#rb4 { top: 0; right: 327px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 96px; height: 24px; }
|
||||
#rb6 { top: 48px; left: 192px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div dir="rtl">
|
||||
<div dir="auto" class="test">XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div class="rb" id="rb1"></div><div class="rb" id="rb2"></div><div class="rb" id="rb3"></div><div class="rb" id="rb4"></div><div class="rb" id="rb5"></div><div class="rb" id="rb6"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - start (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'start' on a block element aligns the last line text to the start edge.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: right;
|
||||
text-align-last: start;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to the left, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - end (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'right' on a block element aligns the last line text to the end edge.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: left;
|
||||
text-align-last: end;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - left (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'left' on a block element aligns the last line text to the left.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: right;
|
||||
text-align-last: left;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to the left, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - right (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'right' on a block element aligns the last line text to the right.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: left;
|
||||
text-align-last: right;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - center (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'center' on a block element aligns the last line text to the center.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align-last: center;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is centered inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - justify (basic)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'justify' on a block element aligns the last line text to
|
||||
both left and right edges">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align-last: justify;
|
||||
width: 150px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to both left and right edges inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - auto and text-align - right</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'auto' on a block element aligns the last line text to the right
|
||||
when text-align set 'right'.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: right;
|
||||
text-align-last: auto;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - auto and text-align - end</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'auto' on a block element aligns the last line text to the right
|
||||
when text-align set 'end'.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: end;
|
||||
text-align-last: auto;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - auto and text-align - center</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'auto' on a block element aligns the last line text to the center
|
||||
when text-align set 'center'.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align: center;
|
||||
text-align-last: auto;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is centered inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,14 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test Reference File</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
direction: rtl;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - right(one line inside block element)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<link rel="match" href="text-align-last-010-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'right' on a block element aligns the only one line text to the right.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align-last: right;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - end(one line inside block element)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<link rel="match" href="text-align-last-010-ref.html">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'end' on a block element aligns the only one line text to the right.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align-last: end;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the line of "FillerText" below is aligned to the right, inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last - center(one line inside block element)</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="The 'text-align-last' property set to 'center' on a block element aligns the only one line text to the center.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
text-align-last: center;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the line of "FillerText" below is centered inside the blue box.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last applied to "display: inline" div element</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the 'text-align-last' property is invalid if the container element is not block element.">
|
||||
<style>
|
||||
div {
|
||||
border: 1px solid blue;
|
||||
display: inline;
|
||||
text-align-last: right;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the line of "FillerText" below is justified inside the blue box and not break line.</p>
|
||||
<div>FillerText FillerText FillerText FillerText FillerText</div>
|
||||
</body>
|
|
@ -0,0 +1,20 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Text Test: text-align-last applied to "display: block" span element</title>
|
||||
<link rel="author" title="Intel" href="http://www.intel.com">
|
||||
<link rel="author" title="Shiyou Tan" href="mailto:shiyoux.tan@intel.com">
|
||||
<link rel="help" title="7.2. Last Line Alignment: the 'text-align-last' property" href="http://www.w3.org/TR/css-text-3/#text-align-last">
|
||||
<meta name="flags" content="">
|
||||
<meta name="assert" content="Test checks that the 'text-align-last' property is valid if the span element set 'display: block'.">
|
||||
<style>
|
||||
span {
|
||||
border: 1px solid blue;
|
||||
display: block;
|
||||
text-align-last: center;
|
||||
width: 200px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<p>Test passes if the last line of "FillerText" below is centered inside the blue box.</p>
|
||||
<span>FillerText FillerText FillerText FillerText FillerText</span>
|
||||
</body>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-001.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. right when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="test">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-002.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. left when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="test">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-003.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. right when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div class="test" dir="rtl">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-004.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. left when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 24px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 120px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="ltr">XXXXX</div>
|
||||
<div class="ref"><div id="rb1"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-005.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. right when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: rtl; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, direction: ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-006.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. left when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; direction: ltr; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</div>
|
||||
<div style="direction: rtl;">
|
||||
<div class="test">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=rtl</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-007.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. right when direction is horizontal, rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes looks the same.</div>
|
||||
<div class="test" dir="rtl">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=ltr</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-008.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. left when direction is horizontal, ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="ltr">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,28 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=auto, RTL first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-009.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. right when direction is auto and first strong character is rtl.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; right: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; right: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; right: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div class="test" dir="auto">‏XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
<!-- Notes:
|
||||
The &rlm isn't in the Ahem font, so it may cause a spurious effect, such as a thin white line in the middle of a block in IE. This should be ignored. The test needs a RTL character in the Ahem font, so that the &RLM can be removed.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,27 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, dir=auto, LTR first strong</title>
|
||||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel='help' href='https://drafts.csswg.org/css-text-3/#text-align-property'>
|
||||
<link rel='match' href='reference/text-align-start-ref-010.html'>
|
||||
<meta name="assert" content="text-align:start aligns inline-level content to the start edge of the line box – ie. left when direction is auto and first strong character is ltr.">
|
||||
<style type='text/css'>
|
||||
.test { text-align: start; }
|
||||
/* the CSS below is not part of the test */
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 290px; color: orange; font: 24px/24px ahem; }
|
||||
.ref { position: relative; height: 72px; }
|
||||
#rb1 { position: absolute; top: 0; left: 0; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb2 { position: absolute; top: 0; left: 96px; background-color: orange; width: 72px; height: 72px; }
|
||||
#rb3 { position: absolute; top: 0; left: 192px; background-color: orange; width: 72px; height: 48px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
|
||||
<div dir="rtl">
|
||||
<div class="test" dir="auto">XXX XXX XXX XXX XXX XXX XXX XXX</div>
|
||||
<div class="ref"><div id="rb1"></div><div id="rb2"></div><div id="rb3"></div></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Add a link
Reference in a new issue