Customizable minified serialization of computed styles
carlosame opened this issue · comments
Currently, DeclarationFormattingContext
allows to customize the normal serialization of computed styles, given by computedStyle.getCssText()
. But it would be useful to be able to customize computedStyle.getMinifiedCssText()
as well.
Add a writeMinifiedValue()
method to DeclarationFormattingContext
.
With the patch that was just committed, not all minified shorthands are calling the new writeMinifiedValue()
but it should be enough for most use cases. Closing.