Press enter after an anchor link cause the content in new line associate with the link

RESOLVED FIXED in Firefox 59

Status

()

defect
P3
normal
RESOLVED FIXED
2 years ago
a year ago

People

(Reporter: bowang, Assigned: masayuki)

Tracking

(Blocks 1 bug, {regression, testcase})

55 Branch
mozilla60
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite +

Firefox Tracking Flags

(firefox-esr52 unaffected, firefox57 wontfix, firefox58 wontfix, firefox59 fixed, firefox60 fixed)

Details

Attachments

(4 attachments)

Reporter

Description

2 years ago
Posted file ff_bug.html
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.94 Safari/537.36

Steps to reproduce:

Open the following html page, place cursor after the anchor link and press enter.
 
<html>
<div contenteditable="true"><div><a href="http://www.google.com">www.google.com</a></div></div>
</html>


Actual results:

In the new line, the content that input by user is associated with the link.


Expected results:

The new line content should not be associated with the link, as all the other browsers do.
Priority: -- → P3

Updated

2 years ago
Status: UNCONFIRMED → NEW
Has STR: --- → yes
Ever confirmed: true
Keywords: testcase
Aryeh isn't working on Mozilla stuff (according to his bugzilla name) so hopefully Masayuki can look as he reviewed the changes in bug 1297414.
Flags: needinfo?(masayuki)
Sure.

Tested briefly, then, I see interesting result:

test case 1: selection is set at end of text in <b>
https://jsfiddle.net/d_toybox/x0kohuo0/
Gecko:  <p><b>forcus this editor and type Enter</b></p><p><b><br></b></p>
Chrome: <p><b>forcus this editor and type Enter</b></p><p><b><br></b></p>

test case 2: selection is set at end of <b>
https://jsfiddle.net/d_toybox/x0kohuo0/1/
Gecko:  <p><b>forcus this editor and type Enter<br></b></p><p><br><b></b></p>
Chrome: <p><b>forcus this editor and type Enter</b></p><p><b><br></b></p>

(Only Gecko inserts <br> at the end of <b>)

test case 3: selection is set at end of <p>
https://jsfiddle.net/d_toybox/x0kohuo0/2/
Gecko:  <p><b>forcus this editor and type Enter</b></p><p><br></p>
Chrome: <p><b>forcus this editor and type Enter</b></p><p><b><br></b></p>

test case 4: selection is set at end of text in <a>
https://jsfiddle.net/d_toybox/x0kohuo0/3/
Gecko:  <p><a href="../">forcus this editor and type Enter</a></p><p><a href="../"><br></a></p>
Chrome: <p><a href="../">forcus this editor and type Enter</a></p><p><br></p>

(Only Gecko insert <a> to the new paragraph)

test case 5: selection is set at end of <a>
https://jsfiddle.net/d_toybox/x0kohuo0/4/
Gecko:  <p><a href="../">forcus this editor and type Enter<br></a></p><p><br><a href="../"></a></p>
Chrome: <p><a href="../">forcus this editor and type Enter</a></p><p><br></p>

(Only Gecko insert <a> to the new paragraph after <br>)

test case 6: selection is set at end of <p>
https://jsfiddle.net/d_toybox/x0kohuo0/5/
Gecko:  <p><a href="../">forcus this editor and type Enter</a></p><p><br></p>
Chrome: <p><a href="../">forcus this editor and type Enter</a></p><p><br></p>
Assignee: nobody → masayuki
Status: NEW → ASSIGNED
Flags: needinfo?(masayuki)
Hmm, according to execCommand spec (unofficial draf), if cursor is at end of inline element, inline elements shouldn't be copied to the right paragraph. However, both Gecko and Blink does it (EdgeHTML's behavior is completely broken, it wraps both left and right paragraph with the inline elements). I think that actual behavior must make sense since in most cases, users keep typing text with same style even after insert new paragraph. So, I should file a spec bug for it.

On the other hand, it's difficult to say about <a> element behavior. Both older Gecko and Blink ignores only when caret is start or end of <a href="foo">. So, <a> and <a name="foo"> are separated same as other inline elements. I think that not copying <a href="foo"> makes sense.  However, I also think so for <a name="foo"> too.

Anyway, we should take traditional behavior for now.
Comment hidden (mozreview-request)
Comment hidden (mozreview-request)

Comment 10

a year ago
mozreview-review
Comment on attachment 8945014 [details]
Bug 1422234 - part 2: Add wpt-tests to check if insertParagraph command splits or doesn't split inline elements at their edge

https://reviewboard.mozilla.org/r/215206/#review220758


Static analysis found 918 defects in this patch (only the first 30 are reported here).
 - 918 defects found by mozlint

You can run this analysis locally with:
 - `./mach lint check path/to/file` (Python/Javascript/wpt)


If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx


::: testing/web-platform/tests/editing/data/insertparagraph.js:784
(Diff revision 1)
>      [["defaultparagraphseparator","p"],["insertparagraph",""]],
>      "<p><b>foo</b></p><p>{}bar</p>",
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:784
(Diff revision 1)
>      [["defaultparagraphseparator","p"],["insertparagraph",""]],
>      "<p><b>foo</b></p><p>{}bar</p>",
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:784
(Diff revision 1)
>      [["defaultparagraphseparator","p"],["insertparagraph",""]],
>      "<p><b>foo</b></p><p>{}bar</p>",
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:786
(Diff revision 1)
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 1)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:789
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:789
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:789
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:791
(Diff revision 1)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:794
(Diff revision 1)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:794
(Diff revision 1)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:794
(Diff revision 1)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:796
(Diff revision 1)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:799
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:799
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:799
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:801
(Diff revision 1)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:804
(Diff revision 1)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:804
(Diff revision 1)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:804
(Diff revision 1)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:806
(Diff revision 1)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:809
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:809
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:809
(Diff revision 1)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:811
(Diff revision 1)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 1)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]
Comment hidden (mozreview-request)
Comment on attachment 8945014 [details]
Bug 1422234 - part 2: Add wpt-tests to check if insertParagraph command splits or doesn't split inline elements at their edge

https://reviewboard.mozilla.org/r/215206/#review220758

These styles are for consistency with existing lines in the file.

Comment 13

a year ago
mozreview-review
Comment on attachment 8945014 [details]
Bug 1422234 - part 2: Add wpt-tests to check if insertParagraph command splits or doesn't split inline elements at their edge

https://reviewboard.mozilla.org/r/215206/#review220762


Static analysis found 918 defects in this patch (only the first 30 are reported here).
 - 918 defects found by mozlint

You can run this analysis locally with:
 - `./mach lint check path/to/file` (Python/Javascript/wpt)


If you see a problem in this automated review, please report it here: http://bit.ly/2y9N9Vx


::: testing/web-platform/tests/editing/data/insertparagraph.js:784
(Diff revision 2)
>      [["defaultparagraphseparator","p"],["insertparagraph",""]],
>      "<p><b>foo</b></p><p>{}bar</p>",
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:784
(Diff revision 2)
>      [["defaultparagraphseparator","p"],["insertparagraph",""]],
>      "<p><b>foo</b></p><p>{}bar</p>",
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:784
(Diff revision 2)
>      [["defaultparagraphseparator","p"],["insertparagraph",""]],
>      "<p><b>foo</b></p><p>{}bar</p>",
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:786
(Diff revision 2)
>      [true,true],
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:787
(Diff revision 2)
>      {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b>foo[]</b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:789
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:789
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:789
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b>foo</b></p><p><b>{}<br></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:791
(Diff revision 2)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:792
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b>foo[]</b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:794
(Diff revision 2)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:794
(Diff revision 2)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:794
(Diff revision 2)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b>foo</b></div><div><b>{}<br></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:796
(Diff revision 2)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:797
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><b><i>foo[]</i></b></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:799
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:799
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:799
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><b><i>foo</i></b></p><p><b><i>{}<br></i></b></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:801
(Diff revision 2)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:802
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><b><i>foo[]</i></b></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:804
(Diff revision 2)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:804
(Diff revision 2)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:804
(Diff revision 2)
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><b><i>foo</i></b></div><div><b><i>{}<br></i></b></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:806
(Diff revision 2)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:807
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<p><i><b>foo[]</b></i></p>",
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:809
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:809
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:809
(Diff revision 2)
> +    [["defaultparagraphseparator","div"],["insertparagraph",""]],
> +    "<p><i><b>foo</b></i></p><p><i><b>{}<br></b></i></p>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:811
(Diff revision 2)
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'defaultparagraphseparator'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: Missing space before value for key 'insertparagraph'. [eslint: key-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

::: testing/web-platform/tests/editing/data/insertparagraph.js:812
(Diff revision 2)
> +    {"defaultparagraphseparator":[false,false,"p",false,false,"div"],"insertparagraph":[false,false,"",false,false,""]}],
> +["<div><i><b>foo[]</b></i></div>",
> +    [["defaultparagraphseparator","p"],["insertparagraph",""]],
> +    "<div><i><b>foo</b></i></div><div><i><b>{}<br></b></i></div>",
> +    [true,true],
> +    {"defaultparagraphseparator":[false,false,"div",false,false,"p"],"insertparagraph":[false,false,"",false,false,""]}],

Error: A space is required after ','. [eslint: comma-spacing]

Comment 14

a year ago
mozreview-review
Comment on attachment 8945013 [details]
Bug 1422234 - part 1: HTMLEditRules::ReturnInParagraph() should adjust split point if caret position is positioned at edge of anchor element

https://reviewboard.mozilla.org/r/215204/#review220766
Attachment #8945013 - Flags: review?(m_kato) → review+

Comment 15

a year ago
mozreview-review
Comment on attachment 8945014 [details]
Bug 1422234 - part 2: Add wpt-tests to check if insertParagraph command splits or doesn't split inline elements at their edge

https://reviewboard.mozilla.org/r/215206/#review221116
Attachment #8945014 - Flags: review?(m_kato) → review+

Comment 16

a year ago
Pushed by masayuki@d-toybox.com:
https://hg.mozilla.org/integration/autoland/rev/6c912e6d282a
part 1: HTMLEditRules::ReturnInParagraph() should adjust split point if caret position is positioned at edge of anchor element r=m_kato
https://hg.mozilla.org/integration/autoland/rev/0637a8fc925b
part 2: Add wpt-tests to check if insertParagraph command splits or doesn't split inline elements at their edge r=m_kato

Comment 19

a year ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/6c912e6d282a
https://hg.mozilla.org/mozilla-central/rev/0637a8fc925b
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla60
Please request Beta approval on this when you get a chance.
Flags: needinfo?(masayuki)
Flags: in-testsuite+
Comment on attachment 8945013 [details]
Bug 1422234 - part 1: HTMLEditRules::ReturnInParagraph() should adjust split point if caret position is positioned at edge of anchor element

Approval Request Comment
[Feature/Bug causing the regression]:
Regression of bug 1297414.

[User impact if declined]:
User keep editing link even after inserting new paragraph.

[Is this code covered by automated tests?]:
Yes, the following patch checks the expected behavior.

[Has the fix been verified in Nightly?]:
Yes.

[Needs manual test from QE? If yes, steps to reproduce]:
No, because of the new automated tests.

[List of other uplifts needed for the feature/fix]:
Only necessary the following patch for automated tests.

[Is the change risky?]:
No.

[Why is the change risky/not risky?]:
This only adjusts insertion point before splitting elements with Enter key only when caret is at edge of an anchor element with non-empty href attribute.

[String changes made/needed]:
No.
Flags: needinfo?(masayuki)
Attachment #8945013 - Flags: approval-mozilla-beta?
Comment on attachment 8945365 [details] [diff] [review]
part 2 for Beta (modifying wpt manifest)

Approval Request Comment
This is automated tests for the expected behavior after landing the preceding patch. The different point from the patch landed on m-c is, only MANIFEST.json.
Attachment #8945365 - Flags: approval-mozilla-beta?
Comment on attachment 8945013 [details]
Bug 1422234 - part 1: HTMLEditRules::ReturnInParagraph() should adjust split point if caret position is positioned at edge of anchor element

I am happy to see this one fixed, let's bring it to 59 beta 7.
Thanks for the new tests!
Attachment #8945013 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Attachment #8945365 - Flags: approval-mozilla-beta? → approval-mozilla-beta+
Please update the patches. I encountered issues when imported the part 2 for beta.
Flags: needinfo?(masayuki)
Flags: needinfo?(masayuki)
(In reply to Arthur Iakab [arthur_iakab] from comment #24)
> Please update the patches. I encountered issues when imported the part 2 for
> beta.

(In reply to Ryan VanderMeulen [:RyanVM] from comment #25)
> https://hg.mozilla.org/releases/mozilla-beta/rev/1d6350b50913
> https://hg.mozilla.org/releases/mozilla-beta/rev/0fe1f0b63fac

Oh, thank you!
You need to log in before you can comment on or make changes to this bug.