mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 718539. Update reftests to use new font-feature-settings syntax. r=jkew
This commit is contained in:
parent
36057fec8a
commit
a867268ca7
@ -4,7 +4,7 @@
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
-moz-font-feature-settings: "hlig=1";
|
||||
-moz-font-feature-settings: "hlig";
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
|
@ -4,13 +4,13 @@
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
-moz-font-feature-settings: "hlig=1";
|
||||
-moz-font-feature-settings: "hlig";
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig=0,liga=0";
|
||||
-moz-font-feature-settings: "hlig" off, "liga" off;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
20
layout/reftests/font-features/font-features-hlig-4.html
Normal file
20
layout/reftests/font-features/font-features-hlig-4.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
-moz-font-feature-settings: "hlig" off;
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig" on;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
fastest firefox
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/font-features/font-features-hlig-5.html
Normal file
20
layout/reftests/font-features/font-features-hlig-5.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
-moz-font-feature-settings: "hlig";
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig" off;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
fastest firefox
|
||||
</body>
|
||||
</html>
|
@ -9,7 +9,7 @@ body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig=1";
|
||||
-moz-font-feature-settings: "hlig" on;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -9,7 +9,7 @@ body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "liga=0";
|
||||
-moz-font-feature-settings: "liga" 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
20
layout/reftests/font-features/font-features-oldsyntax-1.html
Normal file
20
layout/reftests/font-features/font-features-oldsyntax-1.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig=1";
|
||||
-moz-font-feature-settings: "hlig" off;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
fastest firefox
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/font-features/font-features-oldsyntax-2.html
Normal file
20
layout/reftests/font-features/font-features-oldsyntax-2.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig" off;
|
||||
-moz-font-feature-settings: "hlig=1";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
fastest firefox
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/font-features/font-features-oldsyntax-3.html
Normal file
20
layout/reftests/font-features/font-features-oldsyntax-3.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig=0";
|
||||
-moz-font-feature-settings: "hlig";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
fastest firefox
|
||||
</body>
|
||||
</html>
|
20
layout/reftests/font-features/font-features-oldsyntax-4.html
Normal file
20
layout/reftests/font-features/font-features-oldsyntax-4.html
Normal file
@ -0,0 +1,20 @@
|
||||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
@font-face {
|
||||
font-family: libertine;
|
||||
src: url(../fonts/LinLibertine_Re-4.7.5.woff) format("woff");
|
||||
}
|
||||
body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "hlig";
|
||||
-moz-font-feature-settings: "hlig=0";
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body lang="en">
|
||||
fastest firefox
|
||||
</body>
|
||||
</html>
|
@ -10,7 +10,7 @@ body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "liga=0,liga=1";
|
||||
-moz-font-feature-settings: "liga" 0, "liga" 1;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -10,7 +10,7 @@ body {
|
||||
font-family: libertine, sans-serif;
|
||||
font-size: 400%;
|
||||
line-height: 2em;
|
||||
-moz-font-feature-settings: "liga=1,liga=0";
|
||||
-moz-font-feature-settings: "liga" 1, "liga" 0;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
@ -28,10 +28,18 @@ HTTP(..) == font-features-turkish.html font-features-noliga.html
|
||||
|
||||
# compare feature specified within @font-face to same feature in style rule
|
||||
HTTP(..) == font-features-hlig-2.html font-features-hlig.html
|
||||
HTTP(..) == font-features-hlig-4.html font-features-hlig.html
|
||||
HTTP(..) != font-features-hlig-5.html font-features-hlig.html
|
||||
|
||||
# check that feature in style rule overrides @font-face
|
||||
HTTP(..) == font-features-hlig-3.html font-features-noliga.html
|
||||
|
||||
# make sure old syntax usage never interferes with new syntax usage
|
||||
HTTP(..) == font-features-oldsyntax-1.html font-features-ref.html
|
||||
HTTP(..) == font-features-oldsyntax-2.html font-features-ref.html
|
||||
HTTP(..) == font-features-oldsyntax-3.html font-features-hlig.html
|
||||
HTTP(..) == font-features-oldsyntax-4.html font-features-hlig.html
|
||||
|
||||
# compare -moz-font-language-override rendering to lang-tagged rendering
|
||||
HTTP(..) == font-features-turkish-override-1.html font-features-turkish.html
|
||||
HTTP(..) == font-features-turkish-override-2.html font-features-turkish.html
|
||||
|
@ -10,7 +10,7 @@
|
||||
body {
|
||||
margin: 20px;
|
||||
font: 100px test;
|
||||
-moz-font-feature-settings: "TST1=1,FTP2=1";
|
||||
-moz-font-feature-settings: "TST1", "FTP2";
|
||||
}
|
||||
p { margin: 0; padding: 0; }
|
||||
</style>
|
||||
|
@ -10,7 +10,7 @@
|
||||
body {
|
||||
margin: 20px;
|
||||
font: 100px test;
|
||||
-moz-font-feature-settings: "TST1=1";
|
||||
-moz-font-feature-settings: "TST1";
|
||||
}
|
||||
p { margin: 0; padding: 0; }
|
||||
</style>
|
||||
|
@ -10,7 +10,7 @@
|
||||
body {
|
||||
margin: 20px;
|
||||
font: 100px test;
|
||||
-moz-font-feature-settings: "TST1=1";
|
||||
-moz-font-feature-settings: "TST1";
|
||||
}
|
||||
p { margin: 0; padding: 0; }
|
||||
</style>
|
||||
|
@ -10,7 +10,7 @@
|
||||
body {
|
||||
margin: 20px;
|
||||
font: 100px test;
|
||||
-moz-font-feature-settings: "TST1=1";
|
||||
-moz-font-feature-settings: "TST1";
|
||||
}
|
||||
p { margin: 0; padding: 0; }
|
||||
</style>
|
||||
|
@ -10,7 +10,7 @@
|
||||
body {
|
||||
margin: 20px;
|
||||
font: 100px test;
|
||||
-moz-font-feature-settings: "TST1=1";
|
||||
-moz-font-feature-settings: "TST1";
|
||||
}
|
||||
p { margin: 0; padding: 0; }
|
||||
</style>
|
||||
|
Loading…
Reference in New Issue
Block a user