Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 64c4d3857e78e1f367b712db9d3f93ce59d9ab8f
      
https://github.com/WebKit/WebKit/commit/64c4d3857e78e1f367b712db9d3f93ce59d9ab8f
  Author: Matt Woodrow <[email protected]>
  Date:   2024-09-05 (Thu, 05 Sep 2024)

  Changed paths:
    A 
LayoutTests/imported/w3c/web-platform-tests/html/dom/render-blocking/element-render-blocking-039-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/html/dom/render-blocking/element-render-blocking-039.html
    M Source/WebCore/dom/Document.cpp
    M Source/WebCore/dom/Document.h
    M Source/WebCore/html/HTMLAnchorElement.cpp
    M Source/WebCore/html/HTMLLinkElement.cpp
    M Source/WebCore/html/parser/HTMLDocumentParser.cpp

  Log Message:
  -----------
  dladukedev.com shows white for 5 seconds.
https://bugs.webkit.org/show_bug.cgi?id=279165
<rdar://135315499>

Reviewed by Tim Nguyen.

Render blocking prevents the page from being displayed until the timeout.

The page has a <link rel=expect> render blocking link that never gets resolved.

Render blocking for <link> should only be in place while the Document's ready 
state is 'loading', and should be removed once the page is fully loaded.

* 
LayoutTests/imported/w3c/web-platform-tests/html/dom/render-blocking/element-render-blocking-039-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/html/dom/render-blocking/element-render-blocking-039.html:
 Added.
* Source/WebCore/dom/Document.cpp:
(WebCore::Document::processInternalResourceLinks):
* Source/WebCore/dom/Document.h:
* Source/WebCore/html/HTMLAnchorElement.cpp:
(WebCore::HTMLAnchorElement::attributeChanged):
(WebCore::HTMLAnchorElement::insertedIntoAncestor):
* Source/WebCore/html/HTMLLinkElement.cpp:
(WebCore::HTMLLinkElement::processInternalResourceLink):
* Source/WebCore/html/parser/HTMLDocumentParser.cpp:
(WebCore::HTMLDocumentParser::prepareToStopParsing):

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



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

Reply via email to