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

Side by Side Diff: LayoutTests/fast/css/counters/content-021.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 PUBLIC "-//W3C//DTD HTML 4.01//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>WebKit's adaptation of http://test.csswg.org/suites/css2.1/20110111/htm l4/content-021.htm</title> 4 <title>WebKit's adaptation of http://test.csswg.org/suites/css2.1/20110111/htm l4/content-021.htm</title>
5 <link rel="originalAuthor" title="Microsoft" href="http://www.microsoft.com/"> 5 <link rel="originalAuthor" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-conten t"> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#propdef-conten t">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content">
8 <meta name="flags" content=""> 8 <meta name="flags" content="">
9 <meta name="assert" content="The 'content' property properly handles 9 <meta name="assert" content="The 'content' property properly handles
10 counter autonesting when anonymous renderers intervene between the 10 counter autonesting when anonymous renderers intervene between the
11 element and its :before descendant."> 11 element and its :before descendant.">
12 <style type="text/css"> 12 <style type="text/css">
13 #testView div:before { 13 #testView div:before {
14 content: counters(test, "."); 14 content: counters(test, ".");
15 counter-reset: test; 15 counter-reset: test;
16 } 16 }
17 #div1 { 17 #div1 {
18 border: 2px solid black; 18 border: 2px solid black;
19 } 19 }
20 </style> 20 </style>
21 <script src="../../js/resources/js-test-pre.js"></script> 21 <script src="../../../resources/js-test.js"></script>
22 <script type="text/javascript"> 22 <script type="text/javascript">
23 23
24 if (window.testRunner) 24 if (window.testRunner)
25 testRunner.dumpAsText(); 25 testRunner.dumpAsText();
26 26
27 function run() 27 function run()
28 { 28 {
29 if (!window.testRunner) 29 if (!window.testRunner)
30 return; 30 return;
31 shouldBe("window.internals.counterValue(document.getElementById('div1'))", "'0'"); 31 shouldBe("window.internals.counterValue(document.getElementById('div1'))", "'0'");
(...skipping 14 matching lines...) Expand all
46 Test: Content using a 'counters()' function with a string value</a>.</p> 46 Test: Content using a 'counters()' function with a string value</a>.</p>
47 <div id="testView"> 47 <div id="testView">
48 <p>Test passes if there are the numbers "0" and "0.0" in the box below.</p> 48 <p>Test passes if there are the numbers "0" and "0.0" in the box below.</p>
49 <div id="div1"> 49 <div id="div1">
50 <div id="div2"></div> 50 <div id="div2"></div>
51 </div> 51 </div>
52 </div> 52 </div>
53 <div id="console"></div> 53 <div id="console"></div>
54 </body> 54 </body>
55 </html> 55 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/counters/after-continuation.html ('k') | LayoutTests/fast/css/counters/counter-cssText.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698