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

Side by Side Diff: LayoutTests/fast/css/parsing-text-emphasis.html

Issue 973623002: Fix serialization of content property to always quote (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Add another method Created 5 years, 9 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 <pre id="console"></pre> 1 <pre id="console"></pre>
2 <script> 2 <script>
3 if (window.testRunner) 3 if (window.testRunner)
4 testRunner.dumpAsText(); 4 testRunner.dumpAsText();
5 5
6 function log(message) 6 function log(message)
7 { 7 {
8 document.getElementById("console").appendChild(document.createTextNode(m essage + "\n")); 8 document.getElementById("console").appendChild(document.createTextNode(m essage + "\n"));
9 } 9 }
10 10
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 test('-webkit-text-emphasis-style: initial;', '', '', 'initial'); 46 test('-webkit-text-emphasis-style: initial;', '', '', 'initial');
47 test('-webkit-text-emphasis-style: inherit;', '', '', 'inherit'); 47 test('-webkit-text-emphasis-style: inherit;', '', '', 'inherit');
48 test('-webkit-text-emphasis-style: none;', '', '', 'none'); 48 test('-webkit-text-emphasis-style: none;', '', '', 'none');
49 test('-webkit-text-emphasis-style: filled;', '', '', 'filled'); 49 test('-webkit-text-emphasis-style: filled;', '', '', 'filled');
50 test('-webkit-text-emphasis-style: open;', '', '', 'open'); 50 test('-webkit-text-emphasis-style: open;', '', '', 'open');
51 test('-webkit-text-emphasis-style: dot;', '', '', 'dot'); 51 test('-webkit-text-emphasis-style: dot;', '', '', 'dot');
52 test('-webkit-text-emphasis-style: circle;', '', '', 'circle'); 52 test('-webkit-text-emphasis-style: circle;', '', '', 'circle');
53 test('-webkit-text-emphasis-style: double-circle;', '', '', 'double-circle') ; 53 test('-webkit-text-emphasis-style: double-circle;', '', '', 'double-circle') ;
54 test('-webkit-text-emphasis-style: triangle;', '', '', 'triangle'); 54 test('-webkit-text-emphasis-style: triangle;', '', '', 'triangle');
55 test('-webkit-text-emphasis-style: sesame;', '', '', 'sesame'); 55 test('-webkit-text-emphasis-style: sesame;', '', '', 'sesame');
56 test('-webkit-text-emphasis-style: "cheese";', '', '', 'cheese'); 56 test('-webkit-text-emphasis-style: "cheese";', '', '', "'cheese'");
57 test('-webkit-text-emphasis-style: 1px;', '', '', ''); 57 test('-webkit-text-emphasis-style: 1px;', '', '', '');
58 test('-webkit-text-emphasis-style: red;', '', '', ''); 58 test('-webkit-text-emphasis-style: red;', '', '', '');
59 59
60 test('-webkit-text-emphasis-style: open dot;', '', '', 'open dot'); 60 test('-webkit-text-emphasis-style: open dot;', '', '', 'open dot');
61 test('-webkit-text-emphasis-style: dot open;', '', '', 'open dot'); 61 test('-webkit-text-emphasis-style: dot open;', '', '', 'open dot');
62 test('-webkit-text-emphasis-style: dot dot;', '', '', ''); 62 test('-webkit-text-emphasis-style: dot dot;', '', '', '');
63 test('-webkit-text-emphasis-style: open open;', '', '', ''); 63 test('-webkit-text-emphasis-style: open open;', '', '', '');
64 test('-webkit-text-emphasis-style: none open;', '', '', ''); 64 test('-webkit-text-emphasis-style: none open;', '', '', '');
65 test('-webkit-text-emphasis-style: none none;', '', '', ''); 65 test('-webkit-text-emphasis-style: none none;', '', '', '');
66 test('-webkit-text-emphasis-style: "cheese" open;', '', '', ''); 66 test('-webkit-text-emphasis-style: "cheese" open;', '', '', '');
67 test('-webkit-text-emphasis-style: open "cheese";', '', '', ''); 67 test('-webkit-text-emphasis-style: open "cheese";', '', '', '');
68 68
69 log(""); 69 log("");
70 test('-webkit-text-emphasis: initial', 'initial', '', 'initial', 'initial'); 70 test('-webkit-text-emphasis: initial', 'initial', '', 'initial', 'initial');
71 test('-webkit-text-emphasis: inherit', 'inherit', '', 'inherit', 'inherit'); 71 test('-webkit-text-emphasis: inherit', 'inherit', '', 'inherit', 'inherit');
72 test('-webkit-text-emphasis: red', 'red', '', 'initial', 'red'); 72 test('-webkit-text-emphasis: red', 'red', '', 'initial', 'red');
73 test('-webkit-text-emphasis: "cheese"', 'initial', '', 'cheese', 'cheese'); 73 test('-webkit-text-emphasis: "cheese"', 'initial', '', "'cheese'", "'cheese' ");
74 test('-webkit-text-emphasis: red "cheese"', 'red', '', 'cheese', 'cheese red '); 74 test('-webkit-text-emphasis: red "cheese"', 'red', '', "'cheese'", "'cheese' red");
75 test('-webkit-text-emphasis: "cheese" red', 'red', '', 'cheese', 'cheese red '); 75 test('-webkit-text-emphasis: "cheese" red', 'red', '', "'cheese'", "'cheese' red");
76 test('-webkit-text-emphasis: filled sesame red', 'red', '', 'filled sesame', 'filled sesame red'); 76 test('-webkit-text-emphasis: filled sesame red', 'red', '', 'filled sesame', 'filled sesame red');
77 test('-webkit-text-emphasis: red filled sesame', 'red', '', 'filled sesame', 'filled sesame red'); 77 test('-webkit-text-emphasis: red filled sesame', 'red', '', 'filled sesame', 'filled sesame red');
78 test('-webkit-text-emphasis: filled red sesame', '', '', ''); 78 test('-webkit-text-emphasis: filled red sesame', '', '', '');
79 test('-webkit-text-emphasis: red sesame filled', 'red', '', 'filled sesame', 'filled sesame red'); 79 test('-webkit-text-emphasis: red sesame filled', 'red', '', 'filled sesame', 'filled sesame red');
80 test('-webkit-text-emphasis: sesame filled red', 'red', '', 'filled sesame', 'filled sesame red'); 80 test('-webkit-text-emphasis: sesame filled red', 'red', '', 'filled sesame', 'filled sesame red');
81 </script> 81 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698