-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Disable notice about unused variation axis ranges when there's an out…
…-of-bounds cubic-bezier animation timing function in play
- Loading branch information
1 parent
2a47adc
commit 1cf4ff4
Showing
7 changed files
with
199 additions
and
29 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
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
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
Binary file added
BIN
+1.58 MB
...s/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf
Binary file not shown.
28 changes: 28 additions & 0 deletions
28
testdata/subsetFonts/variable-font-underutilized-axis-with-bezier-out-of-bounds/index.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,28 @@ | ||
<html> | ||
<head> | ||
<meta charset=utf-8> | ||
<style> | ||
@font-face { | ||
font-family: RobotoFlex; | ||
src: url('RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('woff2-variations'); | ||
} | ||
|
||
p { | ||
font-family: RobotoFlex, sans-serif; | ||
animation: 3s cubic-bezier(.97,.01,.42,1.52) infinite alternate foo; | ||
} | ||
|
||
@keyframes foo { | ||
0% { | ||
font-variation-settings: "XTRA" 200, "YTAS" 400; | ||
} | ||
100% { | ||
font-variation-settings: "XTRA" 800, "YTAS" 700; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>Hello, world!</p> | ||
</body> | ||
</html> |
Binary file added
BIN
+1.58 MB
...r/RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf
Binary file not shown.
28 changes: 28 additions & 0 deletions
28
testdata/subsetFonts/variable-font-underutilized-axis-with-bezier/index.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,28 @@ | ||
<html> | ||
<head> | ||
<meta charset=utf-8> | ||
<style> | ||
@font-face { | ||
font-family: RobotoFlex; | ||
src: url('RobotoFlex-VariableFont_GRAD,XTRA,YOPQ,YTAS,YTDE,YTFI,YTLC,YTUC,opsz,slnt,wdth,wght.ttf') format('woff2-variations'); | ||
} | ||
|
||
p { | ||
font-family: RobotoFlex, sans-serif; | ||
animation: 3s cubic-bezier(0,.75,.9,.58) infinite alternate foo; | ||
} | ||
|
||
@keyframes foo { | ||
0% { | ||
font-variation-settings: "XTRA" 200, "YTAS" 400; | ||
} | ||
100% { | ||
font-variation-settings: "XTRA" 800, "YTAS" 700; | ||
} | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<p>Hello, world!</p> | ||
</body> | ||
</html> |