mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Update web-platform-tests to revision 9c2bea6dac36e36ba1f489d10c2be42160d8f34f
This commit is contained in:
parent
482923cec2
commit
5c371dd958
459 changed files with 10717 additions and 834 deletions
|
@ -18,7 +18,7 @@
|
|||
<div id=log></div>
|
||||
<div id=test></div>
|
||||
<script type="text/javascript">
|
||||
var t = async_test(document.title);
|
||||
var t = async_test();
|
||||
t.step(function () {
|
||||
assert_equals(window.getComputedStyle(document.querySelector('div#test')).display, "flex", "Display value is");
|
||||
});
|
||||
|
|
|
@ -18,7 +18,7 @@
|
|||
<div id=log></div>
|
||||
<div id=test></div>
|
||||
<script type="text/javascript">
|
||||
var t = async_test(document.title);
|
||||
var t = async_test();
|
||||
t.step(function () {
|
||||
assert_equals(window.getComputedStyle(document.querySelector('div#test')).display, "inline-flex", "Display value is");
|
||||
});
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<div id=log></div>
|
||||
<div id=test><div id=test01>1</div><div id=test02>2</div><div id=test03>3</div></div>
|
||||
<script type="text/javascript">
|
||||
var t = async_test(document.title);
|
||||
var t = async_test();
|
||||
t.step(function () {
|
||||
assert_equals(document.getElementById("test01").offsetTop, document.getElementById("test02").offsetTop, "Rectangle 1 and 2 have the same offsetTop value");
|
||||
assert_equals((document.getElementById("test02").offsetLeft >= document.getElementById("test01").offsetLeft), false, "Rectangle 2 have a smaller offsetLeft value than 1.");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue