Closed Bug 151179 Opened 24 years ago Closed 24 years ago

alternate stylesheets not managed properly

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Windows 2000
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: ivan, Assigned: dbaron)

References

()

Details

The file refers to two stylesheets in link statements, with rel="stylesheet". The browser should read them both and combine the style instructions. Instead, the two stylesheets are considered as alternate stylesheets, and they appear as alternatives in the view menu. However, this behaviour should be bound to the the rel="alternate stylesheet" attribute value only!
Please see: HTML 4.01 14.3.2 Specifying external style sheets http://www.w3.org/TR/REC-html40/present/styles.html#specifying-external "To make a style sheet persistent, set the rel attribute to "stylesheet" and don't set the title attribute."
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Our behavior is correct. See the statement: "If two or more LINK elements specify a preferred style sheet, the first one takes precedence." Since both of your LINK elements specify different preferred stylesheets and there can be only one, the first one takes precedence and the second one becomes alternate.
VERIFIED that we correctly handle multiple different preferred stylesheets sets.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.