3 <style type="text/css">
11 background-color: green;
14 transform: translateZ(0);
17 background-clip: padding-box;
18 -webkit-background-clip: padding-box;
21 background-clip: content-box;
22 -webkit-background-clip: content-box;
25 <script type="text/javascript">
26 if (window.testRunner)
27 testRunner.dumpAsText();
30 if (window.testRunner && window.internals)
31 document.getElementById('layertree').innerText = window.internals.layerTreeAsText(document);
33 window.addEventListener('load', doTest, false);
37 <!-- Box with border-box background-clip. -->
38 <!-- GraphicsLayer::contentsOpaque for this box should be true. -->
39 <div class="box composited"></div>
40 <!-- Box with padding-box background-clip. -->
41 <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
42 <div class="box composited padding-clip"></div>
43 <!-- Box with content-box background-clip. -->
44 <!-- GraphicsLayer::contentsOpaque for this box should be false. -->
45 <div class="box composited content-clip"></div>
47 <pre id="layertree"></pre>