Closed
Bug 245147
Opened 21 years ago
Closed 21 years ago
Firebird refuses to parse multiple stylesheets if title attribs differ
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: matti, Assigned: bugzilla)
Details
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
In files containing links to multiple CSS files, Mozilla Firebird only parses
the first stylesheet if the links contain different title attributes.
The problem disappears if the title attribs are identical, or omitted entirely.
Order of attributes in link do not seem to affect the behaviour.
Reproducible: Always
Steps to Reproduce:
Doesn't work:
<html>
<head>
---cut---
<link title="Base style" rel="stylesheet" type="text/css"
href="style/base.css"/>
<link title="Article style" rel="stylesheet" type="text/css"
href="style/article.css"/>
---cut---
</head>
Works:
<html>
<head>
---cut---
<link title="Some style" rel="stylesheet" type="text/css"
href="style/base.css"/>
<link title="Some style" rel="stylesheet" type="text/css"
href="style/article.css"/>
---cut---
</head>
Also works:
<html>
<head>
---cut---
<link rel="stylesheet" type="text/css" href="style/base.css"/>
<link rel="stylesheet" type="text/css" href="style/article.css"/>
---cut---
</head>
Expected Results:
Parse all linked CSS in correct order and serve coffee in a rubber maid costume.
Comment 1•21 years ago
|
||
This behavior is correct. If you assign a title to a style sheet, you have made
it a "preferred" style sheet. Only one style sheet can be preferred, so only
one is applied if you have multiple ones with different names.
See http://www.w3.org/TR/html401/present/styles.html#h-14.3.1
->Invalid
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•