Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug 1828473 [wpt PR 39571] - Handle detached documents in SVGLengthCo…
…ntext, a=testonly Automatic update from web-platform-tests Handle detached documents in SVGLengthContext The StyleResolver gets torn down when the Document it is associated to is detached/shutdown. Check for this in ComputedStyleForLengthResolving(), and return null if so. Restore null-checks in callers. Bug: 1433491 Change-Id: I1f6b934e20f52aba1ebd486a1030e6ec1a34e0bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4432192 Commit-Queue: Fredrik Söderquist <[email protected]> Reviewed-by: Stephen Chenney <[email protected]> Cr-Commit-Position: refs/heads/main@{#1131267} -- wpt-commits: 0a8be219fcbcc9b38ad1645203f63df4555146d2 wpt-pr: 39571
- Loading branch information