1
0
Fork 0
firefox/testing/web-platform/tests/css/css-pseudo/before-preceding-whitespace-dynamic.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

15 lines
568 B
HTML

<!DOCTYPE html>
<title>Removing an empty inline should not cause a space after ::before content to collapse</title>
<link rel="help" href="https://drafts.csswg.org/css-pseudo/#generated-content">
<link rel="help" href="https://drafts.csswg.org/css-text/#white-space-rules">
<link rel="match" href="../reference/pass_if_two_words.html">
<style>
div::before { content: "two" }
</style>
<p>There should be a space between "two" and "words" below.</p>
<div> <span id="rm"></span><span>words</span></div>
<script>
rm.offsetTop;
rm.remove();
rm.offsetTop;
</script>