Closed
Bug 63824
Opened 24 years ago
Closed 23 years ago
Newlines in title tooltip is shown as two vertical lines (||)
Categories
(Core :: Layout, defect)
Core
Layout
Tracking
()
Future
People
(Reporter: bugzilla, Assigned: harishd)
References
Details
Attachments
(2 files)
If you have: <a href="t" title="Henrik Gemal <gemal.dk@fep2.x.dk> Henrik Gemal <gemal.dk@fep2.x.dk> Henrik Gemal <gemal.dk@fep2.x.dk>">Henrik Gemal <gemal.dk@fep2.x.dk></a> that's a title tag that includes a newline the newline char is show as || in the tooltip when the cursor is over the link. Expected: Newlines in title tags should just be ignored. Build Gecko/20001226
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Correction: Newlines shouldn't be ignored. The title should just be shown correct with the newlines. Will attach screenshot of Mozilla and IE handling the attached testcase.
Summary: Newlines in title tooltip is show a two vertical lines (||) → Newlines in title tooltip is shown as two vertical lines (||)
Reporter | ||
Comment 3•24 years ago
|
||
Comment 4•24 years ago
|
||
Happens with the "MIT" link at the bottom of http://www.w3.org/DOM/ as well. cc'ing Hixie to make sure we're right about what the the correct behavior is.
Comment 5•24 years ago
|
||
Correct behaviour is to treat newlines as whitespace (and trim leading and trailing whitespace) per HTML4 and SGML. I don't know what we should do in XML. This is a parser-level requirement per the spec. Check Bugzilla's INVALID, WONTFIX and FIXED bugs with the words "newline" and "attribute" in the description fields for bugs similar to this one where this has been discussed to death.
But what should we do for 
 ? (What do we do now?) In a DOM where we want to preserve all whitespace for editing, etc. (perhaps this is contrary to SGML, though, but...), how should we behave? (How should we handle 'content: attr(X); white-space: pre'?)
Comment 7•23 years ago
|
||
> But what should we do for 
 ? Exactly the same thing we do for ordinary CRs/LFs. There are *no* difference in: <CR> 
 
 They're *exactly* the same characters (they're canonically equivalent). See also <URL: http://www.w3.org/TR/charmod/ >
Assignee | ||
Comment 11•23 years ago
|
||
This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug,or if it blocks your work in some way -- please attach your concern to the bug for reconsideration -----
Status: NEW → ASSIGNED
Target Milestone: --- → Future
Comment 12•23 years ago
|
||
I think this is a duplicate of bug 59743.
Comment 13•23 years ago
|
||
*** This bug has been marked as a duplicate of 47078 ***
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•