[webkit-dev] Handling Ignorable Text in a Renderer
Alex Milowski
alex at milowski.org
Wed Aug 26 12:06:53 PDT 2009
In certain MathML constructs (e.g. mfenced) there are a number of child
elements that make up the construct and need to be rendered. Any text
between those child elements should be ignored. In fact, non-whitespace
text in the wrong place is most certainly incorrect but something
that can be recovered from.
I don't want to remove the text from the DOM nodes but I need to
keep the RenderText instances from being created or displayed. What
is the correct way to do this?
I've been trying to handle this in the renderer but it seems like that
is really too late. I though about changing the attach method to exclude
such ignorable text.
--
--Alex Milowski
"The excellence of grammar as a guide is proportional to the paucity of the
inflexions, i.e. to the degree of analysis effected by the language
considered."
Bertrand Russell in a footnote of Principles of Mathematics
More information about the webkit-dev
mailing list