Closed Bug 155421 Opened 22 years ago Closed 22 years ago

stylesheet advisory MIME type handling code is fishy

Categories

(Core :: CSS Parsing and Computation, defect, P1)

defect

Tracking

()

RESOLVED FIXED
mozilla1.3alpha

People

(Reporter: dbaron, Assigned: bzbarsky)

Details

(Whiteboard: [whitebox])

Attachments

(2 files)

The code in nsHTMLContentSink::ProcessStyleLink looks very fishy -- checking for
a .css extension in strict mode.  I'd think the advisory MIME type is omissible,
although we might want to be stricter about the server MIME type in those cases.
Status: NEW → ASSIGNED
Priority: -- → P1
Target Milestone: --- → mozilla1.1beta
Target Milestone: mozilla1.1beta → mozilla1.2alpha
Whiteboard: [dev notes]
Attached patch Proposed patchSplinter Review
Attachment #107542 - Flags: superreview?(dbaron)
Attachment #107542 - Flags: review?(bugmail)
taking
Assignee: dbaron → bzbarsky
Status: ASSIGNED → NEW
Target Milestone: mozilla1.2alpha → mozilla1.3alpha
Comment on attachment 107542 [details] [diff] [review]
same as diff -uw for review

sr=dbaron.  I thought you've been advocating more context around diffs, though.
:-)
Attachment #107542 - Flags: superreview?(dbaron) → superreview+
Mea culpa.  I was trying to do too many things at once and forgot to type the 6.  ;)

Checked in.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Whiteboard: [dev notes] → [whitebox]
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: