Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / compositing / geometry / ancestor-overflow-change.html
blob120ea3343dd9d8ca03c07b4193797b8a21edb7e2
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style type="text/css" media="screen">
6 #container {
7 position: relative;
8 height: 50px;
9 width: 100px;
10 outline: 2px solid black;
11 overflow: hidden;
14 #container.changed {
15 overflow: visible;
16 height: 100px;
19 .box {
20 width: 100px;
21 height: 100px;
22 background-color: green;
23 transform: translateZ(1px);
26 #indicator {
27 position: absolute;
28 width: 100px;
29 height: 100px;
30 background-color: red;
33 #layers {
34 opacity: 0; /* Hide from pixel results */
36 </style>
37 <script type="text/javascript" charset="utf-8">
38 if (window.testRunner) {
39 testRunner.dumpAsTextWithPixelResults();
40 testRunner.waitUntilDone();
43 function changeOverflow()
45 document.getElementById('container').className = 'changed';
47 if (window.testRunner)
48 document.getElementById('layers').innerText = window.internals.layerTreeAsText(document);
50 if (window.testRunner)
51 testRunner.notifyDone();
54 window.addEventListener('load', function() {
55 window.setTimeout(changeOverflow, 0);
56 }, false);
57 </script>
58 </head>
59 <body>
61 <div id="indicator"></div>
62 <div id="container">
63 <div class="box"></div>
64 </div>
66 <pre id="layers">Layer tree goes here in DRT</pre>
67 </body>
68 </html>