Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 038b868712bd44248b9c4d87d55ced4aa25dc940
      
https://github.com/WebKit/WebKit/commit/038b868712bd44248b9c4d87d55ced4aa25dc940
  Author: Diego Pino Garcia <[email protected]>
  Date:   2026-08-29 (Sat, 29 Aug 2026)

  Changed paths:
    M LayoutTests/platform/glib/TestExpectations
    M Source/WebCore/platform/graphics/Font.cpp
    M Source/WebCore/platform/graphics/Font.h

  Log Message:
  -----------
  REGRESSION(320028@main): [GLIB] Apply advance height only if font has a vmtx 
table
https://bugs.webkit.org/show_bug.cgi?id=206001

Reviewed by Carlos Garcia Campos.

Follow-up to 320028@main.

Resolve the CSS 'ch' unit from the '0' glyph's vertical advance only when the
font has vertical metrics (i.e vmtx table).

'ch-unit-017.html' keeps passing because its @font-face features vertical 
metrics.
This change also allows to restore five tests that were passing before 
320028@main.

* LayoutTests/platform/glib/TestExpectations:
* Source/WebCore/platform/graphics/Font.cpp:
(WebCore::Font::platformGlyphInit):
(WebCore::Font::setZeroWidth):
* Source/WebCore/platform/graphics/Font.h:

Canonical link: https://commits.webkit.org/320100@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to