50 test cases

Layout

Layout is the backbone of any interface: it decides where visitors look first, how they navigate, and how much effort they spend completing a task. A layout regression is never cosmetic. A "Pay" button pushed below the fold by a padding tweak is an immediate conversion drop; an admin table whose columns overlap is an operational risk on a business workstation. Layout regressions usually come from unintended cascade effects: a global padding adjustment made to fix one edge case, an overflow: hidden that breaks margin collapse, a flexbox refactor that reverses item order, a CSS grid change that misaligns an entire catalog, or a new component that silently pushes adjacent content out of place. The complexity of the CSS box model, combined with nested flexbox, grid, absolute positioning, and float, makes these interactions hard to anticipate even for an experienced developer. Traditional automated test pipelines confirm that elements exist in the DOM, not that they sit visually in the right place. Delta-QA covers that blind spot by comparing full-page screenshots before and after each change, then highlighting every area whose position, size, or alignment has shifted. The visual report makes misalignments, overlaps, and elements falling out of the viewport plainly visible, so you can verify a CSS refactor has not broken another part of the application without re-inspecting every template by hand. This pixel comparison turns visual regression testing into a routine, repeatable safety net for UI changes.

What we detect

1

Flexbox Properties

Monitors flex-direction, justify-content, align-items, flex-wrap, gap, and order changes that alter element arrangement.

2

CSS Grid Changes

Detects grid-template modifications, track sizing changes, grid-area reassignments, and auto-placement behavior shifts.

3

Position & Stacking

Catches position property changes (static, relative, absolute, fixed, sticky) and their impact on element placement.

4

Margin & Padding

Tracks spacing changes including margin collapse scenarios that can cause unexpected layout shifts.

5

Box Model & Sizing

Detects width, height, min/max constraints, and box-sizing changes that affect element dimensions.

6

Float & Clear

Identifies float-based layout changes and clearfix behavior that can cause content reflow.

Live example

See exactly what Delta-QA detects. Compare the two versions side by side.

Before
After

Real-world scenarios

🎯

The padding that shifts everything

A developer fixes an alignment bug on the sign-up form and touches the global input padding. Side effect: the payment form ends up with larger fields, and the "Pay" button drops below the fold. On mobile, it's worse — the form overflows the screen. QA checked the sign-up form (the one that was modified), not the payment form. Delta-QA compares screenshots of all pages and highlights the shift on the payment form — the "Pay" button disappearing from the viewport is immediately visible in the diff.

⚠️

The flexbox that reverses order

A developer refactors the pricing page CSS and accidentally reverses the display order of the plans. The three tiers now appear Enterprise, Pro, Free — from right to left. Visitors see the most expensive option first, the psychological anchoring is inverted. The release was rushed, they tested the bare minimum: all three plans are present, clicks work, ship it. Delta-QA compares screenshots and detects the blocks have swapped positions — the reversal is clearly visible in the diff.

💡

The silent margin collapse

A developer adds overflow: hidden on a container to fix an overflow bug. Unexpected consequence: CSS margin collapsing breaks and the space between each section suddenly doubles. The page grows 200px longer, sections look disconnected from each other. The team trusted the automated test pipeline, which doesn't cover visuals. Delta-QA compares screenshots and highlights the doubled spacing between sections — the entire layout shift stands out in the diff.

Ready to catch every visual regression?

Download Delta-QA and start detecting CSS changes in your web pages — no code required.