Closed Bug 761645 Opened 12 years ago Closed 8 years ago

Content offset when combining letter-spacing and display: inline-block

Categories

(Core :: Layout, defect)

x86_64
All
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1224669

People

(Reporter: jon, Unassigned)

References

Details

Have two levels of display: inline-block with letter-spacing: -4px to counteract the natural spacing between inline elements. The content of the second level is offset by the amount of whitespace "removed".

Bug example here: http://jon.thesquareplanet.com/inline-block-bug/

Bug is also present in Webkit, but Opera seems to handle it correctly.
Possibly the same as this Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=69072
OS: Linux → All
Version: 12 Branch → Trunk
Component: General → Layout
Product: Firefox → Core
QA Contact: general → layout
AFAICT, this is fixed in bug 1224669; the problem illustrated by the testcase here no longer reproduces on current Nightly.

As such, duping this forward to the bug where the patch landed.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.