Skip to content

Updated ARGB support#335

Merged
cloudhead merged 5 commits intoless:masterfrom
ttfkam:argb
Aug 22, 2011
Merged

Updated ARGB support#335
cloudhead merged 5 commits intoless:masterfrom
ttfkam:argb

Conversation

@ttfkam
Copy link
Copy Markdown
Contributor

@ttfkam ttfkam commented Aug 4, 2011

I see that you pulled my work on ARGB input. I have since rethought my approach. ARGB input is not particularly interesting/useful. Only IE uses it, and then only for gradient filters. For a long-term feature, it probably isn't worth it. That is also combined with the fact that it only worked for function parameters like lighten/darken, not for raw color input, which is included verbatim by the parser without processing. I have removed ARGB input with this patch.

That said, ARGB output is definitely needed for my projects, again for IE's filters. With this patch, a user can specify rgba(...) format for their gradients and output the appropriate IE filter with corresponding #aarrggbb entries, even after being processed by the color functions.

Test cases included as well.

Finally, there is a fix to avoid a client-side scripting error (browser.js) in IE. I've been using this fix in-house for a while now and had forgotten that you hadn't applied similar patches from others in the past.

Best wishes,

Miles Elam

cloudhead pushed a commit that referenced this pull request Aug 22, 2011
update ARGB support, fix IE9 style injection
@cloudhead cloudhead merged commit 703efe2 into less:master Aug 22, 2011
@cloudhead
Copy link
Copy Markdown
Member

Thanks, makes sense.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants