зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
b962667cc2
Коммит
956ca25f38
|
@ -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>
|
||||
|
|
Загрузка…
Ссылка в новой задаче