Skip to content
Permalink
Browse files

Improve <style> and <script> processing and conformance

* De-genericizes <style> and <link rel="stylesheet"> to only deal with
  CSS. Fixes #2995.
* Makes type="" on <style> "obsolete but conforming", since it is always
  redundant.
* Makes type="(a JS MIME type)" on <script> obsolete but conforming as
  well. Previously we had a "should" requirement but had not recorded it
  in the centralized obsolete-but-conforming section that collects such
  requirements.
* Makes <style> operate on child text content. Fixes #2996.
* Replaces the conformance requirement (noted in the source as
  "temporary") prohibiting unmatched comment-like syntax inside <style>
  with a conformance requirement to be valid CSS.
* Adds pointers to #2997.
* Makes it clearer that parameters are not allowed in the content type
  value for script or style. Fixes #3022.
  • Loading branch information
domenic authored and annevk committed Sep 14, 2017
1 parent 5a1f481 commit 9c612ac8641b5174849a2d3cb924fe662a8d3a09
Showing with 99 additions and 100 deletions.
  1. +99 −100 source

0 comments on commit 9c612ac

Please sign in to comment.
You can’t perform that action at this time.