ladybird/Tests/LibWeb/Text/expected/Editing/execCommand-preserveWhitespace.txt
Callum Law ed65d5b342 LibWeb: Serialize CSS declarations as shorthands where applicable
When serializing CSS declarations we now support combining multiple
properties into a single shorthand property in some cases.

This comes with a healthy dose of FIXMEs, including work to be done
around supporting:
 - Nested shorthands (e.g. background, border, etc)
 - Shorthands which aren't represented by the ShorthandStyleValue type
 - Subproperties pending substitution

This gains us a bunch of new test passes, both for WPT and in-tree
2025-05-29 12:04:28 +02:00

2 lines
104 B
Text

Before: foo<div style="white-space: pre">bar</div>
After: foo<span style="white-space: pre;">bar</span>