mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision b'99458bfd6e43f5842a4a510cc5adfd8185e5c64c'
This commit is contained in:
parent
eac515e4ab
commit
ec97b29ff1
334 changed files with 5735 additions and 3175 deletions
|
@ -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">‏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">‏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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue