-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
HTMLStyleElement should be able to fire the load event more than once
https://bugs.webkit.org/show_bug.cgi?id=228975 Reviewed by Youenn Fablet. LayoutTests/imported/w3c: Rebaseline WPT test that is now passing. This test was already passing in both Firefox and Chrome. * web-platform-tests/html/semantics/document-metadata/the-style-element/style_load_event-expected.txt: Source/WebCore: HTMLStyleElement should be able to fire the load event more than once. WebKit has a flag preventing the load event to fire more than once but this behavior is not present in the HTML specification and doesn't match other browsers. No new tests, rebaselined existing test. * html/HTMLStyleElement.cpp: (WebCore::HTMLStyleElement::notifyLoadedSheetAndAllCriticalSubresources): * html/HTMLStyleElement.h: LayoutTests: Unskip test that is no longer timing out. * TestExpectations: Canonical link: https://commits.webkit.org/240826@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@281443 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
7 changed files
with
40 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
4 changes: 1 addition & 3 deletions
4
...rm-tests/html/semantics/document-metadata/the-style-element/style_load_event-expected.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,3 @@ | ||
|
||
Harness Error (TIMEOUT), message = null | ||
|
||
TIMEOUT style load event should fire when textContent changed Test timed out | ||
PASS style load event should fire when textContent changed | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters