Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Colorisation of non-color glyph should work in the presence of COLR or SVG table</title>
<link rel="author" title="Dominik Röttsches" href="mailto:drott@chromium.org">
<link rel="match" href="font-colorization-ref.html">
<style>
@font-face {
font-family: "svg_colr";
src: url("resources/colorization_SVG_COLR.ttf") format("truetype");
}
</style>
</head>
<body>
<!-- A glyph from a font that contains SVG or COLR tables but for which there is
no data in the color font tables, should be colored in the text
foreground color. -->
<div style="font: 100px/1.2 'svg_colr', fantasy; color: green;">A</div>
</body>
</html>