diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /layout/reftests/css-charset | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/css-charset')
22 files changed, 209 insertions, 0 deletions
diff --git a/layout/reftests/css-charset/pass.html b/layout/reftests/css-charset/pass.html new file mode 100644 index 0000000000..31d07cfd58 --- /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.list b/layout/reftests/css-charset/reftest.list new file mode 100644 index 0000000000..ef6505576a --- /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 Binary files differnew file mode 100644 index 0000000000..8fcd96f5d4 --- /dev/null +++ b/layout/reftests/css-charset/test-attribute.css diff --git a/layout/reftests/css-charset/test-attribute.html b/layout/reftests/css-charset/test-attribute.html new file mode 100644 index 0000000000..8befd8f49a --- /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 Binary files differnew file mode 100644 index 0000000000..69b4324aaf --- /dev/null +++ b/layout/reftests/css-charset/test-charset-leading-space.css 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 0000000000..086c1be4f1 --- /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 Binary files differnew file mode 100644 index 0000000000..67f9f21f45 --- /dev/null +++ b/layout/reftests/css-charset/test-charset-quotes.css 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 0000000000..57e749cb30 --- /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 Binary files differnew file mode 100644 index 0000000000..c1f9d451e2 --- /dev/null +++ b/layout/reftests/css-charset/test-charset-trailing-space.css 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 0000000000..6090e294c0 --- /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 Binary files differnew file mode 100644 index 0000000000..a5d0914b49 --- /dev/null +++ b/layout/reftests/css-charset/test-charset-utf-16-be-bom.css 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 0000000000..8947490e97 --- /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 Binary files differnew file mode 100644 index 0000000000..f877df030c --- /dev/null +++ b/layout/reftests/css-charset/test-charset-utf-16-be-no-bom.css 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 0000000000..a617959c9f --- /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 Binary files differnew file mode 100644 index 0000000000..21e4206f72 --- /dev/null +++ b/layout/reftests/css-charset/test-charset-utf-16-bom-be.css 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 0000000000..b0c29cfd20 --- /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 Binary files differnew file mode 100644 index 0000000000..ddf7fd00ae --- /dev/null +++ b/layout/reftests/css-charset/test-charset-utf-16-bom-le.css 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 0000000000..fc5f5b9e01 --- /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 Binary files differnew file mode 100644 index 0000000000..3aab85e0b2 --- /dev/null +++ b/layout/reftests/css-charset/test-charset-utf-16-le-bom.css 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 0000000000..1ceaffaf43 --- /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 Binary files differnew file mode 100644 index 0000000000..b2a1129c04 --- /dev/null +++ b/layout/reftests/css-charset/test-charset-utf-16-le-no-bom.css 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 0000000000..d0c3875a29 --- /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> + |