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

Side by Side Diff: LayoutTests/editing/execCommand/query-command-state-expected.txt

Issue 14930006: Ctrl+Shift+Right in Windows should select the spacing after the word (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added expectations for chromium-mac for delete-cell-contents-win.html Created 7 years, 7 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 Test to make sure queryCommandState returns correct values. 1 Test to make sure queryCommandState returns correct values.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 Tests for win 6 Tests for win
7 PASS queryCommandState("bold") returns false when selecting all of "hello" 7 PASS queryCommandState("bold") returns false when selecting all of "hello"
8 PASS queryCommandState("bold") returns false when selecting all of "<i>hello</i> " 8 PASS queryCommandState("bold") returns false when selecting all of "<i>hello</i> "
9 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b>" 9 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b>"
10 PASS queryCommandState("bold") returns false when selecting all of "hello <b>wor ld</b>" 10 PASS queryCommandState("bold") returns false when selecting all of "hello <b>wor ld</b>"
11 PASS queryCommandState("bold") returns false when selecting all of "<b>hello</b> world" 11 PASS queryCommandState("bold") returns false when selecting all of "<b>hello</b> world"
12 PASS queryCommandState("bold") returns true when selecting second word of "hello <b>world</b> WebKit" 12 PASS queryCommandState("bold") returns false when selecting second word of "hell o <b>world</b> WebKit"
13 PASS queryCommandState("bold") returns false when selecting second word of "<b>h ello</b> world <b>WebKit</b>" 13 PASS queryCommandState("bold") returns false when selecting second word of "<b>h ello</b> world <b>WebKit</b>"
14 PASS queryCommandState("bold") returns true when selecting second word of "<i>he llo <b>hello</b> WebKit</i>" 14 PASS queryCommandState("bold") returns false when selecting second word of "<i>h ello <b>hello</b> WebKit</i>"
15 PASS queryCommandState("bold") returns true when selecting second word of "<b>he llo <i>hello</i> WebKit</b>" 15 PASS queryCommandState("bold") returns true when selecting second word of "<b>he llo <i>hello</i> WebKit</b>"
16 PASS queryCommandState("bold") returns true when selecting second word of "<b><d iv>hello <i>hello</i> WebKit</div></b>" 16 PASS queryCommandState("bold") returns true when selecting second word of "<b><d iv>hello <i>hello</i> WebKit</div></b>"
17 PASS queryCommandState("bold") returns false when selecting all of "<b style="fo nt-weight: normal;">hello</b>" 17 PASS queryCommandState("bold") returns false when selecting all of "<b style="fo nt-weight: normal;">hello</b>"
18 PASS queryCommandState("bold") returns true when selecting all of "<i style="fon t-weight: bold;">hello</i>" 18 PASS queryCommandState("bold") returns true when selecting all of "<i style="fon t-weight: bold;">hello</i>"
19 PASS queryCommandState("bold") returns false when selecting all of "<b>hello</b> world <b>WebKit</b>" 19 PASS queryCommandState("bold") returns false when selecting all of "<b>hello</b> world <b>WebKit</b>"
20 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b>< b> world</b>" 20 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b>< b> world</b>"
21 PASS queryCommandState("bold") returns true when selecting all of "<div><b>hello </b></div><p><b> WebKit</b></p>" 21 PASS queryCommandState("bold") returns true when selecting all of "<div><b>hello </b></div><p><b> WebKit</b></p>"
22 PASS queryCommandState("italic") returns false when selecting all of "hello" 22 PASS queryCommandState("italic") returns false when selecting all of "hello"
23 PASS queryCommandState("italic") returns false when selecting all of "<b>hello</ b>" 23 PASS queryCommandState("italic") returns false when selecting all of "<b>hello</ b>"
24 PASS queryCommandState("italic") returns true when selecting all of "<i>hello</i >" 24 PASS queryCommandState("italic") returns true when selecting all of "<i>hello</i >"
25 PASS queryCommandState("italic") returns false when selecting all of "<i>hello</ i> world" 25 PASS queryCommandState("italic") returns false when selecting all of "<i>hello</ i> world"
26 PASS queryCommandState("italic") returns false when selecting all of "hello <i>w orld</i>" 26 PASS queryCommandState("italic") returns false when selecting all of "hello <i>w orld</i>"
27 PASS queryCommandState("italic") returns true when selecting all of "<i><div>hel lo world</div></i>" 27 PASS queryCommandState("italic") returns true when selecting all of "<i><div>hel lo world</div></i>"
28 PASS queryCommandState("italic") returns false when selecting all of "<div style ="font-style: italic">hello <span style="font-style: normal;">hello</span></div> " 28 PASS queryCommandState("italic") returns false when selecting all of "<div style ="font-style: italic">hello <span style="font-style: normal;">hello</span></div> "
29 PASS queryCommandState("subscript") returns false when selecting all of "hello" 29 PASS queryCommandState("subscript") returns false when selecting all of "hello"
30 PASS queryCommandState("subscript") returns false when selecting all of "<sup>he llo</sup>" 30 PASS queryCommandState("subscript") returns false when selecting all of "<sup>he llo</sup>"
31 PASS queryCommandState("subscript") returns true when selecting all of "<sub>hel lo</sub>" 31 PASS queryCommandState("subscript") returns true when selecting all of "<sub>hel lo</sub>"
32 PASS queryCommandState("subscript") returns false when selecting all of "<sub>he llo</sub> world" 32 PASS queryCommandState("subscript") returns false when selecting all of "<sub>he llo</sub> world"
33 PASS queryCommandState("subscript") returns false when selecting all of "hello < sub>world</sub>" 33 PASS queryCommandState("subscript") returns false when selecting all of "hello < sub>world</sub>"
34 PASS queryCommandState("subscript") returns true when selecting all of "<div sty le="vertical-align: sub;">hello world</div>" 34 PASS queryCommandState("subscript") returns true when selecting all of "<div sty le="vertical-align: sub;">hello world</div>"
35 PASS queryCommandState("subscript") returns true when selecting second word of " hello <span style="vertical-align: sub;">world</span> WebKit" 35 PASS queryCommandState("subscript") returns false when selecting second word of "hello <span style="vertical-align: sub;">world</span> WebKit"
36 PASS queryCommandState("superscript") returns false when selecting all of "hello " 36 PASS queryCommandState("superscript") returns false when selecting all of "hello "
37 PASS queryCommandState("superscript") returns false when selecting all of "<sub> hello</sub>" 37 PASS queryCommandState("superscript") returns false when selecting all of "<sub> hello</sub>"
38 PASS queryCommandState("superscript") returns true when selecting all of "<sup>h ello</sup>" 38 PASS queryCommandState("superscript") returns true when selecting all of "<sup>h ello</sup>"
39 PASS queryCommandState("superscript") returns false when selecting all of "<sup> hello</sup> world" 39 PASS queryCommandState("superscript") returns false when selecting all of "<sup> hello</sup> world"
40 PASS queryCommandState("superscript") returns false when selecting all of "hello <sup>world</sup>" 40 PASS queryCommandState("superscript") returns false when selecting all of "hello <sup>world</sup>"
41 PASS queryCommandState("superscript") returns false when selecting all of "<span style="vertical-align: super;">hello</span><span style="vertical-align: sub;">w orld</span>" 41 PASS queryCommandState("superscript") returns false when selecting all of "<span style="vertical-align: super;">hello</span><span style="vertical-align: sub;">w orld</span>"
42 PASS queryCommandState("superscript") returns false when selecting all of "hello <span style="vertical-align: super;">world</span>" 42 PASS queryCommandState("superscript") returns false when selecting all of "hello <span style="vertical-align: super;">world</span>"
43 PASS queryCommandState("underline") returns false when selecting all of "hello" 43 PASS queryCommandState("underline") returns false when selecting all of "hello"
44 PASS queryCommandState("underline") returns false when selecting all of "<s>hell o</s>" 44 PASS queryCommandState("underline") returns false when selecting all of "<s>hell o</s>"
45 PASS queryCommandState("underline") returns true when selecting all of "<u>hello </u>" 45 PASS queryCommandState("underline") returns true when selecting all of "<u>hello </u>"
46 PASS queryCommandState("underline") returns false when selecting all of "<u>hell o</u> world" 46 PASS queryCommandState("underline") returns false when selecting all of "<u>hell o</u> world"
47 PASS queryCommandState("underline") returns false when selecting all of "hello < u>world</u>" 47 PASS queryCommandState("underline") returns false when selecting all of "hello < u>world</u>"
48 PASS queryCommandState("underline") returns true when selecting all of "<u><div> hello world</div></u>" 48 PASS queryCommandState("underline") returns true when selecting all of "<u><div> hello world</div></u>"
49 PASS queryCommandState("underline") returns true when selecting second word of " <u><s><div>hello world WebKit</div></s></u>" 49 PASS queryCommandState("underline") returns true when selecting second word of " <u><s><div>hello world WebKit</div></s></u>"
50 PASS queryCommandState("underline") returns false when selecting second word of "<s><u>hello</u> world</s> WebKit" 50 PASS queryCommandState("underline") returns false when selecting second word of "<s><u>hello</u> world</s> WebKit"
51 PASS queryCommandState("underline") returns true when selecting second word of " <u><s>hello</s> world</u> WebKit" 51 PASS queryCommandState("underline") returns false when selecting second word of "<u><s>hello</s> world</u> WebKit"
52 PASS queryCommandState("underline") returns true when selecting second word of " <s>hello <u>world</s> WebKit</u>" 52 PASS queryCommandState("underline") returns true when selecting second word of " <s>hello <u>world</s> WebKit</u>"
53 PASS queryCommandState("strikeThrough") returns false when selecting all of "hel lo" 53 PASS queryCommandState("strikeThrough") returns false when selecting all of "hel lo"
54 PASS queryCommandState("strikeThrough") returns false when selecting all of "<u> hello</u>" 54 PASS queryCommandState("strikeThrough") returns false when selecting all of "<u> hello</u>"
55 PASS queryCommandState("strikeThrough") returns true when selecting all of "<s>h ello</s>" 55 PASS queryCommandState("strikeThrough") returns true when selecting all of "<s>h ello</s>"
56 PASS queryCommandState("strikeThrough") returns false when selecting all of "<s> hello</s> world" 56 PASS queryCommandState("strikeThrough") returns false when selecting all of "<s> hello</s> world"
57 PASS queryCommandState("strikeThrough") returns false when selecting all of "hel lo <s>world</s>" 57 PASS queryCommandState("strikeThrough") returns false when selecting all of "hel lo <s>world</s>"
58 PASS queryCommandState("strikeThrough") returns true when selecting all of "<s>< div>hello world</div></s>" 58 PASS queryCommandState("strikeThrough") returns true when selecting all of "<s>< div>hello world</div></s>"
59 PASS queryCommandState("strikeThrough") returns true when selecting second word of "<s><u><div>hello world WebKit</div></u></s>" 59 PASS queryCommandState("strikeThrough") returns true when selecting second word of "<s><u><div>hello world WebKit</div></u></s>"
60 PASS queryCommandState("strikeThrough") returns false when selecting second word of "<u><s>hello</s> world</u> WebKit" 60 PASS queryCommandState("strikeThrough") returns false when selecting second word of "<u><s>hello</s> world</u> WebKit"
61 PASS queryCommandState("strikeThrough") returns true when selecting second word of "hello <s>world WebKit</s>" 61 PASS queryCommandState("strikeThrough") returns true when selecting second word of "hello <s>world WebKit</s>"
62 PASS queryCommandState("strikeThrough") returns false when selecting first two w ords of "hello <s>world WebKit</s>" 62 PASS queryCommandState("strikeThrough") returns true when selecting first two wo rds of "hello <s>world WebKit</s>"
63 63
64 Tests for mac 64 Tests for mac
65 PASS queryCommandState("bold") returns false when selecting all of "hello" 65 PASS queryCommandState("bold") returns false when selecting all of "hello"
66 PASS queryCommandState("bold") returns false when selecting all of "<i>hello</i> " 66 PASS queryCommandState("bold") returns false when selecting all of "<i>hello</i> "
67 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b>" 67 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b>"
68 PASS queryCommandState("bold") returns false when selecting all of "hello <b>wor ld</b>" 68 PASS queryCommandState("bold") returns false when selecting all of "hello <b>wor ld</b>"
69 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b> world" 69 PASS queryCommandState("bold") returns true when selecting all of "<b>hello</b> world"
70 PASS queryCommandState("bold") returns true when selecting second word of "hello <b>world</b> WebKit" 70 PASS queryCommandState("bold") returns true when selecting second word of "hello <b>world</b> WebKit"
71 PASS queryCommandState("bold") returns false when selecting second word of "<b>h ello</b> world <b>WebKit</b>" 71 PASS queryCommandState("bold") returns false when selecting second word of "<b>h ello</b> world <b>WebKit</b>"
72 PASS queryCommandState("bold") returns true when selecting second word of "<i>he llo <b>hello</b> WebKit</i>" 72 PASS queryCommandState("bold") returns true when selecting second word of "<i>he llo <b>hello</b> WebKit</i>"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
115 PASS queryCommandState("strikeThrough") returns false when selecting all of "hel lo <s>world</s>" 115 PASS queryCommandState("strikeThrough") returns false when selecting all of "hel lo <s>world</s>"
116 PASS queryCommandState("strikeThrough") returns true when selecting all of "<s>< div>hello world</div></s>" 116 PASS queryCommandState("strikeThrough") returns true when selecting all of "<s>< div>hello world</div></s>"
117 PASS queryCommandState("strikeThrough") returns true when selecting second word of "<s><u><div>hello world WebKit</div></u></s>" 117 PASS queryCommandState("strikeThrough") returns true when selecting second word of "<s><u><div>hello world WebKit</div></u></s>"
118 PASS queryCommandState("strikeThrough") returns false when selecting second word of "<u><s>hello</s> world</u> WebKit" 118 PASS queryCommandState("strikeThrough") returns false when selecting second word of "<u><s>hello</s> world</u> WebKit"
119 PASS queryCommandState("strikeThrough") returns true when selecting second word of "hello <s>world WebKit</s>" 119 PASS queryCommandState("strikeThrough") returns true when selecting second word of "hello <s>world WebKit</s>"
120 PASS queryCommandState("strikeThrough") returns false when selecting first two w ords of "hello <s>world WebKit</s>" 120 PASS queryCommandState("strikeThrough") returns false when selecting first two w ords of "hello <s>world WebKit</s>"
121 PASS successfullyParsed is true 121 PASS successfullyParsed is true
122 122
123 TEST COMPLETE 123 TEST COMPLETE
124 hello world WebKit 124 hello world WebKit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698