| commit | 302ea2e03c2cb8d7562fbb563b63be879d9ec7cd | [log] [tgz] |
|---|---|---|
| author | Florin Malita <fmalita@chromium.org> | Sun Jan 24 12:04:17 2021 -0500 |
| committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | Mon Jan 25 14:49:16 2021 +0000 |
| tree | 421639ba0ae5af789875d0cb81dc12b2dd04d007 | |
| parent | fe8a4faa4bb28a6d3abc9c49ae120dafc2c79b8c [diff] |
[svg] Cleanup text content model rules Per spec (and empirically) <text> elements are not nestable (neither directly or indirectly): https://www.w3.org/TR/SVG11/intro.html#TermTextContentChildElement Update the implementation to - only bridge onRender -> onRenderText in the root SkSVGText implementation - disallow <text> elements as text container descendants Change-Id: I07b3abaf943b820e01c88f78bddf7ce5970ee508 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/358220 Commit-Queue: Florin Malita <fmalita@google.com> Reviewed-by: Tyler Denniston <tdenniston@google.com>