Version: Notepad2-mod (64-bit) 4.2.25 r858 (3f0683d)
Operating system: Windows 7 Professional (64-bit)
Summary:
The schemes for HTML ("Web Source Code") and CSS ("CSS Style Sheets") are both missing a number of keywords. These keywords are currently highlighted using the "unknown" settings for their respective context. To resolve the issue, they should be added to the appropriate keyword lists in Notepad2-mod.
For example, if you set the scheme to "Web Source Code" and type <main>
, that element tag will be displayed using the settings for "HTML Unknown Tag" instead of the settings for "HTML Tag".
Missing HTML elements (Should use: Web Source Code > HTML Tag)
Missing deprecated HTML elements: (Should use: Web Source Code > HTML Tag)
These elements are deprecated and not part of any current standard, and some are ignored entirely by modern browsers. However, since some deprecated elements are included in the HTML highlighting scheme, I'm not sure whether you want to support old stuff or not. Let me know if you want the reverse of this list (deprecated elements that are currently recognized but chould be removed).
bgsound
blink
listing
marquee
nobr
plaintext
spacer
xmp
Missing HTML attributes: (Should use: Web Source Code > HTML Attribute)
buffered
crossorigin
download
irrelevant
itemprop
mediagroup
muted
oncancel
onclose
translate
typemustmatch
Missing CSS @rules: (Should use: CSS Style Sheets > Directive)
Missing CSS properties: (Should use: CSS Style Sheets > CSS Property)
animation-fill-mode
aspect-ratio
clip-path
clip-rule
flex
flex-basis
flex-direction
flex-flow
flex-grow
flex-shrink
flex-wrap
flow-from
flow-into
font-feature-settings
font-synthesis
hyphenate-limit-chars
hyphenate-limit-last
hyphenate-limit-lines
hyphenate-limit-zone
interpret-as
line-break
object-fit
object-position
order
overflow-wrap
region-overflow
shape-image-threshold
shape-inside
shape-outside
text-combine
text-decoration-color
text-decoration-line
text-decoration-style
text-overflow
wrap
wrap-flow
wrap-margin
wrap-padding
wrap-through
writing-mode
The above list doesn't include any of the ~75 properties that are defined in CSS3 or CSS4 but are not supported by any browsers and (in some cases) are still under revision. A list of such properties is here if you do want to do anything with them:
https://gist.github.com/phanx/c0c9f9f0ee8d3163bfcd