mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'099ab08227717e000b444ff560e93f96b49e05d7'
This commit is contained in:
parent
53570ffe55
commit
a1db4c746d
172 changed files with 12261 additions and 2279 deletions
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>Test that a fixed positioned child of a dialog is aligned to the viewport</title>
|
||||
<head>
|
||||
<link rel="match" href="fixed-position-child-with-fixed-position-cb-ref.html">
|
||||
<link rel="help" href="https://fullscreen.spec.whatwg.org/#new-stacking-layer">
|
||||
<style>
|
||||
::backdrop {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="contain: layout">
|
||||
<dialog id="dialog">
|
||||
Dialog should be centered.
|
||||
<div style="position: fixed; top: 0px; left: 0px">This fixed positioned element is aligned to viewport top-left.</div>
|
||||
</dialog>
|
||||
</div>
|
||||
<script>
|
||||
dialog.showModal();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>Test that a fixed positioned child of a dialog is aligned to the viewport</title>
|
||||
<head>
|
||||
<link rel="stylesheet" href="resources/dialog.css">
|
||||
</head>
|
||||
<style>
|
||||
</style>
|
||||
<body>
|
||||
<div class="pseudodialog" style="position: fixed">
|
||||
Dialog should be centered.
|
||||
</div>
|
||||
<div style="position: fixed; top: 0px; left: 0px">This fixed positioned element is aligned to viewport top-left.</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,26 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>Test that a fixed positioned child of a dialog is aligned to the viewport</title>
|
||||
<head>
|
||||
<link rel="match" href="fixed-position-child-with-fixed-position-cb-ref.html">
|
||||
<link rel="help" href="https://fullscreen.spec.whatwg.org/#new-stacking-layer">
|
||||
<style>
|
||||
::backdrop {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<svg>
|
||||
<foreignObject>
|
||||
<dialog id="dialog">
|
||||
Dialog should be centered.
|
||||
<div style="position: fixed; top: 0px; left: 0px">This fixed positioned element is aligned to viewport top-left.</div>
|
||||
</dialog>
|
||||
</foreignObject>
|
||||
</svg>
|
||||
<script>
|
||||
dialog.showModal();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>Test that a fixed positioned child of a dialog is aligned to the viewport</title>
|
||||
<head>
|
||||
<link rel="match" href="fixed-position-child-with-fixed-position-cb-ref.html">
|
||||
<link rel="help" href="https://fullscreen.spec.whatwg.org/#new-stacking-layer">
|
||||
<style>
|
||||
::backdrop {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="scale: 1">
|
||||
<dialog id="dialog">
|
||||
Dialog should be centered.
|
||||
<div style="position: fixed; top: 0px; left: 0px">This fixed positioned element is aligned to viewport top-left.</div>
|
||||
</dialog>
|
||||
</div>
|
||||
<script>
|
||||
dialog.showModal();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
|
@ -0,0 +1,24 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<title>Test that a fixed positioned child of a dialog is aligned to the viewport</title>
|
||||
<head>
|
||||
<link rel="match" href="fixed-position-child-with-fixed-position-cb-ref.html">
|
||||
<link rel="help" href="https://fullscreen.spec.whatwg.org/#new-stacking-layer">
|
||||
<style>
|
||||
::backdrop {
|
||||
display: none;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div style="will-change: transform">
|
||||
<dialog id="dialog">
|
||||
Dialog should be centered.
|
||||
<div style="position: fixed; top: 0px; left: 0px">This fixed positioned element is aligned to viewport top-left.</div>
|
||||
</dialog>
|
||||
</div>
|
||||
<script>
|
||||
dialog.showModal();
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue