简体   繁体   English

请验证:Google Web字体+ Google Chrome 11.0.696.68 + Windows 7 +文本阴影(带有rgba)=失败

[英]Validation Please: Google Web Fonts + Google Chrome 11.0.696.68 + Windows 7 + text-shadow (with rgba) = Fail

Doing a bit of research, it appears Google Chrome renders the rest of the page, but until the web font has loaded, it displays a blank space in place of the text that uses the font [source: http://code.google.com/apis/webfonts/docs/technical_considerations.html#Browser_Behavior]. 经过一些研究,似乎Google Chrome会呈现页面的其余部分,但是在加载Web字体之前,它会在使用字体[来源:http://code.google。 com / apis / webfonts / docs / technical_considerations.html#Br​​owser_Behavior]。 However, when users with Chrome 11.0.696.68 on Windows 7 display Google Web Fonts with text-shadows that have any rgba alpha value other than 1 the Google Web Font never renders. 但是,当在Windows 7上使用Chrome 11.0.696.68的用户显示带有阴影的Google Web Fonts时,该文本阴影的rgba alpha值不是1,则Google Web Font永远不会呈现。 All other browsers render the code accurately. 所有其他浏览器均准确地呈现代码。 Even Chrome 11.0.696.68 on OSX renders the code correctly. 甚至OSX上的Chrome 11.0.696.68都能正确呈现代码。 Could someone please validate that the test case below does not work in Google Chrome on Windows 7. Please list if you find a version of Chrome on Windows 7 that works with the test case below. 有人可以验证以下测试用例在Windows 7上的Google Chrome中无法使用。请列出您是否找到了在Windows 7上与以下测试用例一起使用的Chrome版本。

Here is my test case: 这是我的测试用例:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
    <link href='http://fonts.googleapis.com/css?family=Unkempt' rel='stylesheet' type='text/css'>
    <style type="text/css">
        body { background:#808080; }
        p { font:40px 'Unkempt', sans-serif; color:#fff; }
        .rgba_t { text-shadow:0px -1px rgba(0,0,0,.99); }
        .rgba_1 { text-shadow:0px -1px rgba(0,0,0,1); }
        .hex { text-shadow:0px -1px #030303; }
    </style>
    </head>
    <body>
        <p class="rgba_t">Unkempt text-shadow: rgba(0,0,0,.99)</p>
        <p class="rgba_1">Unkempt text-shadow: rgba(0,0,0,1)</p>
        <p class="hex">Unkempt text-shadow: #030303</p>
    </body>
</html>

I am running Windows 7 64bit, Chrome 12.0.742.., and the shadow one does not work for me either. 我正在运行Windows 7 64位,Chrome 12.0.742 ..,并且阴影之一也不适合我。 在此处输入图片说明

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM