Re: Compression CSS : erreur d'analyse

Stephane Deschamps <[email protected]>
Newsgroups gmane.comp.web.spip.devel
Message-ID <[email protected]>
Le 27/11/2015 11:34, Cédric Morin a écrit :
> Hello,
> 
> Je crois pas que ce cas ait été remonté. Le minifieur condense en effet
> les 3 règles en une seule règle font, mais on dirait que
> font:700 200% inherit
> n'est pas acceptée avec un inherit je suppose ?
> 
> Le navigateur attend une font family explicite, et pas un inherit ?

Il se peut effectivement que ce soit ça, cf.
https://drafts.csswg.org/css-fonts-3/#propdef-font-family :
Name: 	font-family
Value: 	[ <family-name> | <generic-family> ] #

Auquel fait référence https://drafts.csswg.org/css-fonts-3/#font-prop :
Name: 	font
Value: 	[ [ <‘font-style’> || <font-variant-css21> || <‘font-weight’> ||
<‘font-stretch’> ]? <‘font-size’> [ / <‘line-height’> ]? <‘font-family’>
] | caption | icon | menu | message-box | small-caption | status-bar

Je n'ai pas tout lu mais on dirait bien qu'effectivement inherit n'a pas
sa place ici.
signature.asc (application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iQIcBAEBAgAGBQJWWEXeAAoJEMhONlkIMNxsB4gQAITENfogdp1YFRwURe9Fr/3m
40b0PqB6fX7YiabnHpV16UGkVfHl8Xkq8lrlLNUW/FdUorfqjr7HBVemN/VauxX3
FENzT6FWpfg4GKkRJx/pXwCtwb9V/ZGffR9JEJDUH6DObaHCAlTZk+WEsKdMzVhP
Q2E/XVdo1e5B/2pAmioBoqd0TRQbHImAVJigb6kNGgbq18RrHE2+z2zBRverDR08
T908jo1cwMqx+wMWu+G+FB/UElR17OllCPIW2X0W8OOb8FwcbUCqnyvzyCJ0XnCP
N0NsogI/ASiTFel4zkhh1+7k2HOgXtHXeChYdHMQCeVk+ZgNZDG7WPImmFAS/gcN
9Gf3Dd5Kq3ijlInvtGlHG0lUKPzkvux+vHkqaPVSSQ4g5qA7NH0ATjYDjzu6Ee3T
788QuQGZ+p/tQBt2MhpamZYMTMOaw5Hcq89JbsbC6R84LiUBBexsmPe9rp2nunh0
wSb5iWMyu1btFFv2Mr2FD8t0kcnRbnM4F8dP5Xbo1gQ6M+mlJ4uc10u/Xnn8ckAP
4BVJcs19n+Gji2AHwsTRRPwCn+AjRf5dUSHZPH6sBMxKLxFaxVJ7nZTK+G8BanXX
zhmVwMdpvj4Fs1Hykr4unllV4y5VynkAv0f7emaOzOONy+5rmnkMjqzk1VJzUC2P
SBGRpXLzMKYbc4pdeMHa
=wZ1l
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.