Open Bug 528454 Opened 16 years ago Updated 3 years ago

ligature is visually split when it crosses the beginning of a relatively positioned element

Categories

(Core :: Layout: Text and Fonts, defect)

x86
macOS
defect

Tracking

()

People

(Reporter: robin, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b2) Gecko/20091108 Firefox/3.6b2 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2b2) Gecko/20091108 Firefox/3.6b2 Ligatures occur across element boundaries (good) but don’t decompose with potentially breaking style changes (bad). Reproducible: Always Steps to Reproduce: 1. Load testcase Actual Results: Part of the 'f' character is shifted down, part remains at original height. Expected Results: Decomposed the ligature and then shifted the 'f' down intact. Testcase requires Zapfino font, couldn’t think of a crossplatform font with obvious ligatures.
I think we don't want to decompose at element boundaries in general; that's a feature and not a bug. However, I think we probably should be doing so for the relative positioning boundary. (Though that does break the invariant that relative positioning just moves the existing element.)
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: Decomposition doesn’t happen with positioned characters inside a ligature → ligature is visually split when it crosses the beginning of a relatively positioned element
Right, I really didn't want to break that invariant. Is there a real-world use-case for this that isn't adequately served by just turning off ligatures (e.g., using letter-spacing:0.1px or a future font-variant extension)?
My original testcase for this was wondering if you could do an Amiga-intro style bouncing text animation using js. So no, not really real-world ;) If you can force ligature decomposition using letterspacing and it's going to be a pain to fix this then it's probably a WONTFIX
I'll let David make that call.
Severity: trivial → S4
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: