mirror of
https://github.com/servo/servo.git
synced 2025-07-12 09:53:40 +01:00
36 lines
No EOL
1.3 KiB
HTML
36 lines
No EOL
1.3 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS Regions: flowing an iframe that loads content with 3D transform</title>
|
|
<link rel="author" 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">
|
|
<link rel="help" href="http://www.w3.org/TR/css-transforms-1/#transform-functions">
|
|
<meta name="assert" content="Test checks that flowing an iframe that loads content with 3D transforms in a region renders without artifacts.">
|
|
<meta name="flags" content="ahem">
|
|
<link rel="match" href="reference/iframe-001-ref.html">
|
|
<style>
|
|
.flow {
|
|
flow-into: f;
|
|
}
|
|
|
|
.region {
|
|
flow-from: f;
|
|
width: 400px;
|
|
height: 300px;
|
|
}
|
|
.region p {
|
|
background-color: red;
|
|
height: 50%;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>Test passes if you see horizontal green rectangle and no red.</p>
|
|
|
|
<iframe src="support/3d-filler.html" frameborder="0" class="flow" width="400" height="300"></iframe>
|
|
<div class="region">
|
|
<p> </p>
|
|
</div>
|
|
</body>
|
|
</html> |