Word-spacing with text-align:justify adds too much space with Inline-blocks.
Reported by
david....@gmail.com,
Jun 5 2017
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.110 Safari/537.36 Example URL: https://jsfiddle.net/yvqyrojg/8/ Steps to reproduce the problem: 1. Visit https://jsfiddle.net/yvqyrojg/8/ 2. Resize the screen or the preview frame 3. Observe: usually the links are not aligned with the right edge. 4. Try it on firefox, and observe that the links are aligned. What is the expected behavior? Justified text including inline-blocks and word-spacing should match the firefox behavior. In other words, trailing word-spaces at the end of the line should not contribute to the width of the line. What went wrong? Apparently trailing word-spaces at the end of the line are incorrectly counted as part of the line and ruin justification. Note that if the same experiment is run with ordinary words instead of inline-block elements, the problem does not appear on Chrome. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 58.0.3029.110 Channel: stable OS Version: OS X 10.12.5 Flash Version:
,
Jun 5 2017
,
May 29 2018
|
|||
►
Sign in to add a comment |
|||
Comment 1 by dglazkov@chromium.org
, Jun 5 2017Status: Untriaged (was: Unconfirmed)