blob: 8a8387410a19c6bdf9d2447a27ba2c811e480f72 [file] [log] [blame]
This is a testharness.js-based test.
Found 370 tests; 347 PASS, 23 FAIL, 0 TIMEOUT, 0 NOTRUN.
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandIndeterm("stylewithcss") after
FAIL [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandState("stylewithcss") after assert_equals: Wrong result returned expected false but got true
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandValue("stylewithcss") after
FAIL [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandIndeterm("fontsize") before assert_equals: Wrong result returned expected true but got false
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandState("fontsize") after
FAIL [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>b]az" queryCommandValue("fontsize") after assert_equals: Wrong result returned expected "4" but got "2"
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" checks for modifications to non-editable content
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" compare innerHTML
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("stylewithcss") before
FAIL [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("stylewithcss") before assert_equals: Wrong result returned expected false but got true
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("stylewithcss") after
FAIL [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("fontsize") before assert_equals: Wrong result returned expected true but got false
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" checks for modifications to non-editable content
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" compare innerHTML
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("stylewithcss") after
FAIL [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("fontsize") before assert_equals: Wrong result returned expected true but got false
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "fo[o<font size=2>bar</font>b]az" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo<font size=\"2\"><span style=\"font-size:large\">b</span>ar</font>baz" but got "foo<span style=\"font-size:large\">b</span><font size=\"2\">ar</font>baz"
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo<font size=\"2\"><font size=\"4\">b</font>ar</font>baz" but got "foo<font size=\"4\">b</font><font size=\"2\">ar</font>baz"
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>b]ar</font>baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo<font size=\"2\">ba<span style=\"font-size:large\">r</span></font>baz" but got "foo<font size=\"2\">ba</font><span style=\"font-size:large\">r</span>baz"
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "foo<font size=\"2\">ba<font size=\"4\">r</font></font>baz" but got "foo<font size=\"2\">ba</font><font size=\"4\">r</font>baz"
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>ba[r</font>]baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" checks for modifications to non-editable content
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" compare innerHTML
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" checks for modifications to non-editable content
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" compare innerHTML
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo[<font size=2>bar</font>]baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" checks for modifications to non-editable content
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" compare innerHTML
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" checks for modifications to non-editable content
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" compare innerHTML
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo<font size=2>[bar]</font>baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" checks for modifications to non-editable content
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" compare innerHTML
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" checks for modifications to non-editable content
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" compare innerHTML
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "foo{<font size=2>bar</font>}baz" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"1\">fo<span style=\"font-size:large\">o</span></font><span style=\"font-size:xx-small\"><span style=\"font-size:large\">b</span>ar</span>" but got "<font size=\"1\">fo</font><span style=\"font-size:large\">ob</span><span style=\"font-size:xx-small\">ar</span>"
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("stylewithcss") after
FAIL [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("fontsize") before assert_equals: Wrong result returned expected true but got false
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"1\">fo<font size=\"4\">o</font></font><span style=\"font-size:xx-small\"><font size=\"4\">b</font>ar</span>" but got "<font size=\"1\">fo</font><font size=\"4\">ob</font><span style=\"font-size:xx-small\">ar</span>"
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("stylewithcss") after
FAIL [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("fontsize") before assert_equals: Wrong result returned expected true but got false
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=1>fo[o</font><span style=font-size:xx-small>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"2\">fo<span style=\"font-size:large\">o</span></font><span style=\"font-size:small\"><span style=\"font-size:large\">b</span>ar</span>" but got "<font size=\"2\">fo</font><span style=\"font-size:large\">ob</span><span style=\"font-size:small\">ar</span>"
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"2\">fo<font size=\"4\">o</font></font><span style=\"font-size:small\"><font size=\"4\">b</font>ar</span>" but got "<font size=\"2\">fo</font><font size=\"4\">ob</font><span style=\"font-size:small\">ar</span>"
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=2>fo[o</font><span style=font-size:small>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"3\">fo<span style=\"font-size:large\">o</span></font><span style=\"font-size:medium\"><span style=\"font-size:large\">b</span>ar</span>" but got "<font size=\"3\">fo</font><span style=\"font-size:large\">ob</span><span style=\"font-size:medium\">ar</span>"
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"3\">fo<font size=\"4\">o</font></font><span style=\"font-size:medium\"><font size=\"4\">b</font>ar</span>" but got "<font size=\"3\">fo</font><font size=\"4\">ob</font><span style=\"font-size:medium\">ar</span>"
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=3>fo[o</font><span style=font-size:medium>b]ar</span>" queryCommandValue("fontsize") after
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" checks for modifications to non-editable content
FAIL [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"4\">foo</font><span style=\"font-size:large\">bar</span>" but got "<font size=\"4\">foob</font><span style=\"font-size:large\">ar</span>"
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" queryCommandState("fontsize") before
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" queryCommandValue("fontsize") before
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" queryCommandState("fontsize") after
PASS [["fontsize","4"]] "<font size=4>fo[o</font><span style=font-size:large>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"5\">fo<span style=\"font-size:large\">o</span></font><span style=\"font-size:x-large\"><span style=\"font-size:large\">b</span>ar</span>" but got "<font size=\"5\">fo</font><span style=\"font-size:large\">ob</span><span style=\"font-size:x-large\">ar</span>"
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"5\">fo<font size=\"4\">o</font></font><span style=\"font-size:x-large\"><font size=\"4\">b</font>ar</span>" but got "<font size=\"5\">fo</font><font size=\"4\">ob</font><span style=\"font-size:x-large\">ar</span>"
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=5>fo[o</font><span style=font-size:x-large>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>": execCommand("stylewithcss", false, "true") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"6\">fo<span style=\"font-size:large\">o</span></font><span style=\"font-size:xx-large\"><span style=\"font-size:large\">b</span>ar</span>" but got "<font size=\"6\">fo</font><span style=\"font-size:large\">ob</span><span style=\"font-size:xx-large\">ar</span>"
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","true"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>": execCommand("stylewithcss", false, "false") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>": execCommand("fontsize", false, "4") return value
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" checks for modifications to non-editable content
FAIL [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" compare innerHTML assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<font size=\"6\">fo<font size=\"4\">o</font></font><span style=\"font-size:xx-large\"><font size=\"4\">b</font>ar</span>" but got "<font size=\"6\">fo</font><font size=\"4\">ob</font><span style=\"font-size:xx-large\">ar</span>"
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("stylewithcss") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("stylewithcss") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("fontsize") before
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandIndeterm("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandState("fontsize") after
PASS [["stylewithcss","false"],["fontsize","4"]] "<font size=6>fo[o</font><span style=font-size:xx-large>b]ar</span>" queryCommandValue("fontsize") after
Harness: the test ran to completion.