Skip to content

Commit

Permalink
Improve <style> and <script> processing and conformance
Browse files Browse the repository at this point in the history
* 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 9c612ac
Showing 1 changed file with 99 additions and 100 deletions.
Loading

0 comments on commit 9c612ac

Please sign in to comment.