[webkit-changes] [WebKit/WebKit] 2d83fe: Implement `Element.currentCSSZoom`

Ahmad Saleem noreply at github.com
Tue Oct 1 13:57:08 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 2d83fe5b565d36b4ec19c06c6383c150e54d983a
      https://github.com/WebKit/WebKit/commit/2d83fe5b565d36b4ec19c06c6383c150e54d983a
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2024-10-01 (Tue, 01 Oct 2024)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/Element-currentCSSZoom-expected.txt
    M Source/WebCore/dom/Element+CSSOMView.idl
    M Source/WebCore/dom/Element.cpp
    M Source/WebCore/dom/Element.h

  Log Message:
  -----------
  Implement `Element.currentCSSZoom`

https://bugs.webkit.org/show_bug.cgi?id=279881
rdar://136662584

Reviewed by Tim Nguyen.

This patch implements `currentCSSZoom` as per web specification [1] and
aligns with Gecko / Firefox and Blink / Chrome.

[1] https://drafts.csswg.org/cssom-view/#dom-element-currentcsszoom

* Source/WebCore/dom/Element.cpp:
(WebCore::Element::currentCSSZoom):
* Source/WebCore/dom/Element.h:
* Source/WebCore/dom/Element+CSSOMView.idl:
* LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/Element-currentCSSZoom-expected.txt:

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



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


More information about the webkit-changes mailing list