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 whatwg#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 whatwg#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 whatwg#2997.
* Makes it clearer that parameters are not allowed in the content type
  value for script or style. Fixes whatwg#3022.
  • Loading branch information
domenic authored and Alice Boxhall committed Jan 7, 2019
1 parent 9c0f504 commit 771c5b0
Showing 1 changed file with 99 additions and 100 deletions.
Loading

0 comments on commit 771c5b0

Please sign in to comment.