bug 579414 - use sans-serif font and modify text to avoid Win7 random orange due to clipped antialiasing pixels [test-only fix]

This commit is contained in:
Jonathan Kew 2010-07-17 13:38:36 +01:00
Родитель b962667cc2
Коммит 956ca25f38
2 изменённых файлов: 6 добавлений и 3 удалений

Просмотреть файл

@ -1,6 +1,6 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html>
<body> <body style="font-family:sans-serif;">
before after before after!
</body> </body>
</html> </html>

Просмотреть файл

@ -7,6 +7,9 @@
<link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"/> <link rel="help" href="http://www.w3.org/TR/CSS21/generate.html#content"/>
<meta name="flags" content="dom" /> <meta name="flags" content="dom" />
<style> <style>
body {
font-family:sans-serif;
}
body::before { body::before {
content:attr(my-attr); content:attr(my-attr);
} }
@ -17,7 +20,7 @@ body::after {
<script> <script>
function fixupDOM() { function fixupDOM() {
document.body.setAttribute("my-attr", "before"); document.body.setAttribute("my-attr", "before");
document.body.setAttribute("my-attr-2", "after"); document.body.setAttribute("my-attr-2", "after!");
document.documentElement.className = ""; document.documentElement.className = "";
} }
</script> </script>