Las notas de versión están escritas en inglés.
Grid layouts and responsive pages, tuned to the reference browser
Three fidelity fixes for the modern layout web, each traced to a single rule by rendering real pages beside the reference browser. Pages that swap their styling at screen-size breakpoints, which is nearly every site today, now report the correct styles to their own scripts for the actual window size: before, a script that asked the browser what an element's computed style was got the answer for an impossibly wide screen, so responsive menus, charts and widgets that branch on that could arrange themselves for the wrong breakpoint. Grids built like a newspaper front page keep their columns even, where a headline spanning several equal columns used to secretly widen the ones it covered and push a sidebar wider than the main story. And when a grid centers or right-aligns its items, the item's own margins are now counted as part of it, so a block meant to sit centered with a small side margin no longer drifts off by that margin and drags a whole column structure with it. Every fix is general and checked by the automatic pixel comparison against the reference browser. Pages that did not use these patterns are unchanged.
Qué cambió
3 cambios- Pestañas e interfazResponsive pages read their own styles correctly. When a script asks the browser for an element's current styling, the answer now reflects the real window width, so pages that change layout at breakpoints (responsive navigation, dashboards, charts) no longer occasionally build themselves for a different screen size than the one you are on. Previously that query was answered as if the window were impossibly wide, so every min-width breakpoint looked active at once.
- Pestañas e interfazNews-style grids keep even columns. An item that spans several equal columns of a grid, the shape a newspaper or news-site front page uses, no longer quietly widens the columns it covers to fit its longest word. The columns stay even and the long item overflows within them, matching the reference browser, so a narrow sidebar is no longer pushed wider than the main story beside it.
- RenderizadoCentered grid content lands in the right place. When a grid centers or right-aligns its items, each item's side margins are now counted as part of the item when working out where it sits, so a block meant to be centered with a small margin no longer drifts sideways by that margin. On grid-built home pages this straightened the whole column structure back to where the reference browser puts it.

