mirror of
https://github.com/servo/servo.git
synced 2025-06-25 09:34:32 +01:00
This assumes that there are no ligatures that span across multiple words. Since we have a per-word shape cache, this is a safe assumption as of now. I have left comments to ensure that, if and when this is revisted, we make sure to handle it properly.
16 lines
238 B
HTML
16 lines
238 B
HTML
<html>
|
|
<head>
|
|
<!-- Tests that `word-spacing` works. -->
|
|
<link rel="stylesheet" type="text/css" href="css/ahem.css">
|
|
<style>
|
|
* {
|
|
word-spacing: 100px;
|
|
color: chartreuse;
|
|
}
|
|
body {
|
|
margin: 0;
|
|
}
|
|
</style>
|
|
<body>X XX</body>
|
|
</head>
|
|
|