Skip to content

--computed: drop margin changes when the box is unchanged #75

Closed

Description

@tmashara

What
Don't report margin-* changes in --computed when the element's box is unchanged. Alternatively, compare the used position rather than the computed margin.

Why
Findings like .container margin-left: 60px → 0px showed up at random routes and widths, base vs base too. A probe showed the element's x and width never changed: on some loads Chrome's getComputedStyle reports an auto margin as 0px. That was about 14 of the remaining findings in each run of a CSS-only change, so they had to be explained away by hand every time.

Activity

  1. added
    bug
    on Oct 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions