Closed Bug 1581354 Opened 5 years ago Closed 5 years ago

[wpt-sync] Sync PR 19058 - Implement the font-optical-sizing property

Categories

(Core :: Layout: Text and Fonts, task, P4)

task

Tracking

()

RESOLVED FIXED
mozilla71
Tracking Status
firefox71 --- fixed

People

(Reporter: mozilla.org, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream error])

Sync web-platform-tests PR 19058 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/19058
Details from upstream follow.

Dominik Röttsches <drott@chromium.org> wrote:

Implement the font-optical-sizing property

Implement the CSS fonts property font-optical-sizing [1]. Typographic
optical sizing means that a font has slight variations in glyph contrast
to better optimize for legibility at different font sizes: The glyph
shapes vary between for example a headline font size and a body text
font size. The CSS font-optical-sizing property with its default value
of auto exists to automatically apply the current font size value to a
variable font's 'opsz' axis. This means, if a variable font supports the
'opsz' axis and optical sizing, the right value is automatically applied
without the need for an explicit font-variation-settings styling.

Intend to implement and ship:
https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/Y3lhEykjfV0

Chromestatus entry:
https://www.chromestatus.com/feature/5685958032752640

[1] https://drafts.csswg.org/css-fonts-4/#font-optical-sizing-def

Bug: 773697
Change-Id: Ifa4b6e042204a3fbf172b8cfe232821d8691283b
Reviewed-on: https://chromium-review.googlesource.com/1795244
WPT-Export-Revision: a68cef30dc20122e47420988f0e4075d018cf051

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Whiteboard: [wptsync downstream] → [wptsync downstream error]
Ran 4 tests
PASS   : 1[windows7-32-debug,windows7-32-opt], 4[android-em-7.0-x86_64-debug-geckoview,android-em-7.0-x86_64-opt-geckoview,linux64-asan-opt,linux64-debug,linux64-opt,linux64-qr-debug,linux64-qr-opt,windows10-64-debug,windows10-64-opt,windows10-64-qr-debug,windows10-64-qr-opt]
FAIL   : 3[windows7-32-debug,windows7-32-opt]
Pushed by wptsync@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fb94fcc91819
[wpt PR 19058] - Implement the font-optical-sizing property, a=testonly
Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla71
You need to log in before you can comment on or make changes to this bug.