W3C home > Mailing lists > Public > www-validator-css@w3.org > June 2012

@font-face under CSS 2.1

From: Paul Arzul <paul.arzul@gmail.com>
Date: Thu, 21 Jun 2012 01:52:11 +0200
Message-ID: <CACAaQJRxiaYwpbbroCN5YuUbSNXO2yRwXSz9kAKLY+5uTib4qQ@mail.gmail.com>
To: www-validator-css@w3.org
Hello everyone,

Under CSS 2.1 validation:

@font-face { margin: 0; }

fails correctly, but with an incorrect error message:

Value Error : margin Property margin doesn't exist in CSS level 2.1
but exists in [css1, css2, css3] :  0

I think it should read something about @font-face not being in CSS
level 2.1, not the margin property. You can try with something more
sensible like "font-weight: bold;" and get the same issue.
Received on Wednesday, 20 June 2012 23:52:40 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 27 June 2012 00:14:29 GMT