Update HTML keywords (#1530)
commit70273779981e4ce3610955ee4d27f557188c3717
authorVasiliy Faronov <vfaronov@gmail.com>
Tue, 11 Jul 2017 23:44:53 +0000 (12 02:44 +0300)
committerelextr <elextr@gmail.com>
Tue, 11 Jul 2017 23:44:53 +0000 (12 09:44 +1000)
tree63a935b83bd0a36a51c46b3f7fc41a64c12d15bc
parent71b8fea91da0fab6b17f1ebb85a3099cd256282e
Update HTML keywords (#1530)

* Add newly standardized HTML elements to filetypes.html

To enable highlighting them as keywords in HTML documents, add
the following elements defined in W3C HTML 5.1
(https://www.w3.org/TR/html51/fullindex.html#index-elements):

- menuitem
- picture
- rb
- rtc
- template

as well as the following elements defined in WHATWG HTML Living Standard
(https://html.spec.whatwg.org/multipage/indices.html#elements-3):

- math
- slot
- svg

* Add newly standardized HTML attributes to filetypes.html

To enable highlighting them as keywords in HTML documents, add
30 attributes defined in W3C HTML 5.1
(https://www.w3.org/TR/html51/fullindex.html#attributes-table)
and a further 15 attributes defined in the WHATWG HTML Living Standard
(https://html.spec.whatwg.org/multipage/indices.html#attributes-3).

* Sort the list of HTML keywords
data/filedefs/filetypes.html