W3C home > Mailing lists > Public > www-international@w3.org > July to September 2012

Re: The :lang() selector and font-size in %

From: Gunnar Bittersmann <gunnar@bittersmann.de>
Date: Wed, 19 Sep 2012 15:43:35 +0200
Message-ID: <5059CC07.9060506@bittersmann.de>
To: www-international@w3.org
Am 2012-09-19 15:31, schrieb Najib Tounsi:
> the word Français will be italicized, OK, but amplified 130% twice!

I see your point.

> Here, *[lang="fr"] selector would be more appropriate.

Hm, I don’t think I would go this way. I’d rather add another rule to 
the stylesheet:

:lang(fr) * { font-size: inherit; }

(or 100% if you care about dinosaur browsers). See 
http://dabblet.com/gist/3749725

Regards,
Gunnar
Received on Wednesday, 19 September 2012 13:44:01 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 19 September 2012 13:44:02 GMT