You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Today, pointer-events caught my attention as Pygments does not highlight it. The list of recognized property names is here with 372 entries from the list at w3.org.
I checked the CSS package for Sublime Text and found these 503 entries. Of course, I'm not suggesting that Sublime is the source of truth here, it's simply a convenient point of reference for me. I'd like to understand the discrepancy between these lists. pointer-events is fully cross compatible according to MDN and presumably many other widely used names are on the list of differences.
inset is on w3 as Working Draft but absent from Pygments.
max-lines is on w3 as Working Draft but present in Pygments.
Could more of these names be added to Pygments's lexer, or are they excluded for a reason?
Thank you.
The text was updated successfully, but these errors were encountered:
I agree. Best case would be an automatic way to update the list of properties from a web source, like we do for the builtins of several other languages (see the various _xxx_builtins.py modules)
Hi, thanks for this great library.
Today,
pointer-events
caught my attention as Pygments does not highlight it. The list of recognized property names is here with 372 entries from the list at w3.org.I checked the CSS package for Sublime Text and found these 503 entries. Of course, I'm not suggesting that Sublime is the source of truth here, it's simply a convenient point of reference for me. I'd like to understand the discrepancy between these lists.
pointer-events
is fully cross compatible according to MDN and presumably many other widely used names are on the list of differences.inset
is on w3 as Working Draft but absent from Pygments.max-lines
is on w3 as Working Draft but present in Pygments.Could more of these names be added to Pygments's lexer, or are they excluded for a reason?
Thank you.
The text was updated successfully, but these errors were encountered: