mirror of
https://github.com/servo/servo.git
synced 2025-06-23 16:44:33 +01:00
49 lines
No EOL
1.5 KiB
HTML
49 lines
No EOL
1.5 KiB
HTML
<!DOCTYPE html>
|
|
<html><head>
|
|
<title>CSS Regions: 3D transform on named flow (text) content that overflows a region</title>
|
|
<link href="mailto:mibalan@adobe.com" rel="author" title="Mihai Balan">
|
|
<link href="mailto:rhauck@adobe.com" rel="author" title="Rebecca Hauck">
|
|
<link href="mailto:mibalan@adobe.com" rel="reviewer" title="Mihai Balan"> <!-- 2013-07-24 -->
|
|
<link href="http://www.w3.org/TR/css3-regions/#the-flow-into-property" rel="help">
|
|
<link href="http://www.w3.org/TR/css3-regions/#flow-from" rel="help">
|
|
<link href="http://www.w3.org/TR/css-transforms-1/#three-d-transform-functions" rel="help">
|
|
<meta content="Test checks that content that is transformed does not clip when flowed in a region." name="assert">
|
|
<meta content="ahem" name="flags">
|
|
<link href="reference/regions-transforms-018-ref.htm" rel="match">
|
|
<style>
|
|
.ahem {
|
|
font-family: Ahem;
|
|
font-size: 20px;
|
|
line-height: 100px;
|
|
}
|
|
#named-flow {
|
|
flow-into: f;
|
|
transform: rotateZ(90deg);
|
|
color: green;
|
|
}
|
|
#region {
|
|
flow-from: f;
|
|
border-bottom: 20px solid green;
|
|
width: 100px;
|
|
height: 80px;
|
|
}
|
|
#failure {
|
|
position: absolute;
|
|
width: 18px;
|
|
height: 78px;
|
|
background-color: red;
|
|
top: 151px;
|
|
left: 49px;
|
|
z-index: -1;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<p>The test passes if you see a green cross and no red.</p>
|
|
<div class="ahem" id="named-flow">
|
|
XXXXXXXXX
|
|
</div>
|
|
<div id="region"></div>
|
|
<div id="failure"></div>
|
|
|
|
</body></html> |