liveBook · Manning

Reflow

Reflow is the recalculation or rearrangement of document content and layout to accommodate changes in content, styling, or available display space.

How 2 Manning books explain it

Architecting Accessibility

Reflow is the rearrangement of content so it remains usable when a viewport is narrowed or magnified.

How it is used
Preserves readable, usable content when people zoom, enlarge text, or use a narrow viewport.
How deep it goes
Defines expected scrolling, gives viewport tests, and notes exceptions, but stops short of a full implementation recipe.
Examples
Tests 400% zoom on a 1280px screen or a 320px viewport, and allows contained scrolling for complex tables, maps, and timelines.
What you can do after
Evaluate pages at 400% zoom or 320px wide, then identify and contain justified horizontal scrolling.

Read how Architecting Accessibility explains reflow →

CSS in Depth, Second Edition

Reflow is recomputation of document layout after a change affects the size or position of elements.

How it is used
Explains how size, position, and DOM changes propagate through document layout during rendering.
How deep it goes
Defines reflow and identifies its triggers, stopping short of detailed browser implementation internals.
Examples
Uses width, height, top, left, DOM insertion or removal, and background-color changes as contrasting cases.
What you can do after
Diagnose whether a visual change requires layout recomputation or only repainting.

Read how CSS in Depth, Second Edition explains reflow →

Also covered in

Related concepts

Questions about reflow

What is reflow?

Reflow is the recalculation or rearrangement of document content and layout to accommodate changes in content, styling, or available display space.

Which Manning books explain reflow?

Architecting Accessibility and CSS in Depth, Second Edition.

What is the difference between reflow and translateY()?

Reflow is the recalculation or rearrangement of document content and layout to accommodate changes in content, styling, or available display space. The CSS translateY() transform function moves an element vertically along the y-axis by a specified distance.

These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.