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
_______________________________________________
webkit-dev mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-dev

Reply via email to