-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adjust behavior of existing tests to match CSS spec change
- Loading branch information
1 parent
44a89a9
commit 8b83328
Showing
4 changed files
with
100 additions
and
3 deletions.
There are no files selected for viewing
25 changes: 25 additions & 0 deletions
25
css/css-text/text-spacing-trim/text-spacing-trim-space-first-wrap-001-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<script src="support/variant-class.js"></script> | ||
<style> | ||
@font-face { | ||
font-family: halt-font; | ||
src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf'); | ||
} | ||
#container { | ||
font-family: halt-font; | ||
font-size: 20px; | ||
inline-size: 4em; | ||
} | ||
.vrl { | ||
writing-mode: vertical-rl; | ||
} | ||
halt { | ||
font-feature-settings: 'halt' 1, 'vhal' 1; | ||
} | ||
</style> | ||
<div id="container"> | ||
<div>(国国国<halt>(</halt>国国国<halt>(</halt>国</div> | ||
<div>国国国国<halt>(</halt></div> | ||
<div lang="zh-hans">国国国国<halt>“</halt></div> | ||
</div> |
36 changes: 36 additions & 0 deletions
36
css/css-text/text-spacing-trim/text-spacing-trim-space-first-wrap-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-spacing-trim-property"> | ||
<link rel="match" href="text-spacing-trim-space-first-wrap-001-ref.html"> | ||
<meta name="variant" content="?class=halt,htb"> | ||
<meta name="variant" content="?class=chws,htb"> | ||
<meta name="variant" content="?class=halt,vrl"> | ||
<meta name="variant" content="?class=chws,vrl"> | ||
<script src="support/variant-class.js"></script> | ||
<style> | ||
@font-face { | ||
font-family: halt-font; | ||
src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf'); | ||
} | ||
@font-face { | ||
font-family: chws-font; | ||
src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-chws.otf'); | ||
} | ||
#container { | ||
font-family: halt-font; | ||
font-size: 20px; | ||
inline-size: 4em; | ||
text-spacing-trim: space-first; | ||
} | ||
.chws #container { | ||
font-family: chws-font; | ||
} | ||
.vrl { | ||
writing-mode: vertical-rl; | ||
} | ||
</style> | ||
<div id="container"> | ||
<div>(国国国(国国国(国</div> | ||
<div>国国国国(</div> | ||
<div lang="zh-hans">国国国国“</div> | ||
</div> |
36 changes: 36 additions & 0 deletions
36
css/css-text/text-spacing-trim/text-spacing-trim-space-first-wrap-br-001.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-spacing-trim-property"> | ||
<link rel="match" href="text-spacing-trim-wrap-001-ref.html"> | ||
<meta name="variant" content="?class=halt,htb"> | ||
<meta name="variant" content="?class=chws,htb"> | ||
<meta name="variant" content="?class=halt,vrl"> | ||
<meta name="variant" content="?class=chws,vrl"> | ||
<script src="support/variant-class.js"></script> | ||
<style> | ||
@font-face { | ||
font-family: halt-font; | ||
src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf'); | ||
} | ||
@font-face { | ||
font-family: chws-font; | ||
src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-chws.otf'); | ||
} | ||
#container { | ||
font-family: halt-font; | ||
font-size: 20px; | ||
inline-size: 4em; | ||
text-spacing-trim: space-first; | ||
} | ||
.chws #container { | ||
font-family: chws-font; | ||
} | ||
.vrl { | ||
writing-mode: vertical-rl; | ||
} | ||
</style> | ||
<div id="container"> | ||
<div>(国国国<br>(国国国<br>(国</div> | ||
<div>国国国国<br>(</div> | ||
<div lang="zh-hans">国国国国<br>“</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters