This is by no means a simple problem. But I agree that it really needs to
be addressed.

I would recommend reaching out to the layout team and see if we could get
some of their attention on this. This shouldn't be a problem that we need
to solve on our own since it is by no means specific to B2G.

Starting with a proposal and getting the layout teams feedback is probably
a good start.

I know one of the tricky aspects is how "-moz-appearance: none" works. I.e.
when it kicks in, what styling it has, how you remove that style, how it
interacts with "all: initial" etc.

/ Jonas
On Aug 22, 2013 5:48 AM, "Ismael González" <[email protected]>
wrote:

> Hi all,
> I'm Ismael González <basiclines> and i am currently working with Arnau
> <rnowm> and Pavel Ivanov <pivanov> in the Building Blocks refactor.
>
> I wanted to raise up an issue that has been there since many time, at
> least 3 years, and it's about you can't style a radio/checkbox input via
> CSS due to heavy binding to UA styles:
>
> https://bugzilla.mozilla.org/show_bug.cgi?id=605985
>
> The goal is allow to style them via `-moz-appearance: none` as it already
> happen in other browser engines.
>
> This will allow us (Building Blocks project) to simplify the markup for
> our custom radio/check/switch elements that currently relays on
> `input:checked + span` rules.
> As this components are being used among all the Gaia project, i think the
> benefits are obvious.
>
> Thx
>
> BTW: web developers community will love to have this fixed also in Firefox
> :D
>
> --Ismael González / @basiclines
> _______________________________________________
> dev-b2g mailing list
> [email protected]
> https://lists.mozilla.org/listinfo/dev-b2g
>
_______________________________________________
dev-b2g mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-b2g

Reply via email to