bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#29456: [PATCH] Add command for cycling between CSS color formats


From: Tom Tromey
Subject: bug#29456: [PATCH] Add command for cycling between CSS color formats
Date: Mon, 27 Nov 2017 11:35:04 -0700
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.90 (gnu/linux)

>>>>> "Eli" == Eli Zaretskii <address@hidden> writes:

Eli> Sorry, I don't understand: what list are you talking about?

Sorry, I misunderstood.

CSS also specifies hex and rgb syntax itself.

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.

Tom





reply via email to

[Prev in Thread] Current Thread [Next in Thread]