Closed Bug 177069 Opened 23 years ago Closed 15 years ago

Merge the many different places that handle Links

Categories

(Core :: DOM: HTML Parser, defect, P2)

defect

Tracking

()

RESOLVED WORKSFORME
Future

People

(Reporter: ian, Assigned: bzbarsky)

Details

(Keywords: testcase)

We currently parse <link>, Link:, and <meta http-equiv="link"> in the following places: HTML content sink (stylesheets, prefetching) XML content sink (stylesheets) Link toolbar (navigation) Browser (site icon support) ...and probably others. This is resulting in large amounts of code duplication, and even more importantly, a number of bugs. For example, the XML content sink doesn't care about the "rel" attribute; ond the link toolbar and site icons don't support HTTP headers. We should merge all this into a single document-level API which provides uniform access to the document's links, triggers DOM events when they change, and works for all file types (XML, HTML, text/plain, images, etc) without the consumers having to worry about it.
Keywords: testcase
QA Contact: moied → ian
This would also include, or at least be related to, the unifying of CSS and XSLT dispatch mechanisms, so that all the stylesheet linking mechanisms would work for both XSLT and CSS.
Priority: -- → P2
Target Milestone: --- → mozilla1.6alpha
Target Milestone: mozilla1.6alpha → Future
QA Contact: ian → parser
The HTML and XML content sink got unified. The Link toolbar is gone. I don't think we care about this anymore past that.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.