Bug 374866. Reftests for text-transform. r=dbaron
authorroc+@cs.cmu.edu
Thu, 22 Mar 2007 16:01:14 -0700
changeset 2 10cab3c34c28b0746436f8bc7ffc8c47f421ee23
parent 1 9b2a99adc05e53cd4010de512f50118594756650
child 3 a00ac31e8ae4fe6cdf5f40a007c1ab36ae01ffae
push idunknown
push userunknown
push dateunknown
reviewersdbaron
bugs374866
milestone1.9a3pre
Bug 374866. Reftests for text-transform. r=dbaron
layout/reftests/reftest.list
layout/reftests/text-transform/capitalize-1.html
layout/reftests/text-transform/capitalize-2.html
layout/reftests/text-transform/capitalize-ref.html
layout/reftests/text-transform/lowercase-1.html
layout/reftests/text-transform/lowercase-ref.html
layout/reftests/text-transform/reftest.list
layout/reftests/text-transform/uppercase-1.html
layout/reftests/text-transform/uppercase-ref.html
layout/reftests/text-transform/uppercase-szlig-1.html
layout/reftests/text-transform/uppercase-szlig-ref.html
--- a/layout/reftests/reftest.list
+++ b/layout/reftests/reftest.list
@@ -75,8 +75,11 @@ include table-width/reftest.list
 # xul-document-load/
 include xul-document-load/reftest.list
 
 # box-properties/
 include box-properties/reftest.list
 
 # first-letter/
 include first-letter/reftest.list
+
+# text-transform/
+include text-transform/reftest.list
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/capitalize-1.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    <span style="text-transform:capitalize">This text should be capitalized.</span>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/capitalize-2.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    T<span style="text-transform:capitalize">his text should be capitalized.</span>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/capitalize-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    This Text Should Be Capitalized.
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/lowercase-1.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    <span style="text-transform:lowercase">This text should be lowercased.</span>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/lowercase-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+      this text should be lowercased.
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/reftest.list
@@ -0,0 +1,5 @@
+== capitalize-1.html capitalize-ref.html
+== capitalize-2.html capitalize-ref.html
+== lowercase-1.html lowercase-ref.html
+== uppercase-1.html uppercase-ref.html
+== uppercase-szlig-1.html uppercase-szlig-ref.html
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/uppercase-1.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    <span style="text-transform:uppercase">This text should be uppercased.</span>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/uppercase-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    THIS TEXT SHOULD BE UPPERCASED.
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/uppercase-szlig-1.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    <span style="text-transform:uppercase">&szlig;</span>
+  </body>
+</html>
new file mode 100644
--- /dev/null
+++ b/layout/reftests/text-transform/uppercase-szlig-ref.html
@@ -0,0 +1,6 @@
+<!DOCTYPE html>
+<html>
+  <body>
+    SS
+  </body>
+</html>