Closed Bug 106419 Opened 23 years ago Closed 23 years ago

(<ctrl>-<c>) adds a CR/LF to a selection of text contained in <H3> tags

Categories

(Core :: DOM: Selection, defect)

x86
Windows NT
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 98572

People

(Reporter: w.d.a.vandenbosse, Assigned: mjudge)

References

()

Details

Have a look at the url above. Select some of the text from the "Report
percentile statistics on a field"-title. Copy this text to the clipboard. Paste
this text in notepad or in CMD.exe. Notice that a CR/LF is added to the
selection. Do the same with some of the text below and notice that no CR/LF is
added. The title text is contained in a <h3></h3> tag. The text below is
paragraph text with a css style applied to it.

My expectation is that no CR/LF is added to a selection of some text out of a line.

Regards,  Wim
From a comment of jfrancis@netscape.com in bug 98572:

"Dimitir is correct.  The H1, ..., H6 elements are the other blocks that behave 
like pre when we copy.  Ie, we force them to be emitted even if you are only 
copying something inside them.  Other blocks we don't copy unless you either:" 

This is a dup



*** This bug has been marked as a duplicate of 98572 ***
Status: UNCONFIRMED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.