Update web-platform-tests to revision 238e9855c35a3570f824b837826aac71e50722f4

This commit is contained in:
Josh Matthews 2017-10-16 17:10:28 -04:00
parent 20a833eb75
commit cb9490cb73
173 changed files with 228 additions and 5136 deletions

View file

@ -0,0 +1,26 @@
<!DOCTYPE html>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
body { height: 1000px }
#outer { line-height: 100px }
#ib1, #ib2 { display: inline-block }
</style>
<span id=outer>
<span id=ib1>abc</span>
<br><br>
<span id=ib2>def</span>
</span>
<script>
// Tests anchoring to an inline block inside a <span>.
test(() => {
document.scrollingElement.scrollTop = 150;
document.querySelector("#ib1").style.lineHeight = "150px";
assert_equals(document.scrollingElement.scrollTop, 200);
}, "Anchor selection descent into inline blocks.");
</script>