зеркало из https://github.com/mozilla/pjs.git
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:
Родитель
4f7c06d5d0
Коммит
431a56b259
|
@ -2,7 +2,8 @@
|
|||
<html>
|
||||
<head>
|
||||
<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>
|
||||
</head>
|
||||
<body>
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<head>
|
||||
<!-- Test that removing a block element can create frames for text around it -->
|
||||
<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>
|
||||
<script>
|
||||
function remove(id) {
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<head>
|
||||
<!-- Test that inserting inline content can create frames for text around it -->
|
||||
<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>
|
||||
<script>
|
||||
function makeSpan(text) {
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
<!-- Test that insertions work in the presence of display:none elements that
|
||||
separate whitespace from block boundaries -->
|
||||
<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; }
|
||||
</style>
|
||||
<script>
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
<!-- Test that before/after generated content stops suppression correctly,
|
||||
both statically and dynamically -->
|
||||
<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"; }
|
||||
#d2:after { content:"Kitty"; }
|
||||
#d3.c:before { content:"Hello"; }
|
||||
|
|
|
@ -6,7 +6,8 @@
|
|||
twice may fail if we create a frame, then reframe, and botch the second
|
||||
reframe. -->
|
||||
<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>
|
||||
<script>
|
||||
function loaded() {
|
||||
|
|
|
@ -16,7 +16,8 @@
|
|||
</binding>
|
||||
</bindings>
|
||||
<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); }
|
||||
#d2 { -moz-binding:url(#after); }
|
||||
#d3 { -moz-binding:url(#empty1); }
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<head>
|
||||
<!-- Test that removing a <br> can create frames for text around it -->
|
||||
<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>
|
||||
<script>
|
||||
function remove(id) {
|
||||
|
|
|
@ -3,7 +3,8 @@
|
|||
<head>
|
||||
<!-- Test appends -->
|
||||
<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"; }
|
||||
#d3:after { content:"ty"; }
|
||||
</style>
|
||||
|
|
|
@ -4,7 +4,8 @@
|
|||
<!-- Test that setting a block element to display:none can create frames
|
||||
for text around it -->
|
||||
<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>
|
||||
<script>
|
||||
function hide(id) {
|
||||
|
|
Загрузка…
Ссылка в новой задаче