Open Bug 1861900 Opened 2 years ago

Gecko-only WPT failure: [["defaultparagraphseparator","div"],["formatblock","<p>"]] "<listing>[foobar]</listing>" compare innerHTML

Categories

(Core :: DOM: Editor, defect, P4)

defect

Tracking

()

People

(Reporter: masayuki, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: parity-chrome, parity-safari)

assert_equals: Unexpected innerHTML (after normalizing inline style) expected "<p><listing>foobar</listing></p>" but got "<listing>foobar</listing>"

<listing> is not a format block. Therefore, document.execCommand("formatBlock", false, "p") should wrap <listing> within new <p>.

Only Gecko does not pass this test.

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