Closed Bug 1890773 Opened 7 months ago Closed 7 months ago

Provide a pref to control how letter-spacing is applied

Categories

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

enhancement

Tracking

()

RESOLVED FIXED
126 Branch
Tracking Status
firefox126 --- fixed

People

(Reporter: jfkthame, Assigned: jfkthame)

References

Details

Attachments

(1 file)

In https://github.com/w3c/csswg-drafts/issues/10193, I am proposing that the spec for letter-spacing should be changed to call for the spacing to be applied equally on both sides of each character.

While waiting for any conclusions there (which I suspect may take some time), I'd like to implement a pref to allow us to experiment with different behaviors in Gecko, so we can potentially try shipping the new behavior on Nightly at least, and see how it goes in the wild. There will probably be some concerns that changing the behavior may not be web-compatible; by exposing it on Nightly we'd be able to begin to explore whether this is a real issue.

With the pref set to 0 by default, this does not change any existing behavior.

My intention is that a following patch will set it to 2 in Nightly. This will affect
a bunch of reftests, and so test/expectation adjustments will also be needed.

Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Pushed by jkew@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/1bb52c5a65eb Create a pref to control how letter-spacing is inserted around characters. r=layout-reviewers,emilio
Status: ASSIGNED → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → 126 Branch
Blocks: 1891446
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: