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>
<html>
<body>
before after
<body style="font-family:sans-serif;">
before after!
</body>
</html>

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

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