mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update CSS tests to revision 0698c2aa9ead844b6d7d10eafb096cb1118e13ef
This commit is contained in:
parent
9aa1b1e408
commit
35c74aecc2
11290 changed files with 92400 additions and 49214 deletions
|
@ -21,7 +21,7 @@
|
|||
width: 60px;
|
||||
height: 36px;
|
||||
background: blue;
|
||||
}
|
||||
}
|
||||
#content1, #content2 {
|
||||
width: 400px;
|
||||
line-height: 12px;
|
||||
|
@ -41,17 +41,17 @@
|
|||
<span id="line2Left">jean </span><span id="line2Right">vegan</span><br>
|
||||
<span id="line3Left">fund </span><span id="line3Right">selvage</span><br>
|
||||
</div>
|
||||
<div id="content2">
|
||||
<div id="content2">
|
||||
<span id="line4Left">swags </span><span id="line4Right">unami</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div id="log"></div>
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
<script type="text/javascript">
|
||||
/* Line 1 */
|
||||
test(function() {assert_equals(checkLinePos("line1",0,"top"), true)}, "Verify top of the first line above the exclusion");
|
||||
test(function() {assert_equals(checkLinePos("line1",0,"left"), true)}, "Verify left of the first line above the exclusion");
|
||||
test(function() {assert_equals(checkLinePos("line1",0,"left"), true)}, "Verify left of the first line above the exclusion");
|
||||
/* Line 2 */
|
||||
test(function() {assert_equals(checkLinePos("line2Left",12,"top"), true)}, "Verify top of the second line on the left of the exclusion");
|
||||
test(function() {assert_equals(checkLinePos("line2Right",130,"left"), true)}, "Verify left of the second line on the right of the exclusion");
|
||||
|
@ -63,4 +63,5 @@
|
|||
test(function() {assert_equals(checkLinePos("line4Right",72,"left"), true)}, "Verify left of the fourth line with wrapping-through = none");
|
||||
</script>
|
||||
|
||||
|
||||
</body></html>
|
Loading…
Add table
Add a link
Reference in a new issue