[whatwg] return lowercase hex values for fillStyle and strokeStyle
contact at nickshanks.com
Thu May 10 01:20:30 PDT 2007
On 10 May 2007, at 08:45, Anne van Kesteren wrote:
> On Thu, 10 May 2007 09:02:52 +0200, Nicholas Shanks
> <contact at nickshanks.com> wrote:
>> Would it not make more sense to fix the UAs.
>> lower-case hex is horrible to read.
> Feel free to convince the Microsoft Internet Explorer team. Then
> again, it's not like you'd actually read the return value
> of .fillStyle and .strokeStyle yourself anyway...
I assume one would use these getters primarily when debugging a
website during its development, and as such they would be read by
human eyes, and readability is quite important in the case of
debugging. It is easy to scan over DECA67 but deca67 might appear
more like a variable name, distracting the developer, if only
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 2157 bytes
Desc: not available
More information about the whatwg