Closed Bug 105305 Opened 24 years ago Closed 24 years ago

view/use stylesheet doesn't show untitled style sheets

Categories

(Core :: CSS Parsing and Computation, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: mozbugs, Assigned: dbaron)

References

()

Details

When viewing this URL, the "View/Use Stylesheet" menu looks like: --- [*] None --- despite the fact that clearly a stylesheet is being used for this page. I think the problem is that the LINK element doesn't specify a title for the sheet: <link rel=stylesheet type="text/css" href="/u/mvcorks/style.css"> On pages where the LINK element includes a title attribute, the menu works fine. - Nikita
This is not a bug. Stylesheets with titles and stylesheets without titles are different. See http://www.w3.org/TR/html4/present/styles.html#h-14.3.2 . A stylesheet without a title is persistent and a stylesheet with a title is preferred or alternate. The "Use Stylesheet" menu is designed to allow switching between preferred/alternate stylesheets as described in HTML4.
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.