13 box-sizing: border-box;
18 background-clip: content-box;
19 background-color: yellow;
23 <div id=
"dynamic-padding"></div>
25 This test verifies an element with percentage padding and background-clip:content-box correctly repaints when its padding changes due to container layout.
26 <script src=
"../../resources/run-after-layout-and-paint.js"></script>
28 runAfterLayoutAndPaint(function() {
29 document
.getElementById("container").style
.width
= "100px";