Closed Bug 208588 Opened 21 years ago Closed 21 years ago

[FIX] LINK element with href attribute should match :link

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED FIXED

People

(Reporter: MatsPalmgren_bugz, Assigned: MatsPalmgren_bugz)

References

()

Details

(Whiteboard: [patch])

Attachments

(1 file)

LINK element with href attribute should match :link

REPEAT BY:
1. load http://www.bath.ac.uk/%7Epy8ieh/internet/projects/mozilla/linktests.html

ACTUAL BEHAVIOUR:
The first list of links at the top are missing.

EXPECTED BEHAVIOUR:
Three list-items that works as links (same as for AREA and A below)

PLATFORM & BUILD:
Mozilla nightly build 2003-06-03-05 trunk Linux

ADDITIONAL INFORMATION:
It worked at the time bug 44396 was verified, 2000-08-25.
-> style system
Assignee: other → dbaron
Component: Layout → Style System
FWIW, bug occurs in Mozilla 1.0.2 too.
Attached patch Patch rev. 1Splinter Review
It's the following call in nsStyleUtil::IsHTMLLink(...) that returns NULL
for all LINK elements:

    nsCOMPtr<nsILink> link( do_QueryInterface(aContent) );

http://lxr.mozilla.org/mozilla/source/content/html/style/src/nsStyleUtil.cpp#572


The patch adds the nsILink interface to the LINK element.
Summary: LINK element with href attribute should match :link → [FIX] LINK element with href attribute should match :link
Attachment #125161 - Flags: review?(dbaron)
Comment on attachment 125161 [details] [diff] [review]
Patch rev. 1

This was a regression from the changes in revision 1.30 of the file.  r=dbaron
Attachment #125161 - Flags: review?(dbaron) → review+
->Mats
Assignee: dbaron → mats.palmgren
Fix checked in to trunk, 2003-06-08 12:53 -0700.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
See Also: → 118064
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: