Summary: | Deeply nested SVG patterns can take log time to invalidate the target element | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Said Abou-Hallawa <sabouhallawa> | ||||
Component: | SVG | Assignee: | Said Abou-Hallawa <sabouhallawa> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | mcatanzaro, sabouhallawa, webkit-bug-importer, zimmermann | ||||
Priority: | P2 | Keywords: | InRadar | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Pull request: https://github.com/WebKit/WebKit/pull/19260 *** Bug 263341 has been marked as a duplicate of this bug. *** Committed 269516@main (00f03d987c0c): <https://commits.webkit.org/269516@main> Reviewed commits have been landed. Closing PR #19260 and removing active labels. Re-opening for pull request https://github.com/apple/WebKit/pull/866 Committed 267815.402@safari-7617-branch (46e35d6223f3): <https://commits.webkit.org/267815.402@safari-7617-branch> Reviewed commits have been landed. Closing PR #866 and removing active labels. Re-opening for pull request https://github.com/apple/WebKit/pull/913 |
Created attachment 468272 [details] est case (will hang for 3-4 minutes) Open the attached test case. Result: WebKit takes 3-4 minutes to show the page. Expected: The page is updated in reasonable time. NOTE: This test page uses a deeply nested pattern to fill an ellipse. When a <rect> is added to the deepest nested pattern, it causes 10^9 invalidation. This is due to pattern rect elements nesting relationship. NOTE: This can be fixed by marking the invalidated renderers as visited so they can be skipped if they are revisited.