mirror of
https://github.com/servo/servo.git
synced 2025-06-16 12:24:29 +00: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.
26 lines
343 B
HTML
26 lines
343 B
HTML
<html>
|
|
<head>
|
|
<!-- Tests that `letter-spacing` works. -->
|
|
<style>
|
|
section, nav, main {
|
|
background-color: blue;
|
|
width: 100px;
|
|
height: 100px;
|
|
position: absolute;
|
|
top: 0;
|
|
}
|
|
section {
|
|
left: 0;
|
|
}
|
|
nav {
|
|
left: 200px;
|
|
}
|
|
main {
|
|
left: 400px;
|
|
}
|
|
</style>
|
|
<body><section></section><nav></nav><main></main></body>
|
|
</head>
|
|
|
|
|
|
|