RESOLVED WONTFIX 80515
Pravin_D HTML meta http-equiv "Content-Style-Type" not supported
https://bugs.webkit.org/show_bug.cgi?id=80515
Summary HTML meta http-equiv "Content-Style-Type" not supported
Pravin D
Reported 2012-03-07 08:46:01 PST
Overview: meta http-equiv "Content-Style-Type" is used to set the default style sheet language for a document. Any HTML tag having a style attribute must use the default style sheet language set by "Content-Style-Type" to parse the style content. If default style sheet language is not set then CSS will be set as the default style sheet language. Steps to Reproduce: 1) Fetch the test URL 2) Observe how ~(41a). Style set by style attribute in a language tagged as "text/nonsense".~ is rendered. Expected Results: The text ~(41a). Style set by style attribute in a language tagged as "text/nonsense".~ must not have any styling, i.e text must be black with white background color. Actual Results: The text ~(41a). Style set by style attribute in a language tagged as "text/nonsense".~ has styling with the text color as "red" on yellow background. Builds and Platforms: Reproducible on all platforms and build Additional Information: 1) The test URL has a good explanation of the test case . 2) For information on meta http-equiv "Content-Style-Type" refer to: http://www.w3.org/TR/REC-html40/present/styles.html#h-14.2.1
Attachments
Patch (21.36 KB, patch)
2012-03-13 07:51 PDT, Pravin D
ap: review-
Alexey Proskuryakov
Comment 1 2012-03-07 09:41:34 PST
Does this work in other browsers? Is there any existing content depending on this?
Vivek Galatage
Comment 2 2012-03-07 09:52:51 PST
I have verified this on firefox both on linux ( ubuntu 11.10 64-bit ) as well as on windows 7. It works as expected. Whereas webkit based browsers show this particular line in red color.
Pravin D
Comment 3 2012-03-13 07:51:14 PDT
Alexey Proskuryakov
Comment 4 2012-03-13 09:00:06 PDT
Comment on attachment 131610 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=131610&action=review > Source/WebCore/ChangeLog:8 > + style type for the document. However from HTML 5 onwards the default > + style type is text/css and cannot be set by meta tags. We do not aim to support pre-HTML5 features. Anything that's in earlier standards but not in HTML5 is presumed to be unnecessary for web compatibility.
Note You need to log in before you can comment on or make changes to this bug.