Reflow
Reflow is the recalculation or rearrangement of document content and layout to accommodate changes in content, styling, or available display space.
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.
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.
Also covered in
Related concepts
- zoomproduced by · Browser zoom is a user-controlled display-scaling feature that enlarges or reduces a rendered page and may cause its layout to reflow.
- DOM fragmentaddressed by · A DOM fragment is a lightweight, detached node that can hold a subtree of nodes independently of a document tree.
- accessibility barrieraddresses · A feature, condition, or design decision that impedes or prevents people with disabilities from accessing or using technology.
- translateY()contrasts with · The CSS translateY() transform function moves an element vertically along the y-axis by a specified distance.
- WCAGconfigured by · The Web Content Accessibility Guidelines are W3C recommendations with testable criteria for making web content accessible to people with disabilities.
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.

