Re: Intent to implement and ship: #rgba and #rrggbbaa color syntax in CSS

2016-05-09 Thread L. David Baron
On Monday 2016-05-09 11:42 -0700, Jet Villegas wrote: > Is this a follow-up, or are we prevented from parsing extended HTML color > attributes by some other invariant? Colors in HTML use a parsing algorithm that basically accepts all garbage, and people depend on that, so we're probably unable to

Re: Intent to implement and ship: #rgba and #rrggbbaa color syntax in CSS

2016-05-09 Thread Jet Villegas
On Sun, May 8, 2016 at 10:35 PM, L. David Baron wrote: > I just landed a patch to implement the #rgba and #rrggbbaa syntax > for colors in CSS, > Nice! > It affects only colors specified in CSS, and not those specified in > HTML attributes. > > Is this a follow-up, or are we prevented from par

Re: Intent to implement and ship: #rgba and #rrggbbaa color syntax in CSS

2016-05-09 Thread Patrick Brosset
(cross posting to dev-developer-tools) I just filed the following bug for devtools support: https://bugzilla.mozilla.org/show_bug.cgi?id=1271191 Right now, the devtools inspector panel displays CSS colors (in the Rules sidebar panel) as editable color swatches, and allows to convert between the v

Intent to implement and ship: #rgba and #rrggbbaa color syntax in CSS

2016-05-08 Thread L. David Baron
I just landed a patch to implement the #rgba and #rrggbbaa syntax for colors in CSS, and realized I probably should have sent an intent to dev-platform slightly sooner. This is an additional syntax for an existing feature already usable as the rgba() and hsla() color functions, commonly requested