GNU bug report logs -
#29456
[PATCH] Add command for cycling between CSS color formats
Previous Next
Reported by: Simen Heggestøyl <simenheg <at> gmail.com>
Date: Sun, 26 Nov 2017 15:23:01 UTC
Severity: wishlist
Tags: patch
Done: Simen Heggestøyl <simenheg <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> From: Tom Tromey <tom <at> tromey.com>
> Cc: Tom Tromey <tom <at> tromey.com>, simenheg <at> gmail.com, 29456 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
> Date: Mon, 27 Nov 2017 11:35:04 -0700
>
> Eli> A comment will help, but I'm actually wondering why does css-mode need
> Eli> to use 12-bit or 16-bit per component RGB notation? Why not use only
> Eli> 8-bit, as in #RRGGBB? The problems only happen in converting 8-bit
> Eli> RGB notations to higher number of bits.
>
> #RGB is specified by CSS, it is equivalent to #RRGGBB, and is often
> seen. With css-color-4, #RGBA is also allowed.
>
> Basically css-mode needs to understand the peculiarities of CSS syntax,
> which differs somewhat from other systems AFAIK.
Then I think there should be a prominent remark in the doc strings of
css-mode not to mix these functions with those from color.el, due to
this incompatibility.
This bug report was last modified 7 years and 221 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.