As notas de versão são escritas em inglês.
A fixed-width box is now sized like one, and a code-hosting site gets its sidebar back
A box with a fixed width contributes exactly that width when a shrink-to-wrap parent measures how much room it needs - a rule so basic it is easy to miss that it was wrong. The engine had been measuring such a box at the width of its text instead, so a fixed-width panel inside an auto-width wrapper became invisible to that wrapper's sizing. Found by looking at a code-hosting site: a repository page's whole right-hand column - About, topics, stars and forks, Releases, Sponsor - was wrapping off the bottom of the page and out of view, because the sidebar's fixed width never reached the flexbox that was supposed to reserve room for it, so the file list took the entire row. With the fix the sidebar sits beside the file list exactly as in the reference browser. The rule is careful about the cases where a width is not a fixed number - a table whose columns can push past it, a percentage that needs a container to resolve against, an image with its own intrinsic size - and leaves those alone. The whole engine gate holds at 6375 of 6375 and no test page regressed.
O que mudou
4 mudanças- RenderizaçãoFixed: a box with a definite width now contributes that exact width to its parent's intrinsic (shrink-to-fit) size, instead of being measured at its text width. A fixed-width panel inside an auto-width flex or float wrapper was invisible to the wrapper's sizing, so the wrapper collapsed.
- Abas e interfaceFixed as a result: a code-hosting site repository pages now render their entire right-hand sidebar (About, topics, stars, watching, forks, Releases, Sponsor) beside the file list, where it belongs - it had been wrapping off the bottom of the page and out of view.
- RenderizaçãoCareful scoping: the rule leaves a table (whose columns may exceed its stated width), a percentage or calc()-with-percent width (which needs a container to resolve against), and replaced elements with their own intrinsic size on their existing paths; box-sizing:border-box is handled so a border-box width is not double-counted.
- RenderizaçãoVerified: a regression test covers the content-box and border-box cases, the engine gate holds at 6375 of 6375, and none of the twelve real-site comparisons or the 96-case rendering corpus regressed.





