OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 <html> | |
3 <head> | |
4 <script src="../../../resources/testharness.js"></script> | |
5 <script src="../../../resources/testharnessreport.js"></script> | |
6 </head> | |
7 <body> | |
8 <script type="text/javascript"> | |
9 // These are in their simplest form and should serialize that way | |
10 var inset_tests = ['inset(10px)', 'inset(10px round 10px)'] | |
Bear Travis
2014/04/07 21:59:13
Why have this test (parsing-shape-outside-inset) i
| |
11 inset_tests.forEach(function (inset_test) { | |
12 test(function() { | |
13 var div = document.createElement('div'); | |
14 document.body.appendChild(div); | |
15 div.style.setProperty('shape-outside', inset_test); | |
16 var inlineActual = div.style.getPropertyValue('shape-outside '); | |
17 assert_equals(inlineActual, inset_test); | |
18 var computedActual = getComputedStyle(div).getPropertyValue ('shape-outside'); | |
19 assert_equals(computedActual, inset_test); | |
20 document.body.removeChild(div); | |
21 }, inset_test); | |
22 }); | |
23 </script> | |
24 </body> | |
25 </html> | |
OLD | NEW |