Skip to content

Commit

Permalink
Use /fonts/ahem.css over similar support/ahem.css in vendor-imports
Browse files Browse the repository at this point in the history
This is to make moving the tests easier, with fewer relative paths and
less lint errors to ignore.

As a drive-by fix, make use of XHTML-style <link /> markup more
consistent within tests, which in every case meant dropping it.

Part of #8615.
  • Loading branch information
foolip committed Dec 11, 2020
1 parent 1de74b8 commit 058e091
Show file tree
Hide file tree
Showing 150 changed files with 143 additions and 180 deletions.
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>CSS Reference: Ruby with text-combine-upright in base</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="stylesheet" href="support/ahem.css">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
font: 52px Ahem;
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-001-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
font: 52px Ahem;
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-001-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
font: 52px Ahem;
Expand Down
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8">
<title>CSS Reference: Ruby with text-combine-upright annotation</title>
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="stylesheet" href="support/ahem.css">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
font: 52px Ahem;
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-002-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
font: 52px Ahem;
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Xidorn Quan" href="mailto:csswg@upsuper.org">
<link rel="help" href="https://drafts.csswg.org/css-ruby-1/#ruby-align-property">
<link rel="match" href="ruby-text-combine-upright-002-ref.html">
<link rel="stylesheet" href="support/ahem.css">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.test {
font: 52px Ahem;
Expand Down
Binary file not shown.

This file was deleted.

Expand Up @@ -3,9 +3,8 @@
<title>CSS Reference Case: Basic cases with max-content and min-content</title>
<meta charset="utf-8">
<link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -7,9 +7,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="block-size-with-min-or-max-content-1-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -7,9 +7,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="block-size-with-min-or-max-content-1-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -6,9 +6,8 @@
</title>
<meta charset="utf-8">
<link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html, body {
margin: 0;
Expand Down
Expand Up @@ -9,9 +9,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="hori-block-size-small-or-larger-than-container-with-min-or-max-content-1-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html, body {
margin: 0;
Expand Down
Expand Up @@ -6,9 +6,8 @@
</title>
<meta charset="utf-8">
<link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -9,9 +9,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="hori-block-size-small-or-larger-than-container-with-min-or-max-content-2-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -9,9 +9,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="hori-block-size-small-or-larger-than-container-with-min-or-max-content-2-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Binary file not shown.

This file was deleted.

Expand Up @@ -6,9 +6,8 @@
</title>
<meta charset="utf-8">
<link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -9,9 +9,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="vert-block-size-small-or-larger-than-container-with-min-or-max-content-1-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -6,9 +6,8 @@
</title>
<meta charset="utf-8">
<link rel="author" title="Boris Chiou" href="mailto:boris.chiou@gmail.com">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -9,9 +9,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="vert-block-size-small-or-larger-than-container-with-min-or-max-content-2-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -9,9 +9,8 @@
<link rel="help" href="https://drafts.csswg.org/css-sizing/#sizing-values">
<link rel="match" href="vert-block-size-small-or-larger-than-container-with-min-or-max-content-2-ref.html">
<meta name="flags" content="ahem">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="stylesheet" type="text/css" href="support/min-content-max-content.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
html,body {
margin: 0;
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-removable-ref.html">
<meta name="assert" content="Test checks that a collapsible segment break should be removed correctly,
if the character immediately before/after the segment break is the zero-width space character (U+200B),
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-removable-ref.html">
<meta name="assert" content="Test checks that multiple segment breaks should be removed correctly,
if the character immediately before/after the segment breaks is the zero-width space character (U+200B),
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-removable-ref.html">
<meta name="assert" content="Test checks that a sequence which consists of a collapsible segment break
surrounded by multiple white spaces should be removed correctly,
Expand Down
Expand Up @@ -6,7 +6,7 @@
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<link rel="stylesheet" type="text/css" href="support/ahem.css">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-removable-ref.html">
<meta name="assert" content="Test checks that a sequence which consists of multiple collapsible
segment breaks mixed with multiple white spaces should be removed correctly,
Expand Down
Expand Up @@ -5,7 +5,7 @@
<title>CSS Text 4.1.2. Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { line-height: 1; font-family: ahem; } </style>
</head>
<body>
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is NO white space between the two strings below.
<p>FULLWIDTHFULLWIDTH</p>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Full-width (F) in front/back of the semgment break.">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-rules-001-ref.html">
<style> p { font-family: ahem; } </style>
<div>Pass if there is NO white space between the two strings below.
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is NO white space between the two strings below.
<p>FULLWIDTHテスト</p>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Half-width (H) in front/back of the semgment break.">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-rules-002-ref.html">
<style> p { font-family: ahem; } </style>
<div>Pass if there is NO white space between the two strings below.
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is NO white space between the two strings below.
<p>FULLWIDTH測試</p>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Wide (W) except Hangul in front/back of the semgment break.">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-rules-003-ref.html">
<style> p { font-family: ahem; } </style>
<div>Pass if there is NO white space between the two strings below.
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
<p>FULLWIDTH&#x0020;narrow</p>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Narrow (Na) in front/back of the semgment break.">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-rules-004-ref.html">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
<p>FULLWIDTH&#x0020;■</p>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/East Asian Ambiguous (A) in front/back of the semgment break.">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-rules-005-ref.html">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
<p>FULLWIDTH&#x0020;آزمون</p>
Expand Down
Expand Up @@ -5,7 +5,7 @@
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="help" href="https://drafts.csswg.org/css-text-3/#line-break-transform">
<meta name="assert" content="'segment-break-transformation-rules: with East Asian Full-width (F)/Not East Asian (Neutral) in front/back of the semgment break.">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<link rel="match" href="segment-break-transformation-rules-006-ref.html">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
Expand Down
Expand Up @@ -3,7 +3,7 @@
<title>CSS Reftest Reference: Segment Break Transformation Rules</title>
<link rel="author" title="Chun-Min (Jeremy) Chen" href="mailto:jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<link rel="stylesheet" type="text/css" href="support/ahem.css" />
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css">
<style> p { font-family: ahem; } </style>
<div>Pass if there is ONE white space between the two strings below.
<p>FULLWIDTH&#x0020;테스트</p>
Expand Down

0 comments on commit 058e091

Please sign in to comment.