Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

-moz-apperance input radio/checkbox

20 views
Skip to first unread message

Ismael González

unread,
Aug 22, 2013, 5:48:24 AM8/22/13
to B2G Dev List
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

Kevin Grandon

unread,
Aug 22, 2013, 12:56:36 PM8/22/13
to Ismael González, B2G Dev List
Additionally this would be really nice to have for select elements: https://bugzilla.mozilla.org/show_bug.cgi?id=649849

We currently have some really nasty workarounds for this in gaia.

-Kevin
_______________________________________________
dev-b2g mailing list
dev...@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-b2g

Anthony Ricaud

unread,
Aug 23, 2013, 9:53:50 AM8/23/13
to mozilla...@lists.mozilla.org
In general, how should we mark those nice-to-have bugs to raise awareness?
I'd suggest marking them as blocking the corresponding B2G bugs. Also,
not committing a hack in Gaia to fix a Gecko bug is a strong incentive
(you have to balance this with deadlines of course).

For devtools, we created a meta-bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=gaia-devtools.

Jonas Sicking

unread,
Sep 16, 2013, 10:09:06 PM9/16/13
to Ismael González, L. David Baron, B2G Dev List
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" <igonzale...@gmail.com>
wrote:
0 new messages