Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 55bfadcbdeed3b033a8507094f1909ac7f18b842
      
https://github.com/WebKit/WebKit/commit/55bfadcbdeed3b033a8507094f1909ac7f18b842
  Author: Vitor Roriz <[email protected]>
  Date:   2026-05-18 (Mon, 18 May 2026)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/font-relative-units-with-zoom-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/font-relative-units-with-zoom.html
    R 
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/ic-unit-expected.txt
    R 
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/ic-unit.html
    M Source/WebCore/style/values/primitives/StyleLengthResolution.cpp

  Log Message:
  -----------
  [EvaluationTimeZoom] Text with cap unit font-size not zoomed properly
https://bugs.webkit.org/show_bug.cgi?id=314988
rdar://173952869

Reviewed by Brent Fulgham.

Compute effectiveRangeZoomOption once at the top of
computeUnzoomedNonCalcLengthDouble (forces Unzoomed when
propertyToCompute == CSSPropertyFontSize) and use it in all
font-relative branches. This pattern was already applied to Em/Rem but
missing from Cap/Rcap, Ex/Rex (xHeight path), Ch/Rch, and Ic/Ric.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/font-relative-units-with-zoom-expected.txt:
 Renamed from ic-unit-expected.txt.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/font-relative-units-with-zoom.html:
 Renamed from ic-unit.html.
* Source/WebCore/style/values/primitives/StyleLengthResolution.cpp:
(WebCore::Style::computeUnzoomedNonCalcLengthDouble):

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



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

Reply via email to