incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Armin Le Grand <>
Subject Re: [UI] ColorPicker - entering hex color code
Date Fri, 20 Jul 2012 08:57:38 GMT
> It depends on what we mean by "expected".   I suspect the typical user
> does not touch hexadecimal.  Programmers who are not web developers
> probably expect this to be treated like a number, i.e., they are
> entering the three least significant digits and it will be padded with
> zeros to the left.  Some users, those who are web developers, might
> know (but it is not guaranteed) that CSS3 defines what this means:
> "The format of an RGB value in hexadecimal notation is a #
> immediately followed by either three or six hexadecimal characters.
> The three-digit RGB notation (#rgb) is converted into six-digit form
> (#rrggbb) by replicating digits, not by adding zeros. For example,
> #fb0 expands to #ffbb00. This ensures that white (#ffffff) can be
> specified with the short notation (#fff) and removes any dependencies
> on the color depth of the display."
> See:

Thanks. I think we should stick to that definition. Thus I suggest:
- Allow Field as Input (see comments from Regina)
- Ignore when not three or six valid hexadecimal signs
- Apply HelpID
- Adapt Help entries

I will write a task for it when discussion led to a consensus.

> Regards,
> -Rob
>> Regards
>> --
>> Ariel Constenla-Haile
>> La Plata, Argentina


View raw message