mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -1,5 +1,5 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en" >
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>text-align: start, 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-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.">
|
||||
<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: 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; }
|
||||
.test, .ref { border: 1px solid orange; margin: 20px; width: 300px; color: orange; font: 25px/1 Ahem; }
|
||||
.ref { text-align: left; }
|
||||
</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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue