1
0
Fork 0
firefox/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-dynamic-001.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

16 lines
575 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property">
<link rel="match" href="text-autospace-no-001-ref.html">
<link rel="mismatch" href="text-autospace-no-001-mismatch-ref.html">
<style>
.no-as { text-autospace: no-autospace; }
</style>
<div class="test no-as">国国AA国国AA国国</div>
<div class="test">国国AA国国AA国国</div>
<script>
document.body.offsetTop; // Force layout.
for (const element of document.getElementsByClassName('test')) {
element.classList.toggle('no-as');
}
</script>