mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-23 16:40:03 +00:00
21 lines
No EOL
625 B
HTML
21 lines
No EOL
625 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
#single-value {
|
|
white-space-trim: discard-inner;
|
|
}
|
|
|
|
#multiple-values {
|
|
white-space-trim: discard-inner discard-after;
|
|
}
|
|
</style>
|
|
<div id="default"></div>
|
|
<div id="single-value"></div>
|
|
<div id="multiple-values"></div>
|
|
<script src="../include.js"></script>
|
|
<script>
|
|
test(() => {
|
|
println(getComputedStyle(document.getElementById("default")).whiteSpaceTrim);
|
|
println(getComputedStyle(document.getElementById("single-value")).whiteSpaceTrim);
|
|
println(getComputedStyle(document.getElementById("multiple-values")).whiteSpaceTrim);
|
|
});
|
|
</script> |