-
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=263261 (#42660)
- Loading branch information
1 parent
9beb005
commit 7fe2823
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
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,24 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="author" title="Vitor Roriz" href="https://github.com/vitorroriz"> | ||
<link rel="help" href="https://drafts.csswg.org/css-fonts-4/#char-handling-issues"> | ||
<style> | ||
.target { | ||
font-family: serif, sans-serif, cursive, fantasy, monospace, system-ui, emoji, math, fangsong, ui-serif, ui-sans-serif, ui-monospace, ui-rounded, 'Times'; | ||
} | ||
p { | ||
font-size: 22px; | ||
} | ||
.times { | ||
font-family: 'Times'; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
"If a given character is a Private-Use Area Unicode codepoint, user agents must only match font families named in the font-family list that are not generic families. If none of the families named in the font-family list contain a glyph for that codepoint, user agents must display some form of missing glyph symbol for that character rather than attempting installed font fallback for that codepoint." - <a href="https://drafts.csswg.org/css-fonts-4/#char-handling-issues">css-fonts-4</a> | ||
<h3>The first line should render as the second. This means that no generic font was used during fallback and the first non generic font was used. </h3> | ||
<p class="times"></p> | ||
<p class="times"></p> | ||
</body> | ||
</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> | ||
<html> | ||
<head> | ||
<link rel="author" title="Vitor Roriz" href="https://github.com/vitorroriz"> | ||
<link rel="help" href="https://drafts.csswg.org/css-fonts-4/#char-handling-issues"> | ||
<link rel="match" href="./font-unicode-PUA-ref.html"> | ||
<style> | ||
.target { | ||
font-family: serif, sans-serif, cursive, fantasy, monospace, system-ui, emoji, math, fangsong, ui-serif, ui-sans-serif, ui-monospace, ui-rounded, 'Times'; | ||
} | ||
p { | ||
font-size: 22px; | ||
} | ||
.times { | ||
font-family: 'Times'; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
"If a given character is a Private-Use Area Unicode codepoint, user agents must only match font families named in the font-family list that are not generic families. If none of the families named in the font-family list contain a glyph for that codepoint, user agents must display some form of missing glyph symbol for that character rather than attempting installed font fallback for that codepoint." - <a href="https://drafts.csswg.org/css-fonts-4/#char-handling-issues">css-fonts-4</a> | ||
<h3>The first line should render as the second. This means that no generic font was used during fallback and the first non generic font was used. </h3> | ||
<p class="target"></p> | ||
<p class="times"></p> | ||
</body> | ||
</html> |