summaryrefslogtreecommitdiffstats
path: root/layout/reftests/css-charset
diff options
context:
space:
mode:
authorMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
committerMatt A. Tobin <mattatobin@localhost.localdomain>2018-02-02 04:16:08 -0500
commit5f8de423f190bbb79a62f804151bc24824fa32d8 (patch)
tree10027f336435511475e392454359edea8e25895d /layout/reftests/css-charset
parent49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff)
downloadUXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz
UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/css-charset')
-rw-r--r--layout/reftests/css-charset/pass.html7
-rw-r--r--layout/reftests/css-charset/reftest-stylo.list11
-rw-r--r--layout/reftests/css-charset/reftest.list10
-rw-r--r--layout/reftests/css-charset/test-attribute.cssbin0 -> 44 bytes
-rw-r--r--layout/reftests/css-charset/test-attribute.html19
-rw-r--r--layout/reftests/css-charset/test-charset-leading-space.cssbin0 -> 84 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-leading-space.html19
-rw-r--r--layout/reftests/css-charset/test-charset-quotes.cssbin0 -> 82 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-quotes.html19
-rw-r--r--layout/reftests/css-charset/test-charset-trailing-space.cssbin0 -> 84 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-trailing-space.html19
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-be-bom.cssbin0 -> 84 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-be-bom.html19
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-be-no-bom.cssbin0 -> 82 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-be-no-bom.html20
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-bom-be.cssbin0 -> 84 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-bom-be.html19
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-bom-le.cssbin0 -> 84 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-bom-le.html19
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-le-bom.cssbin0 -> 84 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-le-bom.html19
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-le-no-bom.cssbin0 -> 82 bytes
-rw-r--r--layout/reftests/css-charset/test-charset-utf-16-le-no-bom.html20
23 files changed, 220 insertions, 0 deletions
diff --git a/layout/reftests/css-charset/pass.html b/layout/reftests/css-charset/pass.html
new file mode 100644
index 000000000..31d07cfd5
--- /dev/null
+++ b/layout/reftests/css-charset/pass.html
@@ -0,0 +1,7 @@
+<!DOCTYPE html>
+<html>
+ <body style="color: green">
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/reftest-stylo.list b/layout/reftests/css-charset/reftest-stylo.list
new file mode 100644
index 000000000..34bce869d
--- /dev/null
+++ b/layout/reftests/css-charset/reftest-stylo.list
@@ -0,0 +1,11 @@
+# DO NOT EDIT! This is a auto-generated temporary list for Stylo testing
+== test-attribute.html test-attribute.html
+== test-charset-quotes.html test-charset-quotes.html
+== test-charset-leading-space.html test-charset-leading-space.html
+== test-charset-trailing-space.html test-charset-trailing-space.html
+== test-charset-utf-16-le-no-bom.html test-charset-utf-16-le-no-bom.html
+== test-charset-utf-16-le-bom.html test-charset-utf-16-le-bom.html
+== test-charset-utf-16-bom-le.html test-charset-utf-16-bom-le.html
+== test-charset-utf-16-be-no-bom.html test-charset-utf-16-be-no-bom.html
+== test-charset-utf-16-be-bom.html test-charset-utf-16-be-bom.html
+== test-charset-utf-16-bom-be.html test-charset-utf-16-bom-be.html
diff --git a/layout/reftests/css-charset/reftest.list b/layout/reftests/css-charset/reftest.list
new file mode 100644
index 000000000..ef6505576
--- /dev/null
+++ b/layout/reftests/css-charset/reftest.list
@@ -0,0 +1,10 @@
+== test-attribute.html pass.html
+== test-charset-quotes.html pass.html
+== test-charset-leading-space.html pass.html
+== test-charset-trailing-space.html pass.html
+== test-charset-utf-16-le-no-bom.html pass.html
+fails == test-charset-utf-16-le-bom.html pass.html
+== test-charset-utf-16-bom-le.html pass.html
+== test-charset-utf-16-be-no-bom.html pass.html
+fails == test-charset-utf-16-be-bom.html pass.html
+== test-charset-utf-16-bom-be.html pass.html
diff --git a/layout/reftests/css-charset/test-attribute.css b/layout/reftests/css-charset/test-attribute.css
new file mode 100644
index 000000000..8fcd96f5d
--- /dev/null
+++ b/layout/reftests/css-charset/test-attribute.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-attribute.html b/layout/reftests/css-charset/test-attribute.html
new file mode 100644
index 000000000..8befd8f49
--- /dev/null
+++ b/layout/reftests/css-charset/test-attribute.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: red; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="UTF-16BE"
+ href="test-attribute.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-leading-space.css b/layout/reftests/css-charset/test-charset-leading-space.css
new file mode 100644
index 000000000..69b4324aa
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-leading-space.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-leading-space.html b/layout/reftests/css-charset/test-charset-leading-space.html
new file mode 100644
index 000000000..086c1be4f
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-leading-space.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-leading-space.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-quotes.css b/layout/reftests/css-charset/test-charset-quotes.css
new file mode 100644
index 000000000..67f9f21f4
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-quotes.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-quotes.html b/layout/reftests/css-charset/test-charset-quotes.html
new file mode 100644
index 000000000..57e749cb3
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-quotes.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-quotes.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-trailing-space.css b/layout/reftests/css-charset/test-charset-trailing-space.css
new file mode 100644
index 000000000..c1f9d451e
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-trailing-space.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-trailing-space.html b/layout/reftests/css-charset/test-charset-trailing-space.html
new file mode 100644
index 000000000..6090e294c
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-trailing-space.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-trailing-space.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-utf-16-be-bom.css b/layout/reftests/css-charset/test-charset-utf-16-be-bom.css
new file mode 100644
index 000000000..a5d0914b4
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-be-bom.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-utf-16-be-bom.html b/layout/reftests/css-charset/test-charset-utf-16-be-bom.html
new file mode 100644
index 000000000..8947490e9
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-be-bom.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-utf-16-be-bom.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.css b/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.css
new file mode 100644
index 000000000..f877df030
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.html b/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.html
new file mode 100644
index 000000000..a617959c9
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset, modified for CSS3</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Henri Sivonen" href="mailto:hsivonen@iki.fi" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-utf-16-be-no-bom.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-utf-16-bom-be.css b/layout/reftests/css-charset/test-charset-utf-16-bom-be.css
new file mode 100644
index 000000000..21e4206f7
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-bom-be.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-utf-16-bom-be.html b/layout/reftests/css-charset/test-charset-utf-16-bom-be.html
new file mode 100644
index 000000000..b0c29cfd2
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-bom-be.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: red; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-utf-16-bom-be.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-utf-16-bom-le.css b/layout/reftests/css-charset/test-charset-utf-16-bom-le.css
new file mode 100644
index 000000000..ddf7fd00a
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-bom-le.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-utf-16-bom-le.html b/layout/reftests/css-charset/test-charset-utf-16-bom-le.html
new file mode 100644
index 000000000..fc5f5b9e0
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-bom-le.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: red; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-utf-16-bom-le.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-utf-16-le-bom.css b/layout/reftests/css-charset/test-charset-utf-16-le-bom.css
new file mode 100644
index 000000000..3aab85e0b
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-le-bom.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-utf-16-le-bom.html b/layout/reftests/css-charset/test-charset-utf-16-le-bom.html
new file mode 100644
index 000000000..1ceaffaf4
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-le-bom.html
@@ -0,0 +1,19 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-utf-16-le-bom.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+
diff --git a/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.css b/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.css
new file mode 100644
index 000000000..b2a1129c0
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.css
Binary files differ
diff --git a/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.html b/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.html
new file mode 100644
index 000000000..d0c3875a2
--- /dev/null
+++ b/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>CSS 2.1 Test Suite: @charset, modified for CSS3</title>
+ <link rel="author" title="Boris Zbarsky" href="mailto:bzbarsky@mit.edu" />
+ <link rel="author" title="Henri Sivonen" href="mailto:hsivonen@iki.fi" />
+ <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
+ <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#charset"/>
+ <meta name="flags" content="" />
+ <style type="text/css">
+ body { color: green; }
+ </style>
+ <link rel="stylesheet" type="text/css" charset="us-ascii"
+ href="test-charset-utf-16-le-no-bom.css" />
+ </head>
+ <body>
+ This should be green
+ </body>
+</html>
+