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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-border-width.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 border-width property returns CSSValueList proper ly.") 10 description("Test to make sure border-width property returns CSSValueList proper ly.")
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 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 shouldBe("computedStyle.getPropertyCSSValue('border-width').toString()", "'[obje ct CSSValueList]'"); 62 shouldBe("computedStyle.getPropertyCSSValue('border-width').toString()", "'[obje ct CSSValueList]'");
63 shouldBe("computedStyle.getPropertyCSSValue('border-width').cssText", "'0px'"); 63 shouldBe("computedStyle.getPropertyCSSValue('border-width').cssText", "'0px'");
64 shouldBe("computedStyle.getPropertyCSSValue('border-width').length", "1"); 64 shouldBe("computedStyle.getPropertyCSSValue('border-width').length", "1");
65 shouldBe("computedStyle.getPropertyCSSValue('border-width').item(0).getFloatValu e(CSSPrimitiveValue.CSS_PX)", "0"); 65 shouldBe("computedStyle.getPropertyCSSValue('border-width').item(0).getFloatValu e(CSSPrimitiveValue.CSS_PX)", "0");
66 66
67 document.body.removeChild(testContainer); 67 document.body.removeChild(testContainer);
68 68
69 </script> 69 </script>
70 </body> 70 </body>
71 </html> 71 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698