mirror of
https://github.com/servo/servo
synced 2026-04-28 18:37:39 +02:00
Update CSS tests to revision 2baa72daab8bf37e3e910a9fd311a1eaa5b0f4a8
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
<!DOCTYPE html>
|
||||
<html><head><meta charset="utf-8">
|
||||
<title>CSS Transforms Test: backface-visibility - visible</title>
|
||||
<link href="http://www.intel.com" rel="author" title="Intel">
|
||||
<link href="mailto:zhiqiang.zhang@intel.com" rel="reviewer" title="Zhiqiang Zhang"> <!-- 2015-05-22 -->
|
||||
<link href="http://www.w3.org/TR/css-transforms-1/#backface-visibility-property" rel="help">
|
||||
<link href="reference/ref-filled-green-100px-square.htm" rel="match">
|
||||
<meta content="When 'backface-visiblity' is set to visible,
|
||||
the back side of a transformed element is visible." name="assert">
|
||||
<style>
|
||||
div {
|
||||
height: 100px;
|
||||
width: 100px;
|
||||
}
|
||||
|
||||
body > div {
|
||||
background: red;
|
||||
}
|
||||
|
||||
div > div {
|
||||
background: green;
|
||||
backface-visibility: visible;
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
</style>
|
||||
</head><body>
|
||||
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
||||
<div>
|
||||
<div></div>
|
||||
</div>
|
||||
|
||||
|
||||
</body></html>
|
||||
Reference in New Issue
Block a user