Update web-platform-tests to revision b'99458bfd6e43f5842a4a510cc5adfd8185e5c64c'

This commit is contained in:
WPT Sync Bot 2022-11-19 01:20:42 +00:00
parent eac515e4ab
commit ec97b29ff1
334 changed files with 5735 additions and 3175 deletions

View file

@ -1,19 +1,17 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: left; }
</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>
<div class="ref">REFER</div>
<div class="ref">REFER</div>
</body>
</html>
</html>

View file

@ -1,21 +1,19 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: right; }
</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 class="ref">REFER</div>
<div class="ref">REFER</div>
</div>
</body>
</html>
</html>

View file

@ -1,19 +1,17 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: left; }
</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>
<div class="ref">REFER</div>
<div class="ref">REFER</div>
</body>
</html>
</html>

View file

@ -1,21 +1,19 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: right; }
</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 class="ref">REFER</div>
<div class="ref">REFER</div>
</div>
</body>
</html>
</html>

View file

@ -1,21 +1,17 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: left; }
</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>
<div class="ref">REF REF REF REF REF REF REF REF</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</body>
</html>
</html>

View file

@ -1,23 +1,19 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: right; }
</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 class="ref">REF REF REF REF REF REF REF REF</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</div>
</body>
</html>
</html>

View file

@ -1,21 +1,17 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: left; }
</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>
<div class="ref">REF REF REF REF REF REF REF REF</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</body>
</html>
</html>

View file

@ -1,23 +1,19 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: right; }
</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 class="ref">REF REF REF REF REF REF REF REF</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</div>
</body>
</html>
</html>

View file

@ -1,21 +1,17 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: left; }
</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>
<div class="ref">REF REF REF REF REF REF REF REF</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</body>
</html>
</html>

View file

@ -1,23 +1,19 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: right; }
</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 class="ref">REF REF REF REF REF REF REF REF</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</div>
</body>
</html>
</html>

View file

@ -1,21 +1,19 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: left; }
</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 class="ref">REF<br>ERE</div>
<div class="ref">REF<br>ERE</div>
</div>
</body>
</html>
</html>

View file

@ -1,19 +1,17 @@
<!DOCTYPE html>
<html lang="en" >
<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="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<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; }
.ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; text-align: right; }
</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>
<div class="ref">REF<br>ERE</div>
<div class="ref">REF<br>ERE</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, direction: rtl</title>
@ -7,18 +7,17 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; direction: rtl; }
.ref { text-align: left; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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>
<div class="test">TESTI</div>
<div class="ref">REFER</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, direction: ltr</title>
@ -7,20 +7,19 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; direction: ltr; }
.ref { text-align: right; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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 class="test">TESTI</div>
<div class="ref">REFER</div>
</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, dir=rtl</title>
@ -7,18 +7,17 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: left; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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>
<div class="test" dir="rtl">TESTI</div>
<div class="ref">REFER</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, dir=ltr</title>
@ -7,20 +7,19 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: right; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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 class="test" dir="ltr">TESTI</div>
<div class="ref">REFER</div>
</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, direction: rtl</title>
@ -7,20 +7,17 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; direction: rtl; }
.ref { text-align: left; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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>
<div class="test">TES TES TES TES TES TES TES TES</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, direction: ltr</title>
@ -7,22 +7,19 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; direction: ltr; }
.ref { text-align: right; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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 class="test">TES TES TES TES TES TES TES TES</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, dir=rtl</title>
@ -7,20 +7,17 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: left; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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>
<div class="test" dir="rtl">TES TES TES TES TES TES TES TES</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, dir=ltr</title>
@ -7,22 +7,19 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: right; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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 class="test" dir="ltr">TES TES TES TES TES TES TES TES</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, dir=auto, RTL first strong</title>
@ -7,23 +7,20 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: left; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</style>
</head>
<body>
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
<div class="test" dir="auto">&rlm;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 class="test" dir="auto">&rlm;TES TES TES TES TES TES TES TES</div>
<div class="ref">REF REF REF REF REF REF REF REF</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>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, dir=auto, LTR first strong</title>
@ -7,22 +7,19 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: right; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</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 class="test" dir="auto">&lrm;TES TES TES TES TES TES TES TES</div>
<div class="ref">REF REF REF REF REF REF REF REF</div>
</div>
</body>
</html>
</html>

View file

@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="en" >
<html lang="en">
<head>
<meta charset="utf-8">
<title>text-align: end, pre, dir=rtl inherited</title>
@ -7,24 +7,23 @@
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: left; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</style>
</head>
<body>
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
<div dir="rtl">
<pre class="test">XXX
&rlm;XXX</pre>
<div class="ref"><div id="rb1"></div></div>
<pre class="test">TES
&rlm;ING</pre>
<div class="ref">REF<br>ERE</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>
</html>

View file

@ -1,30 +1,29 @@
<!DOCTYPE html>
<html lang="en" >
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<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.">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style type='text/css'>
.test { text-align: end; }
.ref { text-align: right; }
/* 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; }
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
</style>
</head>
<body>
<div id='instructions'>Test passes if shading in both orange boxes is identical.</div>
<div dir="ltr">
<pre class="test">XXX
&rlm;XXX</pre>
<pre class="test">TES
&rlm;ING</pre>
</div>
<div class="ref"><div id="rb1"></div></div>
<div class="ref">REF<br>ERE</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>
</html>