File tree Expand file tree Collapse file tree 1 file changed +21
-9
lines changed Expand file tree Collapse file tree 1 file changed +21
-9
lines changed Original file line number Diff line number Diff line change 557557)
558558
559559voidElements = frozenset ([
560+ "area" ,
560561 "base" ,
561- "command" ,
562- "event-source" ,
563- "link" ,
564- "meta" ,
565- "hr" ,
566562 "br" ,
567- "img" ,
568- "embed" ,
569- "param" ,
570- "area" ,
571563 "col" ,
564+ "command" , # removed ^1
565+ "embed" ,
566+ "event-source" , # renamed and later removed ^2
567+ "hr" ,
568+ "img" ,
572569 "input" ,
570+ "link" ,
571+ "meta" ,
572+ "param" , # deprecated ^3
573573 "source" ,
574574 "track" ,
575575 "wbr" ,
576576])
577577
578+ # Removals and deprecations in the HTML 5 spec:
579+ # ^1: command
580+ # http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2012-December/038472.html
581+ # https://github.com/whatwg/html/commit/9e2e25f4ae90969a7c64e0763c98548a35b50af8
582+ # ^2: event-source
583+ # renamed to eventsource in 7/2008:
584+ # https://github.com/whatwg/html/commit/d157945d0285b4463a04b57318da0c4b300a99e7
585+ # removed entirely in 2/2009:
586+ # https://github.com/whatwg/html/commit/43cbdbfbb7eb74b0d65e0f4caab2020c0b2a16ff
587+ # ^3: param
588+ # https://developer.mozilla.org/en-US/docs/Web/HTML/Element/param
589+
578590cdataElements = frozenset (['title' , 'textarea' ])
579591
580592rcdataElements = frozenset ([
You can’t perform that action at this time.
0 commit comments