Open Bug 1250705 Opened 4 years ago Updated 3 years ago

<table> element is lost when pasting whole table content in contenteditable

Categories

(Core :: Editor, defect)

36 Branch
defect
Not set

Tracking

()

People

(Reporter: cyril.auburtin, Unassigned)

References

Details

(Keywords: regression, testcase, Whiteboard: btpp-followup-2016-03-03)

Attachments

(1 file)

Attached image Capturef.PNG
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:47.0) Gecko/20100101 Firefox/47.0
Build ID: 20160223030304

Steps to reproduce:

demo: http://jsfiddle.net/crl/6qaywmvu/3/

copy the whole table, paste it below, inspect the newly pasted element


Actual results:

only <tr> are pasted, no <table>, it's invalid of course


Expected results:

a <table> should wrap <tr>
Status: UNCONFIRMED → NEW
Component: Untriaged → Editor
Ever confirmed: true
Keywords: testcase
Product: Firefox → Core
Whiteboard: btpp-followup-2016-03-03
You need to log in before you can comment on or make changes to this bug.