mirror of
https://github.com/servo/servo
synced 2026-05-12 01:46:28 +02:00
The ligature disabling code has been manually verified, but I was unable to reftest it. (The only way I could think of would be to create an Ahem-like font with a ligature table, but that would be an awful lot of work.) Near as I can tell, the method used to apply the spacing (manually inserting extra advance post-shaping) matches Gecko.
18 lines
236 B
HTML
18 lines
236 B
HTML
<html>
|
|
<head>
|
|
<!-- Tests that `letter-spacing` works. -->
|
|
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
|
<style>
|
|
* {
|
|
letter-spacing: 100px;
|
|
color: blue;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
<body>XXX</body>
|
|
</head>
|
|
|
|
|