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 /testing/web-platform/tests/css/CSS2/fonts/font-family-invalid-characters-001.xht | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/fonts/font-family-invalid-characters-001.xht')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/fonts/font-family-invalid-characters-001.xht | 118 |
1 files changed, 118 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/fonts/font-family-invalid-characters-001.xht b/testing/web-platform/tests/css/CSS2/fonts/font-family-invalid-characters-001.xht new file mode 100644 index 0000000000..a0162da091 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/fonts/font-family-invalid-characters-001.xht @@ -0,0 +1,118 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test: Invalid characters in font-family values</title> + <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> + <link rel="author" title="Arron Eicholz" href="http://www.microsoft.com/" /> + <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" /> + <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop"/> + <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors"/> + <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/> + <link rel="match" href="font-family-invalid-characters-001-ref.html" /> + <meta name="flags" content="ahem invalid" /> + <meta name="assert" content="Invalid characters in font family names invalidate entire declaration."/> + <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> + <style type="text/css"> + <![CDATA[ + #div1 + { + font-family: test!foo, Ahem; + } + #div2 + { + font-family: test@foo, Ahem; + } + #div3 + { + font-family: test#foo, Ahem; + } + #div4 + { + font-family: test$foo, Ahem; + } + #div5 + { + font-family: test%foo, Ahem; + } + #div6 + { + font-family: test^foo, Ahem; + } + #div7 + { + font-family: test&foo, Ahem; + } + #div8 + { + font-family: test*foo, Ahem; + } + #div9 + { + font-family: test=foo, Ahem; + } + #div10 + { + font-family: test+foo, Ahem; + } + #div11 + { + font-family: test|foo, Ahem; + } + #div12 + { + font-family: test;foo, Ahem; + } + #div13 + { + font-family: test:foo, Ahem; + } + #div14 + { + font-family: test.foo, Ahem; + } + #div15 + { + font-family: test/foo, Ahem; + } + #div16 + { + font-family: test?foo, Ahem; + } + #div17 + { + font-family: test`foo, Ahem; + } + #div18 + { + font-family: test~foo, Ahem; + } + #div19 + { + font-family: 1996, Ahem; + } + ]]> + </style> + </head> + <body> + <p>Test passes if there are only numbers (1-19) below.</p> + <div id="div1">1</div> + <div id="div2">2</div> + <div id="div3">3</div> + <div id="div4">4</div> + <div id="div5">5</div> + <div id="div6">6</div> + <div id="div7">7</div> + <div id="div8">8</div> + <div id="div9">9</div> + <div id="div10">10</div> + <div id="div11">11</div> + <div id="div12">12</div> + <div id="div13">13</div> + <div id="div14">14</div> + <div id="div15">15</div> + <div id="div16">16</div> + <div id="div17">17</div> + <div id="div18">18</div> + <div id="div19">19</div> + </body> +</html> |