зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1056516 - add tests to our local reftests folder. r=jfkthame
MozReview-Commit-ID: 1Az4xBe6Nts --HG-- extra : rebase_source : 1dbac56b33380c37a81070b0439af1750f08ef81
This commit is contained in:
Родитель
2cb71eafe4
Коммит
e1982f47d8
|
@ -0,0 +1,47 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
code {
|
||||||
|
display:block;
|
||||||
|
hyphens:manual;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body lang="en-us">
|
||||||
|
<!--
|
||||||
|
Hyphenation opportunities of the texts in this test are as follows,
|
||||||
|
|
||||||
|
frag[A]ilis[A]tic[C]ex[A]pi[A]ali
|
||||||
|
|
||||||
|
where [A] is an automatic hyphen, and [C] is a conditional hyphen.
|
||||||
|
|
||||||
|
In this test, we set width to somewhere between every pair of adjacent hyphenations,
|
||||||
|
then we see if lines break correctly.
|
||||||
|
-->
|
||||||
|
<code style="width:4ch;">
|
||||||
|
frag-<br />ilis-<br />tic-<br />ex-<br />pi-<br />ali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:5ch;">
|
||||||
|
frag-<br />ilis-<br />tic-<br />expi-<br />ali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:9ch;">
|
||||||
|
fragilis-<br />tic-<br />expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:12ch;">
|
||||||
|
fragilistic-<br />expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:14ch;">
|
||||||
|
fragilistic-<br />expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:16ch;">
|
||||||
|
fragilistic-<br />expiali
|
||||||
|
</code>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,47 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
code {
|
||||||
|
display:block;
|
||||||
|
hyphens:auto;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body lang="en-us">
|
||||||
|
<!--
|
||||||
|
Hyphenation opportunities of the texts in this test are as follows,
|
||||||
|
|
||||||
|
frag[A]ilis[A]tic[C]ex[A]pi[A]ali
|
||||||
|
|
||||||
|
where [A] is an automatic hyphen, and [C] is a conditional hyphen.
|
||||||
|
|
||||||
|
In this test, we set width to somewhere between every pair of adjacent hyphenations,
|
||||||
|
then we see if lines break correctly.
|
||||||
|
-->
|
||||||
|
<code style="width:4ch;">
|
||||||
|
fragilistic­expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:5ch;">
|
||||||
|
fragilistic­expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:9ch;">
|
||||||
|
fragilistic­expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:12ch;">
|
||||||
|
fragilistic­expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:14ch;">
|
||||||
|
fragilistic­expiali
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:16ch;">
|
||||||
|
fragilistic­expiali
|
||||||
|
</code>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,22 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
code {
|
||||||
|
display:block;
|
||||||
|
hyphens:manual;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body lang="en-us">
|
||||||
|
<code style="width:15ch;">
|
||||||
|
Supercali-<br />fragilistic-<br />expialidocious
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:15ch;">
|
||||||
|
Supercali‐<br />fragilistic‐<br />expialidocious
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,27 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
code {
|
||||||
|
display:block;
|
||||||
|
hyphens:auto;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body lang="en-us">
|
||||||
|
<!--
|
||||||
|
Test checks that automatic hyphenation opportunities within a word
|
||||||
|
must be ignored if the word contains an explicit hyphen (U+2010) or hyphen-minus (U+002D),
|
||||||
|
in favor of the conditional hyphen(s)
|
||||||
|
-->
|
||||||
|
<code style="width:15ch;">
|
||||||
|
Supercali-fragilistic-expialidocious
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
<code style="width:15ch;">
|
||||||
|
Supercali‐fragilistic‐expialidocious
|
||||||
|
</code>
|
||||||
|
<br />
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,17 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
code {
|
||||||
|
display:block;
|
||||||
|
hyphens:manual;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body lang="en-us">
|
||||||
|
<code style="width:100ch;">
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTU-<br />VWXYZsupercalifragilisticexpialidocious-<br />ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
</code>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -0,0 +1,21 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
code {
|
||||||
|
display:block;
|
||||||
|
hyphens:auto;
|
||||||
|
border: 1px solid black;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
<body lang="en-us">
|
||||||
|
<!--
|
||||||
|
Test checks that automatic hyphenation opportunities should honor
|
||||||
|
manual hyphenation opportunities even if they are within an extreme long word.
|
||||||
|
-->
|
||||||
|
<code style="width:100ch;">
|
||||||
|
ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZsuper­cali­fragi­listic­expiali­docious­ABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZABCDEFGHIJKLMNOPQRSTUVWXYZ
|
||||||
|
</code>
|
||||||
|
</body>
|
||||||
|
</html>
|
|
@ -316,6 +316,10 @@ HTTP(..) == graphite-surrogate-selection.html graphite-surrogate-selection-ref.h
|
||||||
|
|
||||||
== auto-hyphenation-transformed-1.html auto-hyphenation-transformed-1-ref.html
|
== auto-hyphenation-transformed-1.html auto-hyphenation-transformed-1-ref.html
|
||||||
|
|
||||||
|
== hyphenation-control-1.html hyphenation-control-1-ref.html
|
||||||
|
== hyphenation-control-2.html hyphenation-control-2-ref.html
|
||||||
|
== hyphenation-control-3.html hyphenation-control-3-ref.html
|
||||||
|
|
||||||
# osx-font-smoothing - with and without subpixel AA, only under OSX
|
# osx-font-smoothing - with and without subpixel AA, only under OSX
|
||||||
fails-if(!cocoaWidget) != osx-font-smoothing.html osx-font-smoothing-ref.html
|
fails-if(!cocoaWidget) != osx-font-smoothing.html osx-font-smoothing-ref.html
|
||||||
fails-if(!cocoaWidget) != osx-font-smoothing-2.html osx-font-smoothing-2-notref.html
|
fails-if(!cocoaWidget) != osx-font-smoothing-2.html osx-font-smoothing-2-notref.html
|
||||||
|
|
Загрузка…
Ссылка в новой задаче