GNOME Bugzilla – Bug 770206
css.lang: Add support for 4 and 8 digit hexadecimal color notation
Last modified: 2016-08-21 17:51:37 UTC
CSS now supports 8 and 4 digit hex color notation [1]. Firefox will start supporting this in version 49 and Chrome in version 52 [2]. I will attach a patch that updates the appropriate context. [1] https://drafts.csswg.org/css-color/#hex-notation [2] https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
Created attachment 333825 [details] [review] css.lang: Add support for 8 and 4 digit hex color notation Currently 8 digit (e.g. '#aabbccff') and four digit (e.g. '#abcf') color notation is not highlighted similar to other hexadecimal colors. This commit updates the 'hexadecimal-color' context to fix the issue.
Review of attachment 333825 [details] [review]: ++
Pushed.