[Webkit-unassigned] [Bug 261984] [Performance Optimization] Skip non-text SVG elements in Most{For/Back}wardCaretPosition

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Sep 30 15:07:43 PDT 2023


--- Comment #2 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
Need two headers - 

#include "SVGTextElement.h"
#include "SVGElementTypeHelpers.h"

and then following compiles:

 if (currentNode.isSVGElement() && !is<SVGTextElement>(currentNode))

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20230930/071f1c5e/attachment.htm>

More information about the webkit-unassigned mailing list