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.
* 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 committed Sep 8, 2017
1 parent 1ed6d11 commit 509e84f
Showing 1 changed file with 119 additions and 99 deletions.
Loading

0 comments on commit 509e84f

Please sign in to comment.