[css3-fonts] font-face and !important

Posted in dotnet, vb, vb.net | No Comments »

Hi,

I was trying to figure out what to do about !important and properties of
the < at >viewport rule. I checked how it's handled for < at >font-face descriptors.

The grammar of the CSS2 spec says the descriptors are parsed as
declarations, and hence allow !important. The prose says "If a font
descriptor is duplicated, the last occurring descriptor wins and the rest
must be ignored.", but nothing about !important.

 From the latest editors draft of the CSS3 Fonts Module:

   "When a given descriptor occurs multiple times in a given < at >font-face
rule, only the last specified value is used, all prior values for that
descriptor are ignored."

I can't find anything about !important there.

I tried to search the www-style archive for "font-face !important", but
didn't find any conclusions on the subject.

Tried this in Chrome, Firefox and Opera:

<style>
< at >font-face {
   font-family: "a" !important;
   src:
url('http://themes.googleusercontent.com/font?kit=IiexqYAeh8uII223thYx3w')
format('truetype') !impo

Similar:

  1. [css3-fonts] How to handle download error in case of multiple font-face for a font-family? Hi, Assume we have the following < at >font-face rules: /* First*/ < at >font-face { font-family:myfont; src: url(General.ttf); } /* Second */ < at...
  2. Firefox 3.5 on a Mac and @font-face Hello all, Im having a problem with @font-face. It actually works flawlessly on Safari, internet explorer 7+ and Firefox for windows but not at all...
  3. Font rendering weirdness with @font-face I’m getting poor quality rendering in Safari 5 and Firefox 3 (possibly others as well, though this is what I’ve tested). I’m using a few...
  4. @font-face problem, Firefox adds padding, Chrome does not When using a custom font via @font-face, it does render just as I think it should in Chrome. In Firefox, though, additional padding (top and...
  5. How to Recognize a Font – a mini-guide to Successful Font Recognition Edit: This series of posts was originally done by Varelse. This is a reposting of the thread with all the sludge removed How To Recognize...

Leave a Reply