test for bug 427672, unsupported variation selector
authorKarl Tomlinson <karlt+@karlt.net>
Tue, 14 Dec 2010 08:44:14 +1300
changeset 59159 302ec4161442fd0ce025bd00525b8350dd2a24c7
parent 59158 bac79600ed97c28457f62f07d738ac3848546189
child 59160 2b3626056e132c6bb9019836c41050b1e83c9e40
push idunknown
push userunknown
push dateunknown
bugs427672
milestone2.0b8pre
test for bug 427672, unsupported variation selector
layout/reftests/text/reftest.list
layout/reftests/text/variation-selector-unsupported-1-ref.html
layout/reftests/text/variation-selector-unsupported-1.html
--- a/layout/reftests/text/reftest.list
+++ b/layout/reftests/text/reftest.list
@@ -39,16 +39,17 @@ skip-if(d2d||cocoaWidget) == subpixel-gl
 skip-if(!(d2d||cocoaWidget)) != subpixel-glyphs-x-2a.html subpixel-glyphs-x-2b.html
 # No platforms do subpixel positioning vertically
 == subpixel-glyphs-y-1a.html subpixel-glyphs-y-1b.html
 == subpixel-lineheight-1a.html subpixel-lineheight-1b.html
 == swash-1.html swash-1-ref.html
 # Test for bug 593564, synthetic bold should cause glyph metrics to increase
 # Random on Windows - fails on tinderbox Opt reftest, passes elsewhere - see bug 597300
 random-if(winWidget) HTTP(..) != synthetic-bold-metrics-01.html synthetic-bold-metrics-01-notref.html
+== variation-selector-unsupported-1.html variation-selector-unsupported-1-ref.html
 == white-space-1a.html white-space-1-ref.html
 == white-space-1b.html white-space-1-ref.html
 == white-space-2.html white-space-2-ref.html
 == wordwrap-01.html wordwrap-01-ref.html
 HTTP(..) == wordwrap-02.html wordwrap-02-ref.html
 HTTP(..) == wordwrap-03.html wordwrap-03-ref.html
 == wordwrap-04.html wordwrap-04-ref.html
 == wordwrap-05.html wordwrap-05-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/variation-selector-unsupported-1-ref.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+	"http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en-US">
+<head>
+	<title></title>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+	<style type="text/css">
+
+	@font-face {
+		font-family: "MarkA";
+		src: url(../fonts/markA.otf);
+	}
+
+        body { font-family: MarkA; }
+	</style>
+</head>
+<body>
+A
+</body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text/variation-selector-unsupported-1.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
+	"http://www.w3.org/TR/html4/strict.dtd">
+<html lang="en-US">
+<head>
+	<title></title>
+	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
+	<style type="text/css">
+
+	@font-face {
+		font-family: "MarkA";
+		src: url(../fonts/markA.otf);
+	}
+
+        body { font-family: MarkA; }
+	</style>
+</head>
+<body>
+A&#xFE00;
+</body>
+</html>