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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/getComputedStyle-borderRadius-2.html

Issue 48903019: Delete js-test-post.js. (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 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <style> 5 <style>
6 .test { float: left; width: 50px; height: 50px; border: 1px solid black; } 6 .test { float: left; width: 50px; height: 50px; border: 1px solid black; }
7 #borderRadius1 { border-radius: 0 0 10px 10px; } 7 #borderRadius1 { border-radius: 0 0 10px 10px; }
8 #borderRadius2 { border-radius: 0 0 0 10px; } 8 #borderRadius2 { border-radius: 0 0 0 10px; }
9 #borderRadius3 { border-radius: 0 0 10px; } 9 #borderRadius3 { border-radius: 0 0 10px; }
10 #borderRadius4 { border-radius: 0 10px; } 10 #borderRadius4 { border-radius: 0 10px; }
(...skipping 12 matching lines...) Expand all
23 description('Test calling getPropertyValue on computed styles for border radius shorthand properties.'); 23 description('Test calling getPropertyValue on computed styles for border radius shorthand properties.');
24 24
25 shouldBe("window.getComputedStyle(document.getElementById('borderRadius1')).getP ropertyValue('border-radius')", "'0px 0px 10px 10px'"); 25 shouldBe("window.getComputedStyle(document.getElementById('borderRadius1')).getP ropertyValue('border-radius')", "'0px 0px 10px 10px'");
26 shouldBe("window.getComputedStyle(document.getElementById('borderRadius2')).getP ropertyValue('border-radius')", "'0px 0px 0px 10px'"); 26 shouldBe("window.getComputedStyle(document.getElementById('borderRadius2')).getP ropertyValue('border-radius')", "'0px 0px 0px 10px'");
27 shouldBe("window.getComputedStyle(document.getElementById('borderRadius3')).getP ropertyValue('border-radius')", "'0px 0px 10px'"); 27 shouldBe("window.getComputedStyle(document.getElementById('borderRadius3')).getP ropertyValue('border-radius')", "'0px 0px 10px'");
28 shouldBe("window.getComputedStyle(document.getElementById('borderRadius4')).getP ropertyValue('border-radius')", "'0px 10px'"); 28 shouldBe("window.getComputedStyle(document.getElementById('borderRadius4')).getP ropertyValue('border-radius')", "'0px 10px'");
29 shouldBe("window.getComputedStyle(document.getElementById('borderRadius5')).getP ropertyValue('border-radius')", "'10px'"); 29 shouldBe("window.getComputedStyle(document.getElementById('borderRadius5')).getP ropertyValue('border-radius')", "'10px'");
30 shouldBe("window.getComputedStyle(document.getElementById('NoBorderRadius')).get PropertyValue('border-radius')", "'0px'"); 30 shouldBe("window.getComputedStyle(document.getElementById('NoBorderRadius')).get PropertyValue('border-radius')", "'0px'");
31 </script> 31 </script>
32 </body> 32 </body>
33 <script src="../../js/resources/js-test-post.js"></script>
34 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698