Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 164d8d4181d05310da59d457488d0bc72dcee315
      
https://github.com/WebKit/WebKit/commit/164d8d4181d05310da59d457488d0bc72dcee315
  Author: Sam Weinig <[email protected]>
  Date:   2026-10-05 (Mon, 05 Oct 2026)

  Changed paths:
    M Source/WebCore/accessibility/AccessibilityRenderObject.cpp

  Log Message:
  -----------
  [Image Redux] Use natural dimensions in 
AccessibilityRenderObject::computeIsIgnored()
https://bugs.webkit.org/show_bug.cgi?id=326354

Reviewed by Darin Adler.

Use natural dimensions rather than RenderImage::imageSizeAsRendered() in 
AccessibilityRenderObject::computeIsIgnored()
to more accurately do what the comment states the intent is:

  "check whether rendered image was stretched from one-dimensional file image"

Also adds an explicit check for whether there is an image at all to maintain 
the behavior expected by layout tests.

* Source/WebCore/accessibility/AccessibilityRenderObject.cpp:

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



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

Reply via email to