Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 63e4faa5434dc8ccc2f3221ea2e4c12a223b62fb
      
https://github.com/WebKit/WebKit/commit/63e4faa5434dc8ccc2f3221ea2e4c12a223b62fb
  Author: Vitor Roriz <[email protected]>
  Date:   2026-06-17 (Wed, 17 Jun 2026)

  Changed paths:
    M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  -----------
  Style::BuilderCustom::applyValueZoom: Treat zoom value of 0 as 1 per spec
https://bugs.webkit.org/show_bug.cgi?id=317376
rdar://179999130

Reviewed by Sammy Gill.

The CSS Viewport spec says that a zoom value of 0 is treated as if it
were 1, not ignored. applyValueZoom used to skip setZoom for a zero
value instead of setting it to 1. The result was the same because the
initial value is 1, but now we explicitly comply with the spec.

* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueZoom):

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



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

Reply via email to