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

Side by Side Diff: LayoutTests/fast/css/getPropertyValue-border.html

Issue 1274643002: CSSStyleDeclaraction returns empty string (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Removed changes from imported/csswg-test Created 5 years, 4 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
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <title>currentColor basic test</title> 4 <title>currentColor basic test</title>
5 <style type="text/css"> 5 <style type="text/css">
6 .test { 6 .test {
7 display: inline-block; 7 display: inline-block;
8 height: 5em; 8 height: 5em;
9 width: 10em; 9 width: 10em;
10 text-align: center; 10 text-align: center;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 shouldBe('div5.style.getPropertyValue("border")', "'green'"); 49 shouldBe('div5.style.getPropertyValue("border")', "'green'");
50 debug(" NOTE: 'green' is an illegal CSS value for 'border'."); 50 debug(" NOTE: 'green' is an illegal CSS value for 'border'.");
51 51
52 var div6 = document.getElementById("border6"); 52 var div6 = document.getElementById("border6");
53 shouldBe('div6.style.getPropertyValue("border")', "'5px'"); 53 shouldBe('div6.style.getPropertyValue("border")', "'5px'");
54 54
55 var div7 = document.getElementById("border7"); 55 var div7 = document.getElementById("border7");
56 shouldBe('div7.style.getPropertyValue("border")', "'solid'"); 56 shouldBe('div7.style.getPropertyValue("border")', "'solid'");
57 57
58 var div8 = document.getElementById("border8"); 58 var div8 = document.getElementById("border8");
59 shouldBe('div8.style.getPropertyValue("border")', "null"); 59 shouldBeEqualToString('div8.style.getPropertyValue("border")', "");
60 60
61 var div9 = document.getElementById("border9"); 61 var div9 = document.getElementById("border9");
62 shouldBe('div9.style.getPropertyValue("border")', "null"); 62 shouldBeEqualToString('div9.style.getPropertyValue("border")', "");
63 </script> 63 </script>
64 </body> 64 </body>
65 </html> 65 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698