Summary: | [Performance Optimization] Skip non-text SVG elements in Most{For/Back}wardCaretPosition | ||
---|---|---|---|
Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
Component: | HTML Editing | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | karlcow, rniwa, webkit-bug-importer, wenson_hsieh |
Priority: | P2 | Keywords: | InRadar, Performance |
Version: | Safari Technology Preview | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Description
Ahmad Saleem
2023-09-22 16:25:43 PDT
Need two headers - #include "SVGTextElement.h" #include "SVGElementTypeHelpers.h" and then following compiles: if (currentNode.isSVGElement() && !is<SVGTextElement>(currentNode)) continue; Committed 268699@main (13274cf68d90): <https://commits.webkit.org/268699@main> Reviewed commits have been landed. Closing PR #18464 and removing active labels. |