Changeset 286599 in webkit
- Timestamp:
- Dec 7, 2021, 10:20:17 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/css/import-and-remove-assert-expected.txt (added)
-
LayoutTests/fast/css/import-and-remove-assert.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/dom/InlineStyleSheetOwner.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r286593 r286599 1 2021-12-07 Antti Koivisto <antti@apple.com> 2 3 Assertion after removing stylesheet with loading @import rule 4 https://bugs.webkit.org/show_bug.cgi?id=233928 5 6 Reviewed by Alan Bujtas. 7 8 * fast/css/import-and-remove-assert-expected.txt: Added. 9 * fast/css/import-and-remove-assert.html: Added. 10 1 11 2021-12-03 Sergio Villar Senin <svillar@igalia.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r286598 r286599 1 2021-12-07 Antti Koivisto <antti@apple.com> 2 3 Assertion after removing stylesheet with loading @import rule 4 https://bugs.webkit.org/show_bug.cgi?id=233928 5 6 Reviewed by Alan Bujtas. 7 8 Tests: fast/css/import-and-remove-assert.html 9 10 * dom/InlineStyleSheetOwner.cpp: 11 (WebCore::InlineStyleSheetOwner::removedFromDocument): 12 13 Ensure we notify Style::Scope 14 1 15 2021-12-07 Antti Koivisto <antti@apple.com> 2 16 -
trunk/Source/WebCore/dom/InlineStyleSheetOwner.cpp
r286136 r286599 97 97 { 98 98 if (m_styleScope) { 99 if (m_sheet && m_sheet->isLoading()) 100 m_styleScope->removePendingSheet(element); 99 101 m_styleScope->removeStyleSheetCandidateNode(element); 100 102 m_styleScope = nullptr;
Note:
See TracChangeset
for help on using the changeset viewer.