You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 95910a8
Browse filesBrowse the repository at this point in the historyBrowse files
feat(css): fold a one-axis skew, an alpha percentage and a ratio over one
`skewX(a)` is the `skew(a)` whose second component defaults to 0, an
`<alpha-value>` percentage is the number a hundredth of it names, and a
`<ratio>` denominator of 1 is the one an omitted denominator means.
Copy file name to clipboardExpand all lines: .changeset/070-css-html-minify-transforms.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,4 +2,4 @@
2
2
"webpack": minor
3
3
---
4
4
5
-
Minify CSS and HTML further where the document is unchanged: CSS rounds a number to 6 significant digits, rewrites a time into the shorter of `ms` / `s`, folds `calc()` and every math function the spec's grammars name over constants whose result is exact, rounding what it prints the way an authored number is rounded, reducing `calc-size()`'s size in place, down to the sum of unlike units it reduces to, takes the parentheses off a folded negative where the property accepts one, drops a zero's unit inside a call whose every number is a length, converts every polar and Lab color function to hex where the engine agrees, merges four box longhands with unrelated declarations between them — sides or corners — the two a pair shorthand sets, and the slots of an order-free one where each value parses back into its own, collapses an `and` of two one-sided media-feature ranges into the interval it describes, writes `2n+1` as the `odd` it names, a zero-step An+B as the child it selects, a `from` keyframe as `0%`, each `unicode-range` in its shortest equal spelling and each named color in the shortest spelling of its value where the property takes no identifier of the author's own, writes a two-keyword `display` as the one keyword naming the same box, a transform and a linear gradient in their shorter equal form, the `font` shorthand's weight as the number naming it and each layer of a `transition` in the order its grammar lists the slots, unquotes a font family the quotes carry nothing for, rewrites a `<position>` written as edge keywords — including the properties spelling both axes out — and a `font-stretch` keyword into the percentages they resolve to, drops a `<position>`'s second value where it names the centre an omitted one already means, drops a shorthand slot holding the value it already defaults to — including one every value of which its grammar spells out, such as `background`'s image — a `flex` shrink factor no basis can be read as, a shadow's trailing zero lengths and a filter function's argument that is the amount an omitted one means, writes the percent-escapes a data URI's payload does not need as the bytes they name, drops a gradient's last color stop position where the spec's own fix-up already puts it there and — where the target reads CSS Images 4's two-position stop — writes two stops of one color as the one stop naming both, collapses the values a property's own grammar already implies — two equal `<repeat-style>` keywords, an `initial` whose initial value is a shorter word and a `grid-template-areas` row's padding — drops the unit a zero angle does not need and the whitespace neither a combinator inside a selector function nor two calls in a value need, writes a rotation about one axis as the call naming it, reduces a transform until it stops getting shorter, drops a background size's second value where `auto` is what an omitted one already means, and keeps a `@supports` condition as written; HTML normalizes each attribute against the element it is on.
5
+
Minify CSS and HTML further where the document is unchanged: CSS rounds a number to 6 significant digits, rewrites a time into the shorter of `ms` / `s`, folds `calc()` and every math function the spec's grammars name over constants whose result is exact, rounding what it prints the way an authored number is rounded, reducing `calc-size()`'s size in place, down to the sum of unlike units it reduces to, takes the parentheses off a folded negative where the property accepts one, drops a zero's unit inside a call whose every number is a length, converts every polar and Lab color function to hex where the engine agrees, merges four box longhands with unrelated declarations between them — sides or corners — the two a pair shorthand sets, and the slots of an order-free one where each value parses back into its own, collapses an `and` of two one-sided media-feature ranges into the interval it describes, writes `2n+1` as the `odd` it names, a zero-step An+B as the child it selects, a `from` keyframe as `0%`, each `unicode-range` in its shortest equal spelling and each named color in the shortest spelling of its value where the property takes no identifier of the author's own, writes a two-keyword `display` as the one keyword naming the same box, a transform and a linear gradient in their shorter equal form, the `font` shorthand's weight as the number naming it and each layer of a `transition` in the order its grammar lists the slots, unquotes a font family the quotes carry nothing for, rewrites a `<position>` written as edge keywords — including the properties spelling both axes out — and a `font-stretch` keyword into the percentages they resolve to, drops a `<position>`'s second value where it names the centre an omitted one already means, drops a shorthand slot holding the value it already defaults to — including one every value of which its grammar spells out, such as `background`'s image — a `flex` shrink factor no basis can be read as, a shadow's trailing zero lengths and a filter function's argument that is the amount an omitted one means, writes the percent-escapes a data URI's payload does not need as the bytes they name, drops a gradient's last color stop position where the spec's own fix-up already puts it there and — where the target reads CSS Images 4's two-position stop — writes two stops of one color as the one stop naming both, collapses the values a property's own grammar already implies — two equal `<repeat-style>` keywords, an `initial` whose initial value is a shorter word and a `grid-template-areas` row's padding — drops the unit a zero angle does not need and the whitespace neither a combinator inside a selector function nor two calls in a value need, writes a rotation about one axis as the call naming it, reduces a transform until it stops getting shorter, drops a background size's second value where `auto` is what an omitted one already means, writes a skew along one axis as the pair naming it, an alpha value's percentage as the number a hundredth of it names and a ratio without the denominator of `1` an omitted one already means, and keeps a `@supports` condition as written; HTML normalizes each attribute against the element it is on.
0 commit comments