Revert "[css-text] A leading white-space should break before handling overflow"
This reverts commit 6ea2a2e7. Reason for revert: <INSERT REASONING HERE> Original change's description: > [css-text] A leading white-space should break before handling overflow > > Leading white-spaces are indeed breaking opportunities that should > prevent, if there are no other css properties forcing it, breaking text > in the middle of a word when honoring the word-wrap/overflow-wrap CSS > property. > > We are doing so if the leading white-space sequence is longer than 1 > character, but when we have a single leading white-space, we are missing > that breaking opportunity and we may lead to cases, like the one > described in the bug. > > However, this breaking opportunity should be considered together > with other provided by the word-break CSS property (eg, break-word or > break-all). > > There is a discussion [1] in the CSS WG github about this issue, which > provides an interoperability analysis of a few cases where a single > leading white-space character may produce different results, depending > on the browser and the combination of line-breaking properties. > > [1] https://github.com/w3c/csswg-drafts/issues/2907 > > Bug: 854624 > Change-Id: I49ec8282e899a32990662c104b48cab04057b909 > Reviewed-on: https://chromium-review.googlesource.com/1130515 > Commit-Queue: Javier Fernandez <jfernandez@igalia.com> > Reviewed-by: Koji Ishii <kojii@chromium.org> > Cr-Commit-Position: refs/heads/master@{#575596} TBR=jfernandez@igalia.com,kojii@chromium.org # Not skipping CQ checks because original CL landed > 1 day ago. Bug: 854624 Change-Id: I9ee4cd370dd92b74f9fdc4f42d16638253dd2dee Reviewed-on: https://chromium-review.googlesource.com/1146360Reviewed-by:Javier Fernandez <jfernandez@igalia.com> Commit-Queue: Javier Fernandez <jfernandez@igalia.com> Cr-Commit-Position: refs/heads/master@{#577096}
Showing
Please register or sign in to comment