bug 550163 - part 12 - use sans-serif and letter-spacing to avoid Win7 subpixel failure where 'tt' glyphs touch in reftest 495385. r=roc

This commit is contained in:
Jonathan Kew 2010-03-08 10:11:00 +00:00
Родитель 4f7c06d5d0
Коммит 431a56b259
10 изменённых файлов: 20 добавлений и 10 удалений

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

@ -2,7 +2,8 @@
<html> <html>
<head> <head>
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
</style> </style>
</head> </head>
<body> <body>

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

@ -3,7 +3,8 @@
<head> <head>
<!-- Test that removing a block element can create frames for text around it --> <!-- Test that removing a block element can create frames for text around it -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
</style> </style>
<script> <script>
function remove(id) { function remove(id) {

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

@ -3,7 +3,8 @@
<head> <head>
<!-- Test that inserting inline content can create frames for text around it --> <!-- Test that inserting inline content can create frames for text around it -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
</style> </style>
<script> <script>
function makeSpan(text) { function makeSpan(text) {

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

@ -4,7 +4,8 @@
<!-- Test that insertions work in the presence of display:none elements that <!-- Test that insertions work in the presence of display:none elements that
separate whitespace from block boundaries --> separate whitespace from block boundaries -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
em { display:none; } em { display:none; }
</style> </style>
<script> <script>

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

@ -4,7 +4,8 @@
<!-- Test that before/after generated content stops suppression correctly, <!-- Test that before/after generated content stops suppression correctly,
both statically and dynamically --> both statically and dynamically -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
#d1:before { content:"Hello"; } #d1:before { content:"Hello"; }
#d2:after { content:"Kitty"; } #d2:after { content:"Kitty"; }
#d3.c:before { content:"Hello"; } #d3.c:before { content:"Hello"; }

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

@ -6,7 +6,8 @@
twice may fail if we create a frame, then reframe, and botch the second twice may fail if we create a frame, then reframe, and botch the second
reframe. --> reframe. -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
</style> </style>
<script> <script>
function loaded() { function loaded() {

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

@ -16,7 +16,8 @@
</binding> </binding>
</bindings> </bindings>
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
#d1 { -moz-binding:url(#before); } #d1 { -moz-binding:url(#before); }
#d2 { -moz-binding:url(#after); } #d2 { -moz-binding:url(#after); }
#d3 { -moz-binding:url(#empty1); } #d3 { -moz-binding:url(#empty1); }

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

@ -3,7 +3,8 @@
<head> <head>
<!-- Test that removing a <br> can create frames for text around it --> <!-- Test that removing a <br> can create frames for text around it -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
</style> </style>
<script> <script>
function remove(id) { function remove(id) {

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

@ -3,7 +3,8 @@
<head> <head>
<!-- Test appends --> <!-- Test appends -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
#d2:after { content:"Kitty"; } #d2:after { content:"Kitty"; }
#d3:after { content:"ty"; } #d3:after { content:"ty"; }
</style> </style>

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

@ -4,7 +4,8 @@
<!-- Test that setting a block element to display:none can create frames <!-- Test that setting a block element to display:none can create frames
for text around it --> for text around it -->
<style> <style>
body > div { border:1px solid black; margin:1em; } body > div { border:1px solid black; margin:1em;
font-family:sans-serif; letter-spacing:2px; }
</style> </style>
<script> <script>
function hide(id) { function hide(id) {