| <!doctype html> |
| <html> |
| <head> |
| <meta charset=utf-8> |
| <title>letter-spacing should not be applied to zero-width format controls</title> |
| <link rel=match href="reference/letter-spacing-control-chars-001.ref.html"> |
| <link rel=help href="https://drafts.csswg.org/css-text-3/#letter-spacing-property"> |
| <style> |
| .test { |
| font: 12px/2 monospace; |
| letter-spacing: 4px; |
| } |
| </style> |
| </head> |
| <body> |
| The two lines below should match:<br> |
| <div class=test> |
| ​let​ter​spac​ing​ should not be |
| ‌af‌fec‌ted‌ by |
| ‍ze‍ro‍-‍width‍ |
| ⁠for⁠mat⁠ |
| characters |
| </div> |
| <div class=test> |
| letterspacing should not be |
| affected by |
| zero-width |
| format |
| characters |
| </div> |
| </body> |
| </html> |