diff --git a/docs/output.md b/docs/output.md index 71b0ccd..18219b7 100644 --- a/docs/output.md +++ b/docs/output.md @@ -289,15 +289,22 @@ style rule in each side's stylesheets and lists the groups of rules only one sid ``` rules: 3 changed groups, 1 never matched, 2 matched on some shots +chat.css (1 rule) matched nothing: /help@1440,375 - +docs.css @media (width >= 60em) (5 rules) matched /a@960,1440 /b@960; nothing /a@959,375 + +docs.css @media (min-width: 60em) (5 rules) matched /a@960,1440 /b@960; nothing /a@959,375 -docs.css @media (min-width: 60em) (5 rules) matched /a@960,1440 /b@960; nothing /a@959,375 ``` - A rule is its enclosing at-rules, selector (nesting resolved) and declarations, as Chrome - serializes them. So pure notation changes Chrome normalizes (`rgb(0 0 0)` and - `rgb(0, 0, 0)`) are no change, while `min-width:` against `width >=` is. Asset hashes in - `url()` and the left origin are read as on the other side. A rule moved to another file is - no change. Only style rules count: not `@font-face`, `@keyframes` or `@property`. + serializes them, compared by meaning. So notation Chrome normalizes (`rgb(0 0 0)` and + `rgb(0, 0, 0)`, hex case, `0` and `0px`, merged shorthands) is no change, and neither is + declaration order or `@media (min-width: 60em)` against `(width >= 60em)`, or `max-width:` + against `<=`. A shorthand and longhand that swap order are a change, since that changes + what the rule does. A rule with a logical (`margin-inline-start`) or `-webkit-` property + keeps its order, since `-webkit-border-image` and `border-image` set the same thing and the + later wins, so reordering one is a change even where it does nothing. The reversed + `(60em <= width)` and the two-sided `(60em <= width <= 80em)` aren't read as `min-width:`. + Asset hashes in `url()` and the left origin are read as on the other side. A rule moved to + another file is no change. Only style rules count: not `@font-face`, `@keyframes` or + `@property`. - `+` rules only the left (your change) has, `-` only the right. A group is a stylesheet's file name (asset hash as `#`; a `

Rule coverage guard rail

-

The two sides write one breakpoint in different notation and render the same, so only rule coverage tells the rewritten rule apart, and whether any shot reached it.

+

The two sides write their breakpoints in different notation and render the same, so only rule coverage tells a rule that really changed from one rewritten, and whether any shot reached it.