Contact emails lin...@chromium.org, ko...@chromium.org
Explainer None Specification https://w3c.github.io/csswg-drafts/css-inline-3/#propdef-leading-trim Summary Specifies whether and how browsers should remove vertical spacings above and below the text content from the first and last lines of block text. This feature allows developers to have precise control over spacing, and ensures font metrics are respected during layout in terms of spacing. Blink component Blink>Layout>Inline <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ELayout%3EInline> Motivation Developers and designers sometimes find the texts are not visually aligned, as browsers would pad extra spaces to ensure line height without taking the font-reserved space into account. This feature aims to improve this. Initial public proposal https://github.com/w3c/csswg-drafts/issues/3240 TAG review N/A TAG review status Not applicable RisksInteroperability and Compatibility Gecko: No signal WebKit: Preview https://webkit.org/blog/13839/release-notes-for-safari-technology-preview-163/ Web developers: The issue was proposed in 2018[1], and got many responses. [1] https://github.com/w3c/csswg-drafts/issues/3240 Other signals: WebView application risks No. Debuggability Is this feature fully tested by web-platform-tests <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md> ? No. Will add more. Flag nameCSSLeadingTrimBasic Requires code in //chrome? False Tracking bug https://bugs.chromium.org/p/chromium/issues/detail?id=1411581 Estimated milestones No milestones specified Link to entry on the Chrome Platform Status https://chromestatus.com/feature/5174589850648576 -- You received this message because you are subscribed to the Google Groups "blink-dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+unsubscr...@chromium.org. To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CA%2B99URLC-V9Zrscj8F%3D%3DkGmnmp0OmNhGB11Uyy%2B-y5ZExSK5MQ%40mail.gmail.com.