mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update web-platform-tests to revision ae1e2d51f38e208f3d07a97b5d82f9ca0dda2c94
This commit is contained in:
parent
6c506ba260
commit
96553cb7e2
109 changed files with 3903 additions and 298 deletions
|
@ -0,0 +1,33 @@
|
|||
<!DOCTYPE html>
|
||||
<html class="test-wait">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-scroll-anchoring/">
|
||||
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=823150">
|
||||
|
||||
<script src="/resources/testdriver.js"></script>
|
||||
<script src="/resources/testdriver-vendor.js"></script>
|
||||
|
||||
<style>
|
||||
|
||||
#a { height: 700px; }
|
||||
#b { border: 4px solid #ccc; }
|
||||
|
||||
</style>
|
||||
<div id="a"><div id="b"></div></div>
|
||||
<script>
|
||||
|
||||
onload = () => {
|
||||
test_driver.bless("requestFullscreen", step2);
|
||||
};
|
||||
step2 = () => {
|
||||
b.requestFullscreen();
|
||||
b.addEventListener('fullscreenchange', step3);
|
||||
};
|
||||
step3 = () => {
|
||||
document.designMode = "on";
|
||||
document.execCommand("selectAll");
|
||||
document.execCommand("formatBlock", false, "p");
|
||||
document.documentElement.classList.remove('test-wait');
|
||||
};
|
||||
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue