Repository navigation
Commit 1e85a39
committed
fix(html): decide style emptiness and merging on the rendered CSS
removeEmptyElements, removeEmptyAttributes and mergeStyles judged a <style>
or style attribute on its source, so one the renderer minified to nothing, or
closed, only changed on a second pass. The async path prints again with the
answers in hand when one overturns such a choice.1 parent ec9d137 commit 1e85a39
16 files changed
Lines changed: 628 additions & 288 deletions
File tree
- .changeset
- lib
- html
- util
- test
- configCases/html
- minimize-empty-elements
- __snapshots__
- minimize-merge-styles
- __snapshots__
- unitCases
- tooling
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
0 commit comments