Skip to content

Commit

Permalink
[css-writing-modes] Fix a bunch of writing mode tests (web-platform-t…
Browse files Browse the repository at this point in the history
…ests#18530)

They had incorrect paths to the font file, and refered to non existing
support file.
Plus a few other tweaks along the way.

Has anybody ever run these??? It should have been imediately obvious
they were totally broken...
  • Loading branch information
frivoal authored and natechapin committed Aug 23, 2019
1 parent 05830d5 commit 5b56dc3
Show file tree
Hide file tree
Showing 53 changed files with 86 additions and 127 deletions.
Binary file added css/css-writing-modes/support/mn+arabic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/mn+latin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/mn-orientation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/mn_ar_wrap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/mn_en_wrap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/world.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/zh+arabic.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/zh+latin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/zh-orientation.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/zh_ar_wrap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added css/css-writing-modes/support/zh_en_wrap.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: "webfont";
src: url("../../fonts/CSSTest/mplus-1p-regular.woff") format("woff");
src: url("/fonts/CSSTest/mplus-1p-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand All @@ -27,4 +27,4 @@
<p lang="ja"><span>今日</span><span>5</span><span>12</span>日です。<span>GI</span></p>
</div>
</body>
</html>
</html>
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: "webfont";
src: url("../../fonts/CSSTest/mplus-1p-regular.woff") format("woff");
src: url("/fonts/CSSTest/mplus-1p-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand All @@ -27,4 +27,4 @@
<p lang="ja"><span>W3C</span>会議は<span>2016</span><span>5</span><span>12</span>日です。<span>242</span>日目です。</p>
</div>
</body>
</html>
</html>
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: "webfont";
src: url("../../fonts/CSSTest/mplus-1p-regular.woff") format("woff");
src: url("/fonts/CSSTest/mplus-1p-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand Down
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: "webfont";
src: url("../../fonts/CSSTest/mplus-1p-regular.woff") format("woff");
src: url("/fonts/CSSTest/mplus-1p-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand Down
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: "webfont";
src: url("../../fonts/CSSTest/mplus-1p-regular.woff") format("woff");
src: url("/fonts/CSSTest/mplus-1p-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand Down
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-001-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -27,4 +27,4 @@
<span lang="mn">ᠮᠤᠩᠭᠤᠯ ᠤᠯᠤᠰ</span>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-002-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -28,4 +28,4 @@
<span lang="mn">ᠴᠤᠢᠵᠤᠩᠵᠠᠪ ᠪᠠᠭᠰᠢ ᠶᠢᠨ <span id="end">ᠦᠭᠦᠯᠡᠯ</span></span>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-003-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -27,4 +27,4 @@
<span lang="mn">ᠴᠤᠢᠵᠤᠩᠵᠠᠪ</span>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-005-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -25,4 +25,4 @@
<div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn-orientation.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-006-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -25,4 +25,4 @@
<div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn-orientation.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-007-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <span lang="en">W3C i18n</span> ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn+latin.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-008-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <span lang="ar">نشاط التدويل</span> ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn+arabic.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-009-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <span lang="ar">نشاط التدويل</span> ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn+arabic.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-010-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<div class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <span lang="ar">نشاط التدويل</span> ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn+arabic.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-012-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -32,4 +32,4 @@
<div id="test" class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <span lang="en">W3C i18n</span> ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn_en_wrap.png" alt="ref image"/></div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-014-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -32,4 +32,4 @@
<div id="test" class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <span lang="ar">نشاط التدويل</span> ᠤᠯᠤᠰ</div>
<div class="ref"><img src="support/mn_ar_wrap.png" alt="ref image"/></div>
</body>
</html>
</html>
6 changes: 3 additions & 3 deletions css/css-writing-modes/writing-mode-vlr-015-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -22,6 +22,6 @@
</head>
<body>
<p class="instructions">Test passes if the text is vertical and the world map has north at the top.</p>
<div id="test" class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <img src="support/world.gif" alt="ref image"/> ᠤᠯᠤᠰ</div>
<div id="test" class="test" lang="mn">ᠮᠤᠩᠭᠤᠯ <img src="support/world.png" alt="ref image"/> ᠤᠯᠤᠰ</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-forms-001-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<input type="text" value="ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ" />
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-forms-002-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<input type="text" placeholder="ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ" />
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-forms-003-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<textarea rows="3">ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ</textarea>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-forms-004-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -26,4 +26,4 @@
<textarea rows="3" placeholder="ᠮᠤᠩᠭᠤᠯ W3C i18n ᠤᠯᠤᠰ"></textarea>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-forms-005-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -31,4 +31,4 @@
</select>
</div>
</body>
</html>
</html>
5 changes: 3 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-forms-006-manual.html
Expand Up @@ -6,10 +6,11 @@
<link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"/>
<link rel="help" href="https://drafts.csswg.org/css-writing-modes-3/#block-flow"/>
<meta name="assert" content="writing-mode:vertical-lr will display selection options vertically."/>
<meta name="flags" content="should"/>
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -31,4 +32,4 @@
</select>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vlr-table-001-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: 'webfont';
src: url('../../fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2');
font-weight: normal;
font-style: normal;
}
Expand All @@ -30,4 +30,4 @@
</tbody></table>
</div>
</body>
</html>
</html>
4 changes: 2 additions & 2 deletions css/css-writing-modes/writing-mode-vrl-001-manual.html
Expand Up @@ -9,7 +9,7 @@
<style type="text/css">
@font-face {
font-family: "webfont";
src: url("../../fonts/mplus-1p-regular.woff") format("woff");
src: url("/fonts/mplus-1p-regular.woff") format("woff");
font-weight: normal;
font-style: normal;
}
Expand All @@ -27,4 +27,4 @@
<span lang="zh-hans">国际化活动万维网联盟</span>
</div>
</body>
</html>
</html>

0 comments on commit 5b56dc3

Please sign in to comment.