Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / border-image-width-numbers-computed-style.html
blob241755d7f1d1c23188d86b9251fb971f43a135d0
1 <!doctype html>
2 <html>
3 <head>
4 <title>Test that numbers in border-image-{width,outset} are returned correctly</title>
5 <script src="../../resources/js-test.js"></script>
6 <style>
7 .test {
8 border-image-width: 0 5.5 4.4 3.3;
9 border-image-outset: 2.5 0 1.4 1.9;
10 border-style: solid;
11 visibility: hidden;
13 </style>
14 </head>
15 <body>
16 <div class="test"></div>
17 <script>
18 var elm = getComputedStyle(document.querySelector('.test'));
19 shouldBeEqualToString("elm.borderImageWidth", "0 5.5 4.4 3.3");
20 shouldBeEqualToString("elm.borderImageOutset", "2.5 0 1.4 1.9");
21 </script>
22 </body>
23 </html>