-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=282657 (#49196)
- Loading branch information
1 parent
9c91835
commit 9d26d70
Showing
2 changed files
with
37 additions
and
69 deletions.
There are no files selected for viewing
29 changes: 29 additions & 0 deletions
29
css/css-text/text-autospace/text-autospace-ligature-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,29 @@ | ||
<!DOCTYPE html> | ||
<meta charset="utf-8"> | ||
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property"> | ||
<style> | ||
@font-face { | ||
font-family: ligature-font; | ||
src: url('../../css-fonts/support/fonts/Lato-Medium-Liga.ttf'); | ||
} | ||
#test-container { | ||
font-family: ligature-font; | ||
font-size: 40px; | ||
text-autospace: no-autospace; | ||
} | ||
.spacing-right { | ||
margin-right: 0.125em; | ||
} | ||
.spacing-left { | ||
margin-left: 0.125em; | ||
} | ||
|
||
</style> | ||
<div id="test-container"> | ||
<div>国<span class="spacing-left">fi</span></div> | ||
<div>国fi</div> | ||
<div><span class="spacing-right">fi</span>国</div> | ||
<div><span>fi</span>国</div> | ||
<div>国<span class="spacing-left spacing-right">fi</span>国</div> | ||
<div>国<span>fi</span>国</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