This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
HTML4 tells how to set the 'default-style' via the server as well as via a META declaration. http://localhost/~s/merkjemål/html4/present/styles.html#h-14.2.1 At least Mozilla browsers obey both. Please spec that 'default-style' can be defined either by the server or by a META declaration.
The link to HTML4 was meant to be: http://www.w3.org/TR/html4/present/styles#h-14.2.1 As part of the solution to this bug, please say that if the value of the default-style META declaration is the empty string, <META http-equiv="default-style" content="<emptystring>"> then the user agent will go an look for what the http-header says. (This is how Mozilla browsers behave, and is also congruent with what the spec says about how user agents should behave whenever the META 'content-language' declaration is the empty string.)
(In reply to comment #1) > The link to HTML4 was meant to be: > http://www.w3.org/TR/html4/present/styles#h-14.2.1 > > As part of the solution to this bug, please say that if the value of the > default-style META declaration is the empty string, > > <META http-equiv="default-style" content="<emptystring>"> > > then the user agent will go an look for what the http-header says. > > (This is how Mozilla browsers behave, and is also congruent with what the spec > says about how user agents should behave whenever the META 'content-language' > declaration is the empty string.) It turns out that this claim about Mozilla was incorrect. The following http-equiv, <META http-equiv="default-style" content="<empty-string>"> will make the following style sheet <style title="<empsty-string>">...</style> the preferred style sheet! (Tested in Webkit and Mozilla.)
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document: http://dev.w3.org/html5/decision-policy/decision-policy.html Status: Rejected Change Description: no spec change Rationale: This is out of scope for HTML. The HTTP header isn't in HTML and doesn't affect HTML. It should either be defined in CSSOM, or in HTTP, or in its own spec.