Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(500)

Side by Side Diff: LayoutTests/fast/shapes/parsing/parsing-shape-outside-inset.html

Issue 227793002: [CSS Shapes] inset args and radial args should serialize to the simplest form (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Try to fix test failures Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698