Closed Bug 231920 Opened 21 years ago Closed 21 years ago

firebird treats two non-alternate stylesheets with different titles as alternatives

Categories

(Core :: CSS Parsing and Computation, defect)

defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: rimas, Assigned: dbaron)

References

()

Details

User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031225 Firebird/0.7 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031225 Firebird/0.7 having text like this: <link rel="stylesheet" type="text/css" href="gila.css" title="Gila styles" /> <link rel="stylesheet" type="text/css" href="color-scheme.css" title="Gila colours" /> causes firebird to display EITHER the "Gila styles" stylesheet OR "Gila colours" one. None of these stelesheets is listed as alternative, hence Firebird should display them both, IMO... Reproducible: Always Steps to Reproduce: open a webpage I gave a link to. Actual Results: firebird displays a choice between "Gila styles" and "Gila colours" stylesheets. Expected Results: firebird should have interpreted both of them.
From http://www.w3.org/TR/html401/present/styles.html#specifying-external, I understand that if you have two or more preferred stylesheets specified through a <link>, the first one will be used.
Assignee: blake → dbaron
Component: General → Style System (CSS)
Product: Firebird → Browser
QA Contact: ian
Version: unspecified → 1.0 Branch
inv
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
Version: 1.0 Branch → Trunk
It says "If two or more LINK elements specify a preferred style sheet, the first one takes precedence." I understand that to mean that for any /conflicting/ information the first one is used, but the other one should still have any non-conflicting information used. Reopening
Status: RESOLVED → UNCONFIRMED
Resolution: INVALID → ---
You don't see "conflicting" or any such word in the spec, so please stop pretending it means what you want instead of what it clearly means. /be
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago21 years ago
Resolution: --- → INVALID
verified invalid
Status: RESOLVED → VERIFIED
Note that 14.3.1 says that "The author may specify that one of the alternates is a preferred style sheet." Even without that, it should be obvious that "If two or more LINK elements specify a preferred style sheet, the first one takes precedence." means that the first one takes precedence in determining which is the preferred style sheet (set).
Summary: firebird treets two non-alternate stylesheets with different titles as alternatives → firebird treats two non-alternate stylesheets with different titles as alternatives
OK thanks, removing one of the titles changes the situation. ;)
*** Bug 317395 has been marked as a duplicate of this bug. ***
You need to log in before you can comment on or make changes to this bug.