bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett
authorJonathan Kew <jfkthame@gmail.com>
Tue, 13 Mar 2012 10:22:16 +0000
changeset 88941 90ddb1890de11f47fb7dcc153b29d550806ff8e5
parent 88940 f7ec55cf0e95324ff03e696b6bde477db685b097
child 88942 1ffea9163a9d40b1802acea1cff71078efe5d0bd
push id22233
push usermak77@bonardo.net
push dateTue, 13 Mar 2012 13:50:06 +0000
treeherdermozilla-central@d87ad51531b5 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersjdaggett
bugs726539
milestone13.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
bug 726539 - reftests for repeated feature in -moz-font-feature-settings. r=jdaggett
layout/reftests/font-features/font-features-order-1.html
layout/reftests/font-features/font-features-order-2.html
layout/reftests/font-features/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/font-features/font-features-order-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<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: "liga=0,liga=1";
+}
+</style>
+</head>
+<body lang="en">
+fastest firefox
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/font-features/font-features-order-2.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<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: "liga=1,liga=0";
+}
+</style>
+</head>
+<body lang="en">
+fastest firefox
+</body>
+</html>
--- a/layout/reftests/font-features/reftest.list
+++ b/layout/reftests/font-features/reftest.list
@@ -36,8 +36,11 @@ HTTP(..) == font-features-hlig-3.html fo
 HTTP(..) == font-features-turkish-override-1.html font-features-turkish.html
 HTTP(..) == font-features-turkish-override-2.html font-features-turkish.html
 
 # check use of -moz-font-language-override to override explicit lang tag
 HTTP(..) == font-features-turkish-override-3.html font-features-ref.html
 HTTP(..) == font-features-turkish-override-4.html font-features-ref.html
 HTTP(..) == font-features-turkish-override-5.html font-features-turkish.html
 
+# check that last value wins if a feature is repeated
+HTTP(..) == font-features-order-1.html font-features-ref.html
+HTTP(..) == font-features-order-2.html font-features-noliga.html