negative margin-right on inline leads to wrapping of text, in a shrink-wrap block (if the text is wrappable, via having multiple words or "word-wrap: break-word")
Categories
(Core :: Layout: Block and Inline, defect)
Tracking
()
| Webcompat Priority | revisit |
People
(Reporter: amaury, Unassigned)
References
Details
Attachments
(3 files)
Updated•13 years ago
|
Comment 1•13 years ago
|
||
Comment 3•13 years ago
|
||
Comment 5•13 years ago
|
||
Comment 6•13 years ago
|
||
Comment 8•13 years ago
|
||
Comment 10•13 years ago
|
||
| Reporter | ||
Comment 11•13 years ago
|
||
| Reporter | ||
Comment 12•13 years ago
|
||
| Reporter | ||
Comment 13•13 years ago
|
||
| Reporter | ||
Comment 14•13 years ago
|
||
| Reporter | ||
Comment 15•13 years ago
|
||
Comment 16•13 years ago
|
||
| Reporter | ||
Comment 17•13 years ago
|
||
| Reporter | ||
Comment 18•13 years ago
|
||
Comment 19•11 years ago
|
||
Comment 20•7 years ago
|
||
Comment 21•6 years ago
|
||
Note: word-wrap:break-word probably isn't particularly relevant here; it simply creates linebreak opportunities. You can trigger the same bug with a sentence that includes spaces (which also create linebreak opportunities), too, as in testcases for some upcoming bugs that I'll be duping here.
--> adjusting bug summary to soften the importance of word-wrap:break-word
Updated•6 years ago
|
Comment 26•6 years ago
|
||
--> copying Webcompat Priority: revisit field from dupe bug 1476925 and bug 1406116.
Updated•6 years ago
|
Comment 27•6 years ago
|
||
Argh, sorry -- it actually looks like this is indeed different from the dupes. Namely:
(1) in the testcases here, Chrome actually matches our rendering now! (e.g. in the first testcase, Sometexthere ends up wrapping midword in Chrome, just like it does in Firefox. And in the second more-complex testcase (from comment 19), Chrome looks just like Firefox as well as far as I can tell (linewrapping/shrinkwrapping in exactly the same places)
(2) The dupe bugs have padding-right which is now what's responsible for the Chrome/Firefox difference in their testcases.
I'll undupe the dupes, and close this bug as INVALID (since per comment 10, our behavior is fine per spec, and webcompat now seems to depend on it).
The Chrome version that I'm testing is Chrome 82.0.4068.4 (Official Build) dev (64-bit), FWIW.
Comment 28•6 years ago
|
||
(Cleaned up the dupes. Bug 1406116 is still legitimately a dupe of this one.)
Description
•