Skip to content

Follow up color contrast rule review warnings #203

Description

@aram-devdocs

Follow-up from PR #202 Claude APPROVE warnings:

  • Add a one-line comment documenting the f32::EPSILON alpha-opaque invariant in crates/plumb-core/src/rules/color/contrast_aa.rs.
  • Track/assess repeated parent_index and nodes_by_dom_order rebuild cost if rule-check profiling shows it matters.
  • Add a short fixture doc/table mapping nth-child(N) to dom_order/font size in crates/plumb-core/tests/golden_color_contrast_aa.rs.

Non-blocking for PR #202; created to satisfy the warning follow-up gate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions