mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
Update web-platform-tests to revision b'2d7c53f5bc604132d2c83955537e454ee9c788c0'
This commit is contained in:
parent
619a46113f
commit
1c6b303ef2
396 changed files with 29611 additions and 1967 deletions
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<style>
|
||||
html {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
dialog {
|
||||
container-type: size;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
}
|
||||
|
||||
@container (width > 1px) {
|
||||
dialog::backdrop {
|
||||
margin: 10px;
|
||||
background-color: green;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<dialog id=dialog>
|
||||
Hello World
|
||||
</dialog>
|
||||
<script>
|
||||
dialog.showModal();
|
||||
</script>
|
|
@ -0,0 +1,29 @@
|
|||
<!DOCTYPE html>
|
||||
<title>Don't crash with intermediate container in reversed list</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-2/#containment-style">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-contain-2/#containment-style">
|
||||
<link rel="help" href="https://crbug.com/1377644">
|
||||
<style>
|
||||
.container {
|
||||
container-type: size;
|
||||
}
|
||||
|
||||
/* Prevent double layout due to scrollbar speculation */
|
||||
html {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
@container (width > 1px) {
|
||||
.item {
|
||||
display: list-item;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<ol reversed>
|
||||
<li>A</li>
|
||||
<div class=container>
|
||||
<div class=item>
|
||||
B
|
||||
</div>
|
||||
</div>
|
||||
</ol>
|
Loading…
Add table
Add a link
Reference in a new issue