1
0
Fork 0
firefox/testing/web-platform/tests/css/css-text/text-autospace/text-autospace-dynamic-text-003.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

9 lines
380 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-autospace-property">
<link rel="help" href="text-autospace-dynamic-text-001-ref.html">
<div id="target">国国国国国</div>
<script>
const target_text = document.getElementById('target').firstChild;
document.body.offsetTop; // Force layout.
target_text.replaceData(2, 1, 'AA国国AA');
</script>