Closed
Bug 303961
Opened 19 years ago
Closed 19 years ago
Link with malformed URL isn't styled as a link
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 229700
People
(Reporter: martijn.martijn, Assigned: dbaron)
Details
(Keywords: testcase)
Attachments
(1 file)
|
446 bytes,
text/html
|
Details |
See upcoming testcase. The second link is malformed: <a href="http://mikael.winterkvist.com target="_blank"> It is missing a ". This causes it for Mozilla to not style it as a link, although it is recognised as a link (via the context menu and document.links.length). I can see this also in Mozilla1.7, so no (recent) regression.
| Reporter | ||
Comment 1•19 years ago
|
||
| Assignee | ||
Updated•19 years ago
|
Assignee: dbaron → parser
Component: Style System (CSS) → HTML: Parser
QA Contact: ian → mrbkap
Updated•19 years ago
|
Assignee: parser → dbaron
Component: HTML: Parser → Style System (CSS)
QA Contact: mrbkap → ian
| Assignee | ||
Updated•19 years ago
|
Summary: Malformed link isn't styled as a link → Link with malformed URL isn't styled as a link
| Assignee | ||
Comment 2•19 years ago
|
||
The problem is that nsGenericHTMLElement::GetHrefURIForAnchors provides no difference in result between not having an HREF attribute and having a malformed URL. This propagates to nsStyleUtil::IsHTMLLink.
| Assignee | ||
Comment 4•19 years ago
|
||
*** This bug has been marked as a duplicate of 229700 ***
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•