Skip to content

Feedback from a style-lint parity run (0.14.1): equivalent gradients and hidden-element clip as computed findings, report --help #133

Closed

Description

@tmashara

One run on renderdiff 0.14.1: marketing, 182 routes × 5 widths, and docs, 49 routes × 5 widths, with --computed. The change swapped hex for CSS variables, applied Stylelint autofix and removed dead CSS. Pixels were clean; every computed finding below was equal values written differently.

  • Equivalent linear-gradient values reported as changes. These were 5 of 18 findings, and each had to be worked out by hand:

    • to top, A, B 90% vs B 10%, A
    • to right vs 90deg
    • 0deg with reversed stops vs the default direction

    I'd want direction and stop order normalized before comparing, or such pairs tagged as equivalent.

  • clip: rect(0 0 0 0) → auto on fully clipped elements. This gave 8 findings with nothing rendered. The elements are 1×1 screen-reader-only spans that stay hidden through clip-path: inset(50%). I'd want clip/clip-path changes skipped or grouped when the element is fully clipped on both sides. Related: --computed misses word-break, overflow-wrap, clip and clip-path #99.

  • renderdiff report --help prints ✗ unexpected argument: --help. Subcommands need their own help.

Activity

  1. added a commit that references this issue on Nov 4, 2026
    99a0fdb
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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions