After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 741253 - css: recognize value "both" for the "clear" property
css: recognize value "both" for the "clear" property
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: Syntax files
3.10.x
Other Linux
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2014-12-08 13:51 UTC by teo (Account deactivated)
Modified: 2015-01-04 17:49 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description teo (Account deactivated) 2014-12-08 13:51:12 UTC
Example css code:

.blind-topright {
	float: right;
	clear: both;
}

Expected:
"both" is a valid value for the "clear" property just as "right" is a valid value for the "float" property. Hence they should be highlighted the same way.

Observed:
The "right" keyword is highlighted in pink, indicating it's a valid value for a css property. The "both" keyword is displayed in plain black, just as "ljsdbjbf" would be.


Please don't underestimate the importance of syntax-highlighting bugs. A text editor is close to useless for editing code if syntax highlight is not reliable.
Comment 1 Paolo Borelli 2015-01-04 17:49:12 UTC
This problem has been fixed in our software repository. The fix will go into the next software release. Thank you for your bug report.