Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css / getComputedStyle / getComputedStyle-outline-offset.html
blob0e23f8cbf9a9959a8663af0549490d446b83cbf2
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <script src="../../../resources/js-test.js"></script>
6 </head>
7 <body>
8 <script>
10 description("Test to make sure outline-offset is found in the computed style.")
12 var testContainer = document.createElement("div");
13 document.body.appendChild(testContainer);
15 testContainer.innerHTML = '<div id="test" style="outline: 2px solid black">hello</div>';
17 e = document.getElementById('test');
18 e.contentEditable = true;
20 e.style.outlineOffset = "2px";
21 computedStyle = window.getComputedStyle(e);
22 shouldBe("computedStyle.getPropertyValue('outline-offset')", "'2px'");
24 document.body.removeChild(testContainer);
26 </script>
27 </body>
28 </html>