我们已经实现了一个字体工具包,但仍然遇到字体如何呈现数字的问题。出于某种原因,这些数字似乎在其基线上方和下方浮动,使它们看起来“有弹性”。我们实现了 webfont 工具包,下面是 CSS 示例:
@font-face {
font-family: "interval_semi_bold";
font-style: normal;
font-weight: normal;
src: url("/common/fonts/interval_semi_bold-webfont.eot?#iefix") format("embedded-opentype"), url("/common/fonts/interval_semi_bold-webfont.woff") format("woff"), url("/common/fonts/interval_semi_bold-webfont.ttf") format("truetype"), url("/common/fonts/interval_semi_bold-webfont.svg#IntervalSansProBold") format("svg");
}
@font-face {
font-family: "interval_regular";
font-style: normal;
font-weight: normal;
src: url("/common/fonts/interval_regular-webfont.eot?#iefix") format("embedded-opentype"), url("/common/fonts/interval_regular-webfont.woff") format("woff"), url("/common/fonts/interval_regular-webfont.ttf") format("truetype"), url("/common/fonts/interval_regular-webfont.svg#IntervalSansProBold") format("svg");
}
问题:在浏览器如何解释@font-face 声明方面,"" 选择器的行为是否与 '' 选择器不同?