[Webkit-unassigned] [Bug 165796] New: text-align: justify and word-spacing combine to overflow column
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Dec 13 06:02:04 PST 2016
https://bugs.webkit.org/show_bug.cgi?id=165796
Bug ID: 165796
Summary: text-align: justify and word-spacing combine to
overflow column
Classification: Unclassified
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Layout and Rendering
Assignee: webkit-unassigned at lists.webkit.org
Reporter: bswest at gmail.com
CC: simon.fraser at apple.com
Created attachment 297005
--> https://bugs.webkit.org/attachment.cgi?id=297005&action=review
HTML with inline CSS demonstrating problem
When text-align: justify is used in combination with word-spacing, the text will almost always overflows a column (horizontally). In attached HTML, an exaggerated value of 20px is used for word-spacing, but the problem also occurs with smaller, more reasonable values.
Of note is the fifth line (ending in "post-ironic.") that, for whatever reason, does not overflow.
Curiously, the amount that it overflows seems to be the exact value used for word-spacing. Hopefully that suggests something about the nature of the bug.
It also means that for most lines, one could work around the issue by specifying a padding-right value with the same value as word-spacing. Unfortunately, though, the lines that work above ("post-ironic") become too far inset.
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20161213/83c8520c/attachment.html>
More information about the webkit-unassigned
mailing list