Bug 263348
| Summary: | [SVG] Recursive marker bounding box computation is ad-hocly done | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Yusuke Suzuki <ysuzuki> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | sabouhallawa, webkit-bug-importer, zimmermann |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Yusuke Suzuki
Right now, the spec and the implementation do not have clear view about how to handle circular / recursive marker bounding box computation.
As a result, we are right now just preventing the crash, and that's it. We are using stale repaint bounding box in a bit random way (if some gets re-layout, and some didn't get, then some renderer use the other renderer's stale repaint bounding box randomly).
We need reasonable behavior for this pattern. (including prohibiting this kind of SVG, but ultimately, it is nice if we can have clear description in the spec. Right now, the spec is not explaining the way to stop this recursion).
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Yusuke Suzuki
Detailed discussion is in https://github.com/WebKit/WebKit/pull/19103's review comments. We agree that currently this is not specified and our implementation can grab stale repaint bounding box.
Radar WebKit Bug Importer
<rdar://problem/117505583>