NEW 246676
Add support for the values raise | drop on initial-letter property
https://bugs.webkit.org/show_bug.cgi?id=246676
Summary Add support for the values raise | drop on initial-letter property
Karl Dubost
Reported 2022-10-17 22:14:28 PDT
See for tests https://wpt.fyi/results/css/css-initial-letter?label=master&label=experimental&aligned&view=subtest&q=initial-letter Spec https://www.w3.org/TR/css-inline/#sizing-drop-initials Applies to: certain inline-level boxes and ::first-letter and inside ::marker boxes (see prose) raise Computes to an initial letter sink of 1. drop Computes to an initial letter sink equal to the initial letter size floored to the nearest positive whole number. If the initial letter sink value is omitted, drop is assumed. Blink https://groups.google.com/a/chromium.org/g/blink-reviews-style/c/jHLdqhphZ3M https://chromium-review.googlesource.com/c/chromium/src/+/3874383 (the current patch doesn't include raise and drop) Gecko doesn't implement yet raise and drop https://bugzilla.mozilla.org/show_bug.cgi?id=1223880 CSSWG discussion https://github.com/w3c/csswg-drafts/issues/2955
Attachments
Radar WebKit Bug Importer
Comment 1 2022-10-24 22:15:17 PDT
yosin
Comment 2 2022-11-22 00:50:29 PST
Blink attempts to ship CSS `initial-letter` applies only `::first-letter`. The patch[1] implements: * `initial-letter: number integer` * `initial-letter: number drop` * `initial-letter: number raise` * `initial-letter: drop number` * `initial-letter: raise number` * `initial-letter: number` [1] https://chromium-review.googlesource.com/c/chromium/src/+/3981353
Note You need to log in before you can comment on or make changes to this bug.