mirror of
https://github.com/servo/servo.git
synced 2025-08-21 05:15:33 +01:00
Update web-platform-tests to revision 58b72393db0bd273bb93268c33666cf893feb985
This commit is contained in:
parent
43a4f01647
commit
64e0a52537
12717 changed files with 59835 additions and 59820 deletions
|
@ -0,0 +1,48 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Regions Test: flowing content in dialog</title>
|
||||
<link rel="author" title="Catalin Badea" href="mailto:badea@adobe.com">
|
||||
<link rel="reviewer" title="Mihai Balan" href="mailto:mibalan@adobe.com">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#the-flow-into-property">
|
||||
<link rel="help" href="http://www.w3.org/TR/css3-regions/#flow-from">
|
||||
<meta name="flags" content="dom">
|
||||
<meta name="assert" content="Test checks that content is correctly flowed into dialog elements.">
|
||||
<link rel="match" href="reference/regions-dialog-001-ref.html">
|
||||
<style>
|
||||
#content {
|
||||
background-color: green;
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
flow-into: f;
|
||||
}
|
||||
#region {
|
||||
width: 150px;
|
||||
height: 150px;
|
||||
background-color: gray;
|
||||
flow-from: f;
|
||||
}
|
||||
.red {
|
||||
width: 100px;
|
||||
height: 100px;
|
||||
background-color: red;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<ol>
|
||||
<li>Test passes if you see a green square in the gray box.</li>
|
||||
<li>You should see no red.</li>
|
||||
</ol>
|
||||
<div id="content"></div>
|
||||
<dialog id="region">
|
||||
<div class="red"></div>
|
||||
</dialog>
|
||||
</body>
|
||||
<script>
|
||||
document.addEventListener("DOMContentLoaded", function() {
|
||||
var dialog = document.getElementsByTagName('dialog')[0];
|
||||
dialog.show();
|
||||
});
|
||||
</script>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue