зеркало из 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>
|
<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) {
|
||||||
|
|
Загрузка…
Ссылка в новой задаче