upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / editing / execCommand / query-format-block-expected.txt
1 Tests queryCommandValue('formatBlock')
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
4
5
6 Basic cases
7 PASS queryCommand('formatBlock') returned "" selecting none of "hello"
8 PASS queryCommand('formatBlock') returned "" selecting first position of "hello"
9 PASS queryCommand('formatBlock') returned "" selecting first position of "<div contenteditable="false"><h1 contenteditable>hello</h1></div>"
10 PASS queryCommand('formatBlock') returned "" selecting first position of "<h1 contenteditable="false"><span contenteditable>hello</span></h1>"
11 PASS queryCommand('formatBlock') returned "" selecting first position of "<div><h1 contenteditable="false"><span contenteditable>hello</span></h1></div>"
12 PASS queryCommand('formatBlock') returned "" selecting first position of "<div><header contenteditable="false"><h1 contenteditable>hello</h1></header></div>"
13 PASS queryCommand('formatBlock') returned "" selecting first position of "<a>hello</a>"
14 PASS queryCommand('formatBlock') returned "" selecting first position of "<abbr>hello</abbr>"
15 PASS queryCommand('formatBlock') returned "" selecting first position of "<acronym>hello</acronym>"
16 PASS queryCommand('formatBlock') returned "" selecting first position of "<b>hello</b>"
17 PASS queryCommand('formatBlock') returned "" selecting first position of "<bdo>hello</bdo>"
18 PASS queryCommand('formatBlock') returned "" selecting first position of "<big>hello</big>"
19 PASS queryCommand('formatBlock') returned "" selecting first position of "<button>hello</button>"
20 PASS queryCommand('formatBlock') returned "" selecting first position of "<caption>hello</caption>"
21 PASS queryCommand('formatBlock') returned "" selecting first position of "<center>hello</center>"
22 PASS queryCommand('formatBlock') returned "" selecting first position of "<cite>hello</cite>"
23 PASS queryCommand('formatBlock') returned "" selecting first position of "<code>hello</code>"
24 PASS queryCommand('formatBlock') returned "" selecting first position of "<del>hello</del>"
25 PASS queryCommand('formatBlock') returned "" selecting first position of "<dfn>hello</dfn>"
26 PASS queryCommand('formatBlock') returned "" selecting first position of "<dir>hello</dir>"
27 PASS queryCommand('formatBlock') returned "" selecting first position of "<em>hello</em>"
28 PASS queryCommand('formatBlock') returned "" selecting first position of "<form><fieldset>hello</fieldset></form>"
29 PASS queryCommand('formatBlock') returned "" selecting first position of "<font>hello</font>"
30 PASS queryCommand('formatBlock') returned "" selecting first position of "<form>hello</form>"
31 PASS queryCommand('formatBlock') returned "" selecting first position of "<i>hello</i>"
32 PASS queryCommand('formatBlock') returned "" selecting first position of "<kbd>hello</kbd>"
33 PASS queryCommand('formatBlock') returned "" selecting first position of "<label>hello</label>"
34 PASS queryCommand('formatBlock') returned "" selecting first position of "<legend>hello</legend>"
35 PASS queryCommand('formatBlock') returned "" selecting first position of "<ul><li>hello<li></ul>"
36 PASS queryCommand('formatBlock') returned "" selecting first position of "<menu>hello</menu>"
37 PASS queryCommand('formatBlock') returned "" selecting first position of "<ol>hello</ol>"
38 PASS queryCommand('formatBlock') returned "" selecting first position of "<q>hello</q>"
39 PASS queryCommand('formatBlock') returned "" selecting first position of "<s>hello</s>"
40 PASS queryCommand('formatBlock') returned "" selecting first position of "<samp>hello</samp>"
41 PASS queryCommand('formatBlock') returned "" selecting first position of "<small>hello</small>"
42 PASS queryCommand('formatBlock') returned "" selecting first position of "<span>hello</span>"
43 PASS queryCommand('formatBlock') returned "" selecting first position of "<strike>hello</strike>"
44 PASS queryCommand('formatBlock') returned "" selecting first position of "<strong>hello</strong>"
45 PASS queryCommand('formatBlock') returned "" selecting first position of "<sub>hello</sub>"
46 PASS queryCommand('formatBlock') returned "" selecting first position of "<sup>hello</sup>"
47 PASS queryCommand('formatBlock') returned "" selecting first position of "<table><td>hello</td></table>"
48 PASS queryCommand('formatBlock') returned "" selecting first position of "<table><th>hello</th></table>"
49 PASS queryCommand('formatBlock') returned "" selecting first position of "<tt>hello</tt>"
50 PASS queryCommand('formatBlock') returned "" selecting first position of "<u>hello</u>"
51 PASS queryCommand('formatBlock') returned "" selecting first position of "<ul>hello</ul>"
52 PASS queryCommand('formatBlock') returned "" selecting first position of "<var>hello</var>"
53 PASS queryCommand('formatBlock') returned "address" selecting first position of "<address>hello</address>"
54 PASS queryCommand('formatBlock') returned "article" selecting first position of "<article>hello</article>"
55 PASS queryCommand('formatBlock') returned "aside" selecting first position of "<aside>hello</aside>"
56 PASS queryCommand('formatBlock') returned "blockquote" selecting first position of "<blockquote>hello</blockquote>"
57 PASS queryCommand('formatBlock') returned "dd" selecting first position of "<dd>hello</dd>"
58 PASS queryCommand('formatBlock') returned "dd" selecting first position of "<dl><dd>hello</dd></dl>"
59 PASS queryCommand('formatBlock') returned "div" selecting first position of "<div>hello</div>"
60 PASS queryCommand('formatBlock') returned "dl" selecting first position of "<dl>hello</dl>"
61 PASS queryCommand('formatBlock') returned "dt" selecting first position of "<dt>hello</dt>"
62 PASS queryCommand('formatBlock') returned "dt" selecting first position of "<dl><dt>hello</dt></dl>"
63 PASS queryCommand('formatBlock') returned "footer" selecting first position of "<footer>hello</footer>"
64 PASS queryCommand('formatBlock') returned "h1" selecting first position of "<h1>hello</h1>"
65 PASS queryCommand('formatBlock') returned "h2" selecting first position of "<h2>hello</h2>"
66 PASS queryCommand('formatBlock') returned "h3" selecting first position of "<h3>hello</h3>"
67 PASS queryCommand('formatBlock') returned "h4" selecting first position of "<h4>hello</h4>"
68 PASS queryCommand('formatBlock') returned "h5" selecting first position of "<h5>hello</h5>"
69 PASS queryCommand('formatBlock') returned "h6" selecting first position of "<h6>hello</h6>"
70 PASS queryCommand('formatBlock') returned "header" selecting first position of "<header>hello</header>"
71 PASS queryCommand('formatBlock') returned "hgroup" selecting first position of "<hgroup>hello</hgroup>"
72 PASS queryCommand('formatBlock') returned "nav" selecting first position of "<nav>hello</nav>"
73 PASS queryCommand('formatBlock') returned "p" selecting first position of "<p>hello</p>"
74 PASS queryCommand('formatBlock') returned "pre" selecting first position of "<pre>hello</pre>"
75 PASS queryCommand('formatBlock') returned "section" selecting first position of "<section>hello</section>"
76
77 Nested cases
78 PASS queryCommand('formatBlock') returned "h2" selecting first position of "<h1><h2>hello</h2></h1>"
79 PASS queryCommand('formatBlock') returned "address" selecting first position of "<h1><address>hello</address></h1>"
80 PASS queryCommand('formatBlock') returned "pre" selecting first position of "<pre>hello<p>world</p></pre>"
81 PASS queryCommand('formatBlock') returned "pre" selecting "llo wo" of "<pre>hello<p>world</p></pre>"
82 PASS queryCommand('formatBlock') returned "address" selecting "llo wo" of "<address><h1>hello</h1>world</address>"
83 PASS queryCommand('formatBlock') returned "" selecting "llo wo" of "<h1>hello</h1>world"
84 PASS successfullyParsed is true
85
86 TEST COMPLETE
87