GNOME Bugzilla – Bug 663099
CSS3 syntax support
Last modified: 2016-01-24 18:17:14 UTC
CSS 3 does not seem to be supported yet, see http://www.css3.info/preview/ for the new elements. I guess these should be added to the CSS syntax file.
Created attachment 319590 [details] [review] Add css3 keywords and floats to lang file The current syntax highlighting file is missing many css3 properties and values. This patch adds many keywords, but excludes the more experimental ones. Also some duplicate keywords were removed. The current lang-file is also missing a definition for floats. The patch adds the appropriate regex and assigns them the same color as the 'number with unit' regex. https://bugzilla.gnome.org/show_bug.cgi?id=663099 Fixes bug #663099
Created attachment 319613 [details] [review] Add CSS3-keywords and float-definition to lang file The current syntax highlighting file is missing many css3 properties and values. This patch adds many keywords, but excludes the more experimental ones. The keywords, values and at-rules were added in separate contexts so css1+2 and css3 keywords are separated. Furthermore the regexes were improved to reduce mismatches of properties as values and vice-versa. Some duplicate keywords were removed. The current lang-file is also missing a definition for floats. The patch adds the appropriate regex and assigns them the same color as the 'number with unit' regex. https://bugzilla.gnome.org/show_bug.cgi?id=663099 Fixes bug #663099
Thank you!