mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 13:21:05 +00:00
Bug 1704905 [wpt PR 28459] - "justifyall" tests were the same as "justify", a=testonly
Automatic update from web-platform-tests "justifyall" tests were the same as "justify" (#28459) * "justifyall" tests were the same as "justify"; the last line wasn't aligned * Choose a width that divides evenly with three or four boxes Co-authored-by: Mike <mike@qtunes.org> -- wpt-commits: bbcf0db171d766d92aeee5ed7d4e4359b1aeaf6c wpt-pr: 28459
This commit is contained in:
parent
82fa2174c7
commit
53bb6da633
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user