Closed Bug 198725 Opened 21 years ago Closed 21 years ago

<ABBR> parses badly if the abbreviation contains a newline in the source file

Categories

(Core :: DOM: HTML Parser, defect)

x86
Linux
defect
Not set
minor

Tracking

()

VERIFIED DUPLICATE of bug 67127

People

(Reporter: tibi, Assigned: harishd)

References

()

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030202 Debian/1.2.1-9
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20030202 Debian/1.2.1-9

The <ABBR> tag specifies an abbreviated expression. When driving the mouse over
such an element a tooltip displays the title parameter of the tag. If the HTML
file is word wrapped and the title parameter contains a newline then a "strange"
character is displayed in the tooltip.

Reproducible: Always

Steps to Reproduce:
1. construct a page with an <ABBR> tag (HTML extract) using a title parameter
wich contains a newline
2. drive your mouse above the abbreviated word

Actual Results:  
The tooltip contains the newline char, which is displayed as a box or other
"strange" character.

Expected Results:  
Newlines should be silently ignored.

<ABBR TITLE="Free Software
Foundation">FSF</ABBR>
I can´t see it at URL above, because document has been changed 2003-03-21 
Mozilla shows source as 2 lines, without a Newline in Title:
<ABBR 
TITLE="Free Software Foundation">FSF</ABBR>

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