Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8516f3226ca6f925e1c5f226d0039766c0d094bd
      
https://github.com/WebKit/WebKit/commit/8516f3226ca6f925e1c5f226d0039766c0d094bd
  Author: Ahmad Saleem <ahmad.saleem792+git...@gmail.com>
  Date:   2025-03-17 (Mon, 17 Mar 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size-expected.txt
    M Source/WebCore/html/HTMLEmbedElement.cpp

  Log Message:
  -----------
  Intrinsic Sizing of SVG embedded via <embed> should be invalidated on 
navigation
https://bugs.webkit.org/show_bug.cgi?id=289884
rdar://147198632

Reviewed by Antoine Quint.

This patch aligns WebKit with Gecko / Firefox and Blink / Chromium.

This patch fixes bug where we were failing to invalidate style and renderer,
leading to instrinic sizing not being updated of SVG embedded via `<embed>`
upon navigation.

* Source/WebCore/html/HTMLEmbedElement.cpp:
(WebCore::HTMLEmbedElement::attributeChanged):
* LayoutTests/TestExpectations: Unskip test
* 
LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-embed-element/embed-svg-navigation-resets-size-expected.txt:
 Rebaselined

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to