Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3231b507df562bd14ce7499b9b3c151136936bbe
      
https://github.com/WebKit/WebKit/commit/3231b507df562bd14ce7499b9b3c151136936bbe
  Author: Sam Weinig <[email protected]>
  Date:   2026-07-15 (Wed, 15 Jul 2026)

  Changed paths:
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp
    M Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.h
    M Source/WebCore/editing/ApplyStyleCommand.cpp
    M Source/WebCore/editing/EditingStyle.cpp
    M Source/WebCore/editing/cocoa/NodeHTMLConverter.mm
    M Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp
    M Source/WebCore/style/StyleBuilderCustom.h
    M Source/WebCore/style/StyleExtractorCustom.h
    M Source/WebCore/style/StyleResolveForFont.cpp
    M 
Source/WebCore/style/computed/StyleComputedStyleProperties+SettersCustomInlines.h

  Log Message:
  -----------
  [EvaluationTimeZoom] Convert remaining font related uses to use unzoomed 
lengths
https://bugs.webkit.org/show_bug.cgi?id=319259

Reviewed by Darin Adler and Alan Baradlay.

Switches to using unzoomed length for font related cases.

For uses of deprecatedToStyleFromCSSValue() or when passing no
conversion data it is fine a no-op to change to passing no zoom
factor explicitly.

To allow the unzoomed value to be accessed at computed value time
during animations, ComputedStyleProperties::setFontSize was fixed
to ensure the usedZoom was maintained when setting the size.

* Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.cpp:
* Source/WebCore/css/parser/CSSPropertyParserConsumer+Font.h:
* Source/WebCore/editing/ApplyStyleCommand.cpp:
* Source/WebCore/editing/EditingStyle.cpp:
* Source/WebCore/editing/cocoa/NodeHTMLConverter.mm:
* Source/WebCore/html/canvas/CanvasRenderingContext2DBase.cpp:
* Source/WebCore/style/StyleBuilderCustom.h:
* Source/WebCore/style/StyleExtractorCustom.h:
* Source/WebCore/style/StyleResolveForFont.cpp:
* 
Source/WebCore/style/computed/StyleComputedStyleProperties+SettersCustomInlines.h:

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



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

Reply via email to