Closed Bug 1426432 Opened 7 years ago Closed 7 years ago

nsXMLContentSink::ProcessStyleLink is a bit silly

Categories

(Core :: XML, enhancement, P3)

enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1426234

People

(Reporter: bzbarsky, Assigned: bzbarsky)

Details

It tries to deal with CSS stylesheets based on aElement, but aElement is only non-null when called from nsXMLContentSink::ProcessStyleLink, which is only called from nsXMLContentSink::HandleProcessingInstruction, which early-returns for the CSS cases. We can clean up this code a bunch.
Blocks: 1426234
Priority: -- → P3
Oops, I ended up uploading the patches in bug 1426234 (darned permutations!). Anyway, those patches fix both of these bugs, so it's OK.
No longer blocks: 1426234
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.