[webkit-dev] Rendering Help with MathML for mfenced
Alex Milowski
alex at milowski.com
Wed Aug 26 10:48:55 PDT 2009
I found the fix. I needed to call:
open->updateBoxModelInfoFromStyle();
close->updateBoxModelInfoFromStyle();
to update the box model from the style change for the open and
close fencing. Then I needed to dirty the tree:
markContainingBlocksForLayout();
open->firstChild()->setNeedsLayoutAndPrefWidthsRecalc();
close->firstChild()->setNeedsLayoutAndPrefWidthsRecalc();
It works perfectly!
--
--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