Attachment #665378: Patch for bug #787432

View | Details | Raw Unified | Return to bug 787432
Collapse All | Expand All

(-)a/dom/imptests/failures/editing/conformancetest/Makefile.in (-8 / +10 lines)
Line     Link Here 
 Lines 1-18    Link Here 
1
DEPTH = @DEPTH@
1
# THIS FILE IS AUTOGENERATED BY parseFailures.py - DO NOT EDIT
2
2
3
topsrcdir = @top_srcdir@
3
DEPTH := @DEPTH@
4
srcdir = @srcdir@
5
VPATH = @srcdir@
6
relativesrcdir = @relativesrcdir@
7
4
8
DIRS = \
5
topsrcdir := @top_srcdir@
9
  $(NULL)
6
srcdir := @srcdir@
7
VPATH := @srcdir@
8
relativesrcdir := @relativesrcdir@
10
9
11
include $(DEPTH)/config/autoconf.mk
10
include $(DEPTH)/config/autoconf.mk
12
11
13
MOCHITEST_FILES = \
12
DIRS := \
13
  $(NULL)
14
15
MOCHITEST_FILES := \
14
  test_event.html.json \
16
  test_event.html.json \
15
  test_runtest.html.json \
17
  test_runtest.html.json \
16
  $(NULL)
18
  $(NULL)
17
19
18
include $(topsrcdir)/config/rules.mk
20
include $(topsrcdir)/config/rules.mk
(-)a/dom/imptests/failures/editing/conformancetest/test_runtest.html.json (-68 / +1 lines)
Line     Link Here 
 Lines 2364-2389    Link Here 
2364
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<h6>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2364
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<h6>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2365
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<h6>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2365
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<h6>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2366
  "[[\"formatblock\",\"<ins>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2366
  "[[\"formatblock\",\"<ins>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2367
  "[[\"formatblock\",\"<ins>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") after":true,
2367
  "[[\"formatblock\",\"<ins>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") after":true,
2368
  "[[\"formatblock\",\"<li>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2368
  "[[\"formatblock\",\"<li>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2369
  "[[\"formatblock\",\"<li>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") after":true,
2369
  "[[\"formatblock\",\"<li>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") after":true,
2370
  "[[\"formatblock\",\"<ol>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2370
  "[[\"formatblock\",\"<ol>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2371
  "[[\"formatblock\",\"<ol>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") after":true,
2371
  "[[\"formatblock\",\"<ol>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") after":true,
2372
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2373
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" compare innerHTML":true,
2374
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2375
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2376
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2377
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2378
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" compare innerHTML":true,
2379
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2380
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2381
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<p>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2382
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2372
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2383
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" compare innerHTML":true,
2373
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" compare innerHTML":true,
2384
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2374
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2385
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2375
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2386
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2376
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"formatblock\") before":true,
2387
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2377
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2388
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" compare innerHTML":true,
2378
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" compare innerHTML":true,
2389
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2379
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<pre>\"]] \"<div>[foobar]</div>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
 Lines 2404-2427    Link Here 
2404
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2394
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2405
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2395
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2406
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2396
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2407
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2397
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2408
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2398
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2409
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2399
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2410
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2400
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2411
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2401
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dd>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2412
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2413
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2414
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2415
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2416
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2417
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2418
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2419
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<div>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2420
  "[[\"formatblock\",\"<dl>\"]] \"<p>[foobar]</p>\": execCommand(\"formatblock\", false, \"<dl>\") return value":true,
2402
  "[[\"formatblock\",\"<dl>\"]] \"<p>[foobar]</p>\": execCommand(\"formatblock\", false, \"<dl>\") return value":true,
2421
  "[[\"formatblock\",\"<dl>\"]] \"<p>[foobar]</p>\" compare innerHTML":true,
2403
  "[[\"formatblock\",\"<dl>\"]] \"<p>[foobar]</p>\" compare innerHTML":true,
2422
  "[[\"formatblock\",\"<dl>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2404
  "[[\"formatblock\",\"<dl>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2423
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2405
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
2424
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2406
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
2425
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2407
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
2426
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2408
  "[[\"defaultparagraphseparator\",\"div\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\" queryCommandValue(\"formatblock\") after":true,
2427
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
2409
  "[[\"defaultparagraphseparator\",\"p\"],[\"formatblock\",\"<dt>\"]] \"<p>[foobar]</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
 Lines 3900-3921    Link Here 
3900
  "[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
3882
  "[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
3901
  "[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
3883
  "[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
3902
  "[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
3884
  "[[\"stylewithcss\",\"false\"],[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo<b>b[a]r</b>baz</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
3903
  "[[\"inserthorizontalrule\",\"\"]] \"<address>foo[bar]baz</address>\" compare innerHTML":true,
3885
  "[[\"inserthorizontalrule\",\"\"]] \"<address>foo[bar]baz</address>\" compare innerHTML":true,
3904
  "[[\"inserthorizontalrule\",\"\"]] \"<bdi>foo[bar]baz</bdi>\" compare innerHTML":true,
3886
  "[[\"inserthorizontalrule\",\"\"]] \"<bdi>foo[bar]baz</bdi>\" compare innerHTML":true,
3905
  "[[\"inserthorizontalrule\",\"\"]] \"<table><caption>foo[bar]baz</caption><tr><td>quz</table>\": execCommand(\"inserthorizontalrule\", false, \"\") return value":true,
3887
  "[[\"inserthorizontalrule\",\"\"]] \"<table><caption>foo[bar]baz</caption><tr><td>quz</table>\": execCommand(\"inserthorizontalrule\", false, \"\") return value":true,
3906
  "[[\"inserthorizontalrule\",\"\"]] \"<table><caption>foo[bar]baz</caption><tr><td>quz</table>\" compare innerHTML":true,
3888
  "[[\"inserthorizontalrule\",\"\"]] \"<table><caption>foo[bar]baz</caption><tr><td>quz</table>\" compare innerHTML":true,
3907
  "[[\"inserthorizontalrule\",\"\"]] \"<dl><dt>foo[bar]baz</dt></dl>\" compare innerHTML":true,
3889
  "[[\"inserthorizontalrule\",\"\"]] \"<dl><dt>foo[bar]baz</dt></dl>\" compare innerHTML":true,
3908
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo[bar]baz</p>\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
3909
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo[bar]baz</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
3910
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo[bar]baz</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
3911
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo[bar]baz</p>\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
3912
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo[bar]baz</p>\" queryCommandValue(\"defaultparagraphseparator\") before":true,
3913
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserthorizontalrule\",\"\"]] \"<p>foo[bar]baz</p>\" queryCommandValue(\"defaultparagraphseparator\") after":true,
3914
  "[[\"inserthorizontalrule\",\"\"]] \"<ruby>foo[bar]baz<rt>quz</rt></ruby>\" compare innerHTML":true,
3890
  "[[\"inserthorizontalrule\",\"\"]] \"<ruby>foo[bar]baz<rt>quz</rt></ruby>\" compare innerHTML":true,
3915
  "[[\"inserthorizontalrule\",\"\"]] \"<ruby>foo<rt>bar[baz]quz</rt></ruby>\" compare innerHTML":true,
3891
  "[[\"inserthorizontalrule\",\"\"]] \"<ruby>foo<rt>bar[baz]quz</rt></ruby>\" compare innerHTML":true,
3916
  "[[\"inserthorizontalrule\",\"\"]] \"<ruby>foo<rp>bar[baz]quz</rp><rt>qoz</rt><rp>qiz</rp></ruby>\" compare innerHTML":true,
3892
  "[[\"inserthorizontalrule\",\"\"]] \"<ruby>foo<rp>bar[baz]quz</rp><rt>qoz</rt><rp>qiz</rp></ruby>\" compare innerHTML":true,
3917
  "[[\"inserthorizontalrule\",\"\"]] \"fo[o<span contenteditable=false>bar</span>b]az\" compare innerHTML":true,
3893
  "[[\"inserthorizontalrule\",\"\"]] \"fo[o<span contenteditable=false>bar</span>b]az\" compare innerHTML":true,
3918
  "[[\"stylewithcss\",\"true\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
3894
  "[[\"stylewithcss\",\"true\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
3919
  "[[\"stylewithcss\",\"false\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
3895
  "[[\"stylewithcss\",\"false\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
3920
  "[[\"stylewithcss\",\"true\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
3896
  "[[\"stylewithcss\",\"true\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
3921
  "[[\"stylewithcss\",\"false\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
3897
  "[[\"stylewithcss\",\"false\"],[\"inserthtml\",\"ab<b>c</b>d\"]] \"{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
 Lines 6497-6553    Link Here 
6497
  "[[\"inserttext\",\" \"]] \"#@x[]\" compare innerHTML":true,
6473
  "[[\"inserttext\",\" \"]] \"#@x[]\" compare innerHTML":true,
6498
  "[[\"inserttext\",\" \"]] \"a@.[]\" compare innerHTML":true,
6474
  "[[\"inserttext\",\" \"]] \"a@.[]\" compare innerHTML":true,
6499
  "[[\"inserttext\",\" \"]] \"!\\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~a@b!\\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~[]\" compare innerHTML":true,
6475
  "[[\"inserttext\",\" \"]] \"!\\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~a@b!\\\"#$%&amp;'()*+,-./:;&lt;=>?^_`|~[]\" compare innerHTML":true,
6500
  "[[\"inserttext\",\" \"]] \"<b>a@b</b>{}\" compare innerHTML":true,
6476
  "[[\"inserttext\",\" \"]] \"<b>a@b</b>{}\" compare innerHTML":true,
6501
  "[[\"inserttext\",\" \"]] \"<b>a</b><i>@</i><u>b</u>{}\" compare innerHTML":true,
6477
  "[[\"inserttext\",\" \"]] \"<b>a</b><i>@</i><u>b</u>{}\" compare innerHTML":true,
6502
  "[[\"inserttext\",\" \"]] \"a@b<b>[]c</b>\" compare innerHTML":true,
6478
  "[[\"inserttext\",\" \"]] \"a@b<b>[]c</b>\" compare innerHTML":true,
6503
  "[[\"inserttext\",\"\\t\"]] \"http://a[]\" compare innerHTML":true,
6479
  "[[\"inserttext\",\"\\t\"]] \"http://a[]\" compare innerHTML":true,
6504
  "[[\"inserttext\",\"\\f\"]] \"http://a[]\" compare innerHTML":true,
6480
  "[[\"inserttext\",\"\\f\"]] \"http://a[]\" compare innerHTML":true,
6505
  "[[\"inserttext\",\" \"]] \"http://a[]\" compare innerHTML":true,
6481
  "[[\"inserttext\",\"\u00a0\"]] \"http://a[]\" compare innerHTML":true,
6506
  "[[\"inserttext\",\"   \"]] \"foo[]\" compare innerHTML":true,
6482
  "[[\"inserttext\",\"   \"]] \"foo[]\" compare innerHTML":true,
6507
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
6483
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
6508
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6484
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6509
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6485
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6510
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
6486
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
6511
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6487
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6512
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6488
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>b]ar\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6513
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
6489
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
6514
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6490
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6515
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6491
  "[[\"defaultparagraphseparator\",\"div\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6516
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
6492
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
6517
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6493
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6518
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6494
  "[[\"defaultparagraphseparator\",\"p\"],[\"inserttext\",\"a\"]] \"<p>fo[o<p>bar<p>b]az\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6519
  "[[\"inserttext\",\"a\"]] \"{}<br>\" compare innerHTML":true,
6495
  "[[\"inserttext\",\"a\"]] \"{}<br>\" compare innerHTML":true,
6520
  "[[\"inserttext\",\"a\"]] \"<p>{}<br>\" compare innerHTML":true,
6496
  "[[\"inserttext\",\"a\"]] \"<p>{}<br>\" compare innerHTML":true,
6521
  "[[\"inserttext\",\"a\"]] \"<p><span>{}<br></span>\" compare innerHTML":true,
6497
  "[[\"inserttext\",\"a\"]] \"<p><span>{}<br></span>\" compare innerHTML":true,
6522
  "[[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>[bar]</span>baz\" compare innerHTML":true,
6523
  "[[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>{bar}</span>baz\" compare innerHTML":true,
6524
  "[[\"inserttext\",\"a\"]] \"<p>foo{<span style=color:#aBcDeF>bar</span>}baz\" compare innerHTML":true,
6498
  "[[\"inserttext\",\"a\"]] \"<p>foo{<span style=color:#aBcDeF>bar</span>}baz\" compare innerHTML":true,
6525
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"<p>[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
6499
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"<p>[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
6526
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"<p>[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
6500
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"<p>[foo<span style=color:#aBcDeF>bar]</span>baz\" compare innerHTML":true,
6527
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"<p>{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
6501
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"<p>{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
6528
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"<p>{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
6502
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"<p>{foo<span style=color:#aBcDeF>bar}</span>baz\" compare innerHTML":true,
6529
  "[[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>[bar</span>baz]\" compare innerHTML":true,
6530
  "[[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>{bar</span>baz}\" compare innerHTML":true,
6531
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz\" compare innerHTML":true,
6503
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz\" compare innerHTML":true,
6532
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz\" compare innerHTML":true,
6504
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"<p>foo<span style=color:#aBcDeF>[bar</span><span style=color:#fEdCbA>baz]</span>quz\" compare innerHTML":true,
6533
  "[[\"inserttext\",\"a\"]] \"foo<s>[bar]</s>baz\" compare innerHTML":true,
6534
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com>[bar]</a>baz\" compare innerHTML":true,
6535
  "[[\"inserttext\",\"a\"]] \"foo<font color=#0000FF>[bar]</font>baz\" compare innerHTML":true,
6536
  "[[\"inserttext\",\"a\"]] \"foo<span style=background-color:#00FFFF>[bar]</span>baz\" compare innerHTML":true,
6537
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><font color=blue>[bar]</font></a>baz\" compare innerHTML":true,
6538
  "[[\"inserttext\",\"a\"]] \"foo<font color=blue><a href=http://www.google.com>[bar]</a></font>baz\" compare innerHTML":true,
6539
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><font color=brown>[bar]</font></a>baz\" compare innerHTML":true,
6540
  "[[\"inserttext\",\"a\"]] \"foo<font color=brown><a href=http://www.google.com>[bar]</a></font>baz\" compare innerHTML":true,
6541
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><font color=black>[bar]</font></a>baz\" compare innerHTML":true,
6542
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><u>[bar]</u></a>baz\" compare innerHTML":true,
6543
  "[[\"inserttext\",\"a\"]] \"foo<u><a href=http://www.google.com>[bar]</a></u>baz\" compare innerHTML":true,
6544
  "[[\"inserttext\",\"a\"]] \"foo<font size=2><sub>[bar]</sub></font>baz\" compare innerHTML":true,
6545
  "[[\"inserttext\",\"a\"]] \"foo<font size=3><sub>[bar]</sub></font>baz\" compare innerHTML":true,
6546
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<b>bar]</b>baz\" compare innerHTML":true,
6505
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<b>bar]</b>baz\" compare innerHTML":true,
6547
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<b>bar]</b>baz\" compare innerHTML":true,
6506
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<b>bar]</b>baz\" compare innerHTML":true,
6548
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<i>bar]</i>baz\" compare innerHTML":true,
6507
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<i>bar]</i>baz\" compare innerHTML":true,
6549
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<i>bar]</i>baz\" compare innerHTML":true,
6508
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<i>bar]</i>baz\" compare innerHTML":true,
6550
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<s>bar]</s>baz\" compare innerHTML":true,
6509
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<s>bar]</s>baz\" compare innerHTML":true,
6551
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<s>bar]</s>baz\" compare innerHTML":true,
6510
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<s>bar]</s>baz\" compare innerHTML":true,
6552
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<sub>bar]</sub>baz\" compare innerHTML":true,
6511
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<sub>bar]</sub>baz\" compare innerHTML":true,
6553
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<sub>bar]</sub>baz\" compare innerHTML":true,
6512
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<sub>bar]</sub>baz\" compare innerHTML":true,
 Lines 6581-6618    Link Here 
6581
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=2>bar]</font></sub>baz\" compare innerHTML":true,
6540
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=2>bar]</font></sub>baz\" compare innerHTML":true,
6582
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=2>bar]</font></sub>baz\" compare innerHTML":true,
6541
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=2>bar]</font></sub>baz\" compare innerHTML":true,
6583
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<font size=2><sub>bar]</sub></font>baz\" compare innerHTML":true,
6542
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<font size=2><sub>bar]</sub></font>baz\" compare innerHTML":true,
6584
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<font size=2><sub>bar]</sub></font>baz\" compare innerHTML":true,
6543
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<font size=2><sub>bar]</sub></font>baz\" compare innerHTML":true,
6585
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=3>bar]</font></sub>baz\" compare innerHTML":true,
6544
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=3>bar]</font></sub>baz\" compare innerHTML":true,
6586
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=3>bar]</font></sub>baz\" compare innerHTML":true,
6545
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<sub><font size=3>bar]</font></sub>baz\" compare innerHTML":true,
6587
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<font size=3><sub>bar]</sub></font>baz\" compare innerHTML":true,
6546
  "[[\"stylewithcss\",\"true\"],[\"inserttext\",\"a\"]] \"[foo<font size=3><sub>bar]</sub></font>baz\" compare innerHTML":true,
6588
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<font size=3><sub>bar]</sub></font>baz\" compare innerHTML":true,
6547
  "[[\"stylewithcss\",\"false\"],[\"inserttext\",\"a\"]] \"[foo<font size=3><sub>bar]</sub></font>baz\" compare innerHTML":true,
6589
  "[[\"inserttext\",\"a\"]] \"foo<b>[bar</b>baz]\" compare innerHTML":true,
6590
  "[[\"inserttext\",\"a\"]] \"foo<i>[bar</i>baz]\" compare innerHTML":true,
6591
  "[[\"inserttext\",\"a\"]] \"foo<s>[bar</s>baz]\" compare innerHTML":true,
6592
  "[[\"inserttext\",\"a\"]] \"foo<sub>[bar</sub>baz]\" compare innerHTML":true,
6593
  "[[\"inserttext\",\"a\"]] \"foo<sup>[bar</sup>baz]\" compare innerHTML":true,
6594
  "[[\"inserttext\",\"a\"]] \"foo<u>[bar</u>baz]\" compare innerHTML":true,
6595
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com>[bar</a>baz]\" compare innerHTML":true,
6596
  "[[\"inserttext\",\"a\"]] \"foo<font face=sans-serif>[bar</font>baz]\" compare innerHTML":true,
6597
  "[[\"inserttext\",\"a\"]] \"foo<font size=4>[bar</font>baz]\" compare innerHTML":true,
6598
  "[[\"inserttext\",\"a\"]] \"foo<font color=#0000FF>[bar</font>baz]\" compare innerHTML":true,
6599
  "[[\"inserttext\",\"a\"]] \"foo<span style=background-color:#00FFFF>[bar</span>baz]\" compare innerHTML":true,
6600
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><font color=blue>[bar</font></a>baz]\" compare innerHTML":true,
6601
  "[[\"inserttext\",\"a\"]] \"foo<font color=blue><a href=http://www.google.com>[bar</a></font>baz]\" compare innerHTML":true,
6602
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><font color=brown>[bar</font></a>baz]\" compare innerHTML":true,
6603
  "[[\"inserttext\",\"a\"]] \"foo<font color=brown><a href=http://www.google.com>[bar</a></font>baz]\" compare innerHTML":true,
6604
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><font color=black>[bar</font></a>baz]\" compare innerHTML":true,
6605
  "[[\"inserttext\",\"a\"]] \"foo<a href=http://www.google.com><u>[bar</u></a>baz]\" compare innerHTML":true,
6606
  "[[\"inserttext\",\"a\"]] \"foo<u><a href=http://www.google.com>[bar</a></u>baz]\" compare innerHTML":true,
6607
  "[[\"inserttext\",\"a\"]] \"foo<sub><font size=2>[bar</font></sub>baz]\" compare innerHTML":true,
6608
  "[[\"inserttext\",\"a\"]] \"foo<font size=2><sub>[bar</sub></font>baz]\" compare innerHTML":true,
6609
  "[[\"inserttext\",\"a\"]] \"foo<sub><font size=3>[bar</font></sub>baz]\" compare innerHTML":true,
6610
  "[[\"inserttext\",\"a\"]] \"foo<font size=3><sub>[bar</sub></font>baz]\" compare innerHTML":true,
6611
  "[[\"insertunorderedlist\",\"\"]] \"foo<br>[bar]\" compare innerHTML":true,
6548
  "[[\"insertunorderedlist\",\"\"]] \"foo<br>[bar]\" compare innerHTML":true,
6612
  "[[\"insertunorderedlist\",\"\"]] \"[foo<ol><li>bar]</ol>baz\" queryCommandIndeterm(\"insertunorderedlist\") before":true,
6549
  "[[\"insertunorderedlist\",\"\"]] \"[foo<ol><li>bar]</ol>baz\" queryCommandIndeterm(\"insertunorderedlist\") before":true,
6613
  "[[\"insertunorderedlist\",\"\"]] \"foo<ol><li>[bar</ol>baz]\" queryCommandIndeterm(\"insertunorderedlist\") before":true,
6550
  "[[\"insertunorderedlist\",\"\"]] \"foo<ol><li>[bar</ol>baz]\" queryCommandIndeterm(\"insertunorderedlist\") before":true,
6614
  "[[\"defaultparagraphseparator\",\"div\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
6551
  "[[\"defaultparagraphseparator\",\"div\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\": execCommand(\"defaultparagraphseparator\", false, \"div\") return value":true,
6615
  "[[\"defaultparagraphseparator\",\"div\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6552
  "[[\"defaultparagraphseparator\",\"div\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6616
  "[[\"defaultparagraphseparator\",\"div\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6553
  "[[\"defaultparagraphseparator\",\"div\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\" queryCommandValue(\"defaultparagraphseparator\") after":true,
6617
  "[[\"defaultparagraphseparator\",\"p\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
6554
  "[[\"defaultparagraphseparator\",\"p\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\": execCommand(\"defaultparagraphseparator\", false, \"p\") return value":true,
6618
  "[[\"defaultparagraphseparator\",\"p\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\" queryCommandValue(\"defaultparagraphseparator\") before":true,
6555
  "[[\"defaultparagraphseparator\",\"p\"],[\"insertunorderedlist\",\"\"]] \"<p>foo<p>[bar]<p>baz\" queryCommandValue(\"defaultparagraphseparator\") before":true,
 Lines 11213-11232    Link Here 
11213
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">[bar]</u>baz\" compare innerHTML":true,
11150
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">[bar]</u>baz\" compare innerHTML":true,
11214
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">b[a]r</u>baz\" compare innerHTML":true,
11151
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">b[a]r</u>baz\" compare innerHTML":true,
11215
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">b[a]r</u>baz\" compare innerHTML":true,
11152
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">b[a]r</u>baz\" compare innerHTML":true,
11216
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">b[a]r</u>baz\" queryCommandState(\"strikethrough\") after":true,
11153
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: line-through\\\">b[a]r</u>baz\" queryCommandState(\"strikethrough\") after":true,
11217
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<s style=\\\"text-decoration: overline\\\">[bar]</s>baz\" compare innerHTML":true,
11154
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<s style=\\\"text-decoration: overline\\\">[bar]</s>baz\" compare innerHTML":true,
11218
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<s style=\\\"text-decoration: overline\\\">b[a]r</s>baz\" compare innerHTML":true,
11155
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<s style=\\\"text-decoration: overline\\\">b[a]r</s>baz\" compare innerHTML":true,
11219
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: overline\\\">[bar]</u>baz\" compare innerHTML":true,
11156
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: overline\\\">[bar]</u>baz\" compare innerHTML":true,
11220
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: overline\\\">b[a]r</u>baz\" compare innerHTML":true,
11157
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<u style=\\\"text-decoration: overline\\\">b[a]r</u>baz\" compare innerHTML":true,
11221
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"<p style=\\\"text-decoration: line-through\\\">foo[bar]baz</p>\" compare innerHTML":true,
11222
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"<p style=\\\"text-decoration: line-through\\\">foo[bar]baz</p>\" queryCommandState(\"strikethrough\") after":true,
11223
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"<p style=\\\"text-decoration: line-through\\\">foo[bar]baz</p>\" compare innerHTML":true,
11224
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"<p style=\\\"text-decoration: line-through\\\">foo[bar]baz</p>\" queryCommandState(\"strikethrough\") after":true,
11225
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"<p style=\\\"text-decoration: overline\\\">foo[bar]baz</p>\" compare innerHTML":true,
11158
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"<p style=\\\"text-decoration: overline\\\">foo[bar]baz</p>\" compare innerHTML":true,
11226
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<span class=\\\"underline\\\">[bar]</span>baz\" compare innerHTML":true,
11159
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<span class=\\\"underline\\\">[bar]</span>baz\" compare innerHTML":true,
11227
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<span class=\\\"underline\\\">b[a]r</span>baz\" compare innerHTML":true,
11160
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"foo<span class=\\\"underline\\\">b[a]r</span>baz\" compare innerHTML":true,
11228
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"fo[o<s>bar</s>b]az\" compare innerHTML":true,
11161
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"fo[o<s>bar</s>b]az\" compare innerHTML":true,
11229
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"foo[<s>b]ar</s>baz\" compare innerHTML":true,
11162
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"foo[<s>b]ar</s>baz\" compare innerHTML":true,
11230
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"foo<s>ba[r</s>]baz\" compare innerHTML":true,
11163
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"foo<s>ba[r</s>]baz\" compare innerHTML":true,
11231
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"<strike>fo[o</strike><s>b]ar</s>\" compare innerHTML":true,
11164
  "[[\"stylewithcss\",\"true\"],[\"strikethrough\",\"\"]] \"<strike>fo[o</strike><s>b]ar</s>\" compare innerHTML":true,
11232
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"<strike>fo[o</strike><s>b]ar</s>\" compare innerHTML":true,
11165
  "[[\"stylewithcss\",\"false\"],[\"strikethrough\",\"\"]] \"<strike>fo[o</strike><s>b]ar</s>\" compare innerHTML":true,
(-)a/editor/libeditor/html/nsHTMLEditRules.cpp (-2 / +3 lines)
Line     Link Here 
 Lines 1266-1284   nsHTMLEditRules::WillInsertText(EditActi Link Here 
1266
  
1266
  
1267
  // initialize out param
1267
  // initialize out param
1268
  *aCancel = false;
1268
  *aCancel = false;
1269
  *aHandled = true;
1269
  *aHandled = true;
1270
  nsresult res;
1270
  nsresult res;
1271
  nsCOMPtr<nsIDOMNode> selNode;
1271
  nsCOMPtr<nsIDOMNode> selNode;
1272
  int32_t selOffset;
1272
  int32_t selOffset;
1273
1273
1274
  // if the selection isn't collapsed, delete it.
1274
  // If the selection isn't collapsed, delete it.  Don't delete existing inline
1275
  // tags, because we're hopefully going to insert text (bug 787432).
1275
  if (!aSelection->Collapsed()) {
1276
  if (!aSelection->Collapsed()) {
1276
    res = mHTMLEditor->DeleteSelection(nsIEditor::eNone, nsIEditor::eStrip);
1277
    res = mHTMLEditor->DeleteSelection(nsIEditor::eNone, nsIEditor::eNoStrip);
1277
    NS_ENSURE_SUCCESS(res, res);
1278
    NS_ENSURE_SUCCESS(res, res);
1278
  }
1279
  }
1279
1280
1280
  res = WillInsert(aSelection, aCancel);
1281
  res = WillInsert(aSelection, aCancel);
1281
  NS_ENSURE_SUCCESS(res, res);
1282
  NS_ENSURE_SUCCESS(res, res);
1282
  // initialize out param
1283
  // initialize out param
1283
  // we want to ignore result of WillInsert()
1284
  // we want to ignore result of WillInsert()
1284
  *aCancel = false;
1285
  *aCancel = false;
(-)a/editor/libeditor/html/tests/Makefile.in (+1 lines)
Line     Link Here 
 Lines 75-90   MOCHITEST_FILES = \ Link Here 
75
		test_keypress_untrusted_event.html \
75
		test_keypress_untrusted_event.html \
76
		test_select_all_without_body.html \
76
		test_select_all_without_body.html \
77
		file_select_all_without_body.html \
77
		file_select_all_without_body.html \
78
		test_root_element_replacement.html \
78
		test_root_element_replacement.html \
79
		test_bug738366.html \
79
		test_bug738366.html \
80
		test_bug757371.html \
80
		test_bug757371.html \
81
		test_bug767684.html \
81
		test_bug767684.html \
82
		test_bug780035.html \
82
		test_bug780035.html \
83
		test_bug787432.html \
83
		$(NULL)
84
		$(NULL)
84
85
85
ifneq (mobile,$(MOZ_BUILD_APP))
86
ifneq (mobile,$(MOZ_BUILD_APP))
86
MOCHITEST_FILES +=  test_spellcheck_pref.html \
87
MOCHITEST_FILES +=  test_spellcheck_pref.html \
87
		$(NULL)
88
		$(NULL)
88
endif
89
endif
89
90
90
_DATA_FILES = \
91
_DATA_FILES = \
(-)a/editor/libeditor/html/tests/test_bug787432.html (+17 lines)
Line     Link Here 
Line 0    Link Here 
1
<!DOCTYPE html>
2
<!--
3
https://bugzilla.mozilla.org/show_bug.cgi?id=787432
4
-->
5
<title>Test for Bug 787432</title>
6
<script src="/tests/SimpleTest/SimpleTest.js"></script>
7
<link rel="stylesheet" href="/tests/SimpleTest/test.css">
8
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=787432">Mozilla Bug 787432</a>
9
<div id="test" contenteditable><span class="insert">%</span><br></div>
10
<script>
11
var div = document.getElementById("test");
12
getSelection().collapse(div.firstChild, 0);
13
getSelection().extend(div.firstChild, 1);
14
document.execCommand("inserttext", false, "x");
15
is(div.innerHTML, '<span class="insert">x</span><br>',
16
   "Empty <span> needs to not be removed");
17
</script>

Return to bug 787432