mirror of
https://github.com/servo/servo.git
synced 2025-08-07 22:45:34 +01:00
Update web-platform-tests to revision b'468d01bbd84da2babf265c6af46947be68713440'
This commit is contained in:
parent
35e95f55a1
commit
58e8ee674b
9438 changed files with 266112 additions and 106976 deletions
|
@ -6,20 +6,19 @@
|
|||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px Ahem; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
.rb1 { top: 0; left: 0; height: 72px; }
|
||||
.rb2 { top: 0; left: 110px; height: 48px; }
|
||||
.rb3 { top: 0; left: 220px; height: 48px; }
|
||||
.rb4 { top: 0; left: 330px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 165px; 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>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</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>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -6,22 +6,21 @@
|
|||
<link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<style type='text/css'>
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 399px; color: orange; font: 24px/24px Ahem; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
.rb1 { top: 0; right: 0; height: 72px; }
|
||||
.rb2 { top: 0; right: 110px; height: 48px; }
|
||||
.rb3 { top: 0; right: 220px; height: 48px; }
|
||||
.rb4 { top: 0; right: 330px; height: 72px; }
|
||||
.rb5 { top: 48px; left: 165px; 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 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>
|
||||
<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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
<!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="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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>
|
|
@ -1,27 +0,0 @@
|
|||
<!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="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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>
|
|
@ -1,25 +0,0 @@
|
|||
<!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="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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>
|
|
@ -1,27 +0,0 @@
|
|||
<!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="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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>
|
|
@ -11,20 +11,19 @@
|
|||
<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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
#rb1 { top: 0; left: 0; height: 72px; }
|
||||
#rb2 { top: 0; left: 110px; height: 48px; }
|
||||
#rb3 { top: 0; left: 220px; height: 48px; }
|
||||
#rb4 { top: 0; left: 330px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 165px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</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>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -11,22 +11,21 @@
|
|||
<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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
#rb1 { top: 0; right: 0; height: 72px; }
|
||||
#rb2 { top: 0; right: 110px; height: 48px; }
|
||||
#rb3 { top: 0; right: 220px; height: 48px; }
|
||||
#rb4 { top: 0; right: 330px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 165px; 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 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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -5,26 +5,25 @@
|
|||
<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'>
|
||||
<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.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
#rb1 { top: 0; left: 0; height: 72px; }
|
||||
#rb2 { top: 0; left: 110px; height: 48px; }
|
||||
#rb3 { top: 0; left: 220px; height: 48px; }
|
||||
#rb4 { top: 0; left: 330px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 165px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</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>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -4,29 +4,28 @@
|
|||
<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='match' href='reference/text-align-justifyall-ref-002.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.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
#rb1 { top: 0; right: 0; height: 72px; }
|
||||
#rb2 { top: 0; right: 110px; height: 48px; }
|
||||
#rb3 { top: 0; right: 220px; height: 48px; }
|
||||
#rb4 { top: 0; right: 330px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 165px; 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 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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -5,26 +5,25 @@
|
|||
<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'>
|
||||
<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.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
#rb1 { top: 0; left: 0; height: 72px; }
|
||||
#rb2 { top: 0; left: 110px; height: 48px; }
|
||||
#rb3 { top: 0; left: 220px; height: 48px; }
|
||||
#rb4 { top: 0; left: 330px; height: 72px; }
|
||||
#rb5 { top: 48px; right: 165px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</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>
|
||||
<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>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -5,28 +5,27 @@
|
|||
<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'>
|
||||
<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.">
|
||||
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
||||
<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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 402px; 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; }
|
||||
#rb1 { top: 0; right: 0; height: 72px; }
|
||||
#rb2 { top: 0; right: 110px; height: 48px; }
|
||||
#rb3 { top: 0; right: 220px; height: 48px; }
|
||||
#rb4 { top: 0; right: 330px; height: 72px; }
|
||||
#rb5 { top: 48px; left: 165px; height: 24px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is the same.</div>
|
||||
<div id='instructions'>Test passes if the shading in both orange boxes is identical.</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 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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
</html>
|
||||
|
|
|
@ -0,0 +1,11 @@
|
|||
<!DOCTYPE html>
|
||||
<title>text-align: -webkit-match-parent should not be supported</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-text/#valdef-text-align-match-parent">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<body>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_false(CSS.supports('text-align: -webkit-match-parent'));
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue