Open Bug 438374 Opened 16 years ago Updated 2 years ago

Table with <p> tags adds unnecessary newlines to clipboard, impossible to parse!

Categories

(Core :: DOM: Serializers, defect)

defect

Tracking

()

UNCONFIRMED

People

(Reporter: jnqnfe, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14

I need to be able to parse tables copied from a third party website and pasted into a html <textarea> field.

the issue is that the tables use <p> tags like <table><tr><td><p>A</p></td><td><p><B</p></td></tr></table>, and this adds newlines which affect readability, and make it impossible to parse the table!

i did  study of this in various browsers, you can find this, which includes the test case, and detailed results here (if the link doesn;t work, give me a shout!): http://lrebrown.x10hosting.com/table_clipboard_test/

i posted a similar report previously (https://bugzilla.mozilla.org/show_bug.cgi?id=436921), it was suggested after a discussion that i post a new, cleaner, more specific report, which this is!

Reproducible: Always
Flags: wanted1.9.1?
Flags: blocking1.9.1?
Flags: blocking1.9.0.2?
Flags: blocking1.9.0.1?
forgot to mention, this is still a problem with Firefox 3.0.x

Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.1) Gecko/2008070208 Firefox/3.0.1
Flags: blocking1.9.0.1?
Not blocking. This needs to be confirmed before it can be considered for blocking a maintenance release.
Flags: blocking1.9.0.2? → blocking1.9.0.2-
Not something we'd hold the release for, but if someone has the cycles to work on this we'd for sure consider a reviewed patch.
Flags: wanted1.9.1?
Flags: wanted1.9.1-
Flags: blocking1.9.1?
Flags: blocking1.9.1-
Attaching a zip copy of the html based report/study I made since the linked website has been down for some time.
I just quickly checked result data from Firefox 29 against the original result data from version 2/3 with the aid of a hex editor and they are identical.
Blocks: 1636028
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: