gecko-dev/servo/tests/html/text_rendering.html
Patrick Walton 3618f28049 servo: Merge #4523 - layout: Implement text-rendering per SVG 1.1 § 11.7.4 (from pcwalton:text-rendering); r=mbrubeck
Like Gecko, we treat `geometricprecision` the same as
`optimizelegibility` for now.

r? @mbrubeck

Source-Repo: https://github.com/servo/servo
Source-Revision: 1a021f66354d9b6c14f76178d803185e50ad87d3
2015-01-08 13:48:53 -07:00

28 lines
443 B
HTML

<!DOCTYPE html>
<html>
<head>
<style>
body {
font-size: 24pt;
font-family: "PT Sans";
font-weight: bold;
}
#a {
text-rendering: optimizelegibility;
}
#b {
text-rendering: geometricprecision;
}
#c {
text-rendering: optimizespeed;
}
</style>
</head>
<body>
<div id=a>Harry finally caught the Snitch.</div>
<div id=b>Harry finally caught the Snitch.</div>
<div id=c>Harry finally caught the Snitch.</div>
</body>
</html>