Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / repaint / fixed-margin-change-repaint.html
blob8c12ee6791ce6f0d63eee8db977e18bbd97a2a01
1 <!DOCTYPE HTML>
2 <script src="resources/text-based-repaint.js"></script>
3 <style>
4 body {
5 margin: 0;
7 #container {
8 position: relative;
9 top: 40px;
10 width: 200px;
11 height: 400px;
13 #test {
14 position: fixed;
15 background-color: green;
16 width: 100px;
17 height: 100px;
19 </style>
20 <script>
21 function repaintTest()
23 document.getElementById("test").style['margin-top'] = '20px';
25 window.onload = runRepaintTest;
26 </script>
27 <div id="container">
28 <div id="test"></div>
29 </div>
30 Tests the repainting of fixed element when margin-top changes.