Title: [294125] trunk
Revision
294125
Author
[email protected]
Date
2022-05-12 15:32:09 -0700 (Thu, 12 May 2022)

Log Message

Unreviewed, revert r284894 as it caused issues with printing and reader mode
https://bugs.webkit.org/show_bug.cgi?id=240355
<rdar://92538667>

Revert r284894 as it caused issues with printing and reader mode.

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

Modified Paths

Diff

Modified: trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/adoption-expected.txt (294124 => 294125)


--- trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/adoption-expected.txt	2022-05-12 21:57:09 UTC (rev 294124)
+++ trunk/LayoutTests/imported/w3c/web-platform-tests/html/semantics/embedded-content/the-img-element/adoption-expected.txt	2022-05-12 22:32:09 UTC (rev 294125)
@@ -1,11 +1,13 @@
 
-PASS img (src only)
+Harness Error (TIMEOUT), message = null
+
+TIMEOUT img (src only) Test timed out
 PASS img (src only), parent is picture
 PASS img (src only), previous sibling is source
-PASS img (srcset 1 cand)
+TIMEOUT img (srcset 1 cand) Test timed out
 PASS img (srcset 1 cand), parent is picture
 PASS img (srcset 1 cand), previous sibling is source
-PASS adopt a cloned img in template
+FAIL adopt a cloned img in template assert_equals: expected "http://localhost:8800/images/green-1x1.png" but got "/images/green-1x1.png"
 PASS adoption is from appendChild
 
 

Modified: trunk/Source/WebCore/html/HTMLImageElement.cpp (294124 => 294125)


--- trunk/Source/WebCore/html/HTMLImageElement.cpp	2022-05-12 21:57:09 UTC (rev 294124)
+++ trunk/Source/WebCore/html/HTMLImageElement.cpp	2022-05-12 22:32:09 UTC (rev 294125)
@@ -710,8 +710,6 @@
     HTMLElement::didMoveToNewDocument(oldDocument, newDocument);
     if (RefPtr element = pictureElement())
         element->sourcesChanged();
-    else if (hasAttribute(srcAttr) || hasAttribute(srcsetAttr))
-        selectImageSource(RelevantMutation::Yes);
 }
 
 bool HTMLImageElement::isServerMap() const
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to