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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-padding-shorthand.html

Issue 58533003: Move fast/js/resources files to resources. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"> 4 <meta charset="utf-8">
5 <script src="../../js/resources/js-test-pre.js"></script> 5 <script src="../../../resources/js-test.js"></script>
6 </head> 6 </head>
7 <body> 7 <body>
8 <script> 8 <script>
9 9
10 description("Test to make sure padding shorthand property returns CSSValueList p roperly.") 10 description("Test to make sure padding shorthand property returns CSSValueList p roperly.")
11 11
12 var testContainer = document.createElement("div"); 12 var testContainer = document.createElement("div");
13 testContainer.contentEditable = true; 13 testContainer.contentEditable = true;
14 document.body.appendChild(testContainer); 14 document.body.appendChild(testContainer);
15 15
(...skipping 30 matching lines...) Expand all
46 shouldBe("computedStyle.getPropertyCSSValue('padding').item(0).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "5"); 46 shouldBe("computedStyle.getPropertyCSSValue('padding').item(0).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "5");
47 shouldBe("computedStyle.getPropertyCSSValue('padding').item(1).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "6"); 47 shouldBe("computedStyle.getPropertyCSSValue('padding').item(1).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "6");
48 shouldBe("computedStyle.getPropertyCSSValue('padding').item(2).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "7"); 48 shouldBe("computedStyle.getPropertyCSSValue('padding').item(2).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "7");
49 shouldBe("computedStyle.getPropertyCSSValue('padding').item(3).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "8"); 49 shouldBe("computedStyle.getPropertyCSSValue('padding').item(3).getFloatValue(CSS PrimitiveValue.CSS_NUMBER)", "8");
50 50
51 document.body.removeChild(testContainer); 51 document.body.removeChild(testContainer);
52 52
53 </script> 53 </script>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698