commit | a07642661ef7ff08c156e90394504a3a40afc9ea | [log] [tgz] |
---|---|---|
author | Javier Fernandez <jfernandez@igalia.com> | Wed Jan 16 19:22:45 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Jan 16 19:22:45 2019 |
tree | 62dad1116a95770d68dc14aa808a3d8d2609be92 | |
parent | 6e8e26d318957dac1e502f482e377c0218a5867a [diff] |
[css-text] New value 'break-spaces' for the white-space property Finally the CSS WG decided [1] to move back the 'break-spaces' value to the 'white-space' property. This makes the parsing logic easier than the previous approach of using the 'overflow-wrap' property. This new value prevents the white-space sequence to collapse and gives breaking opportunities after every preserved white-space. https://drafts.csswg.org/css-text-3/#valdef-white-space-break-spaces Additionally, unlike 'pre-wrap', non-collapsible spaces or tabs at the end of a line cannot be hung or visually collapsed, since we want them to be preserved and broken. [1] https://github.com/w3c/csswg-drafts/pull/2841 Bug: 767634 Change-Id: I55e888d4472de11c64c4b14e2710c6e3d1832e67 Reviewed-on: https://chromium-review.googlesource.com/c/1136543 Reviewed-by: Koji Ishii <kojii@chromium.org> Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Cr-Commit-Position: refs/heads/master@{#623324}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .