Re: [webkit-dev] Troubles with Anonymous Blocks

2010-02-14 Thread Roland Steiner
[Sorry for the late answer, I've been on vacation the last few days] Basically, by setting virtual bool createsAnonymousWrapper() const { return true; } the class specifies that it creates its own anonymous child wrapper objects that are not run-off-the-mill anonymous wrappers. I.e., it prev

Re: [webkit-dev] Troubles with Anonymous Blocks

2010-02-09 Thread Alex Milowski
On Mon, Feb 8, 2010 at 9:42 PM, Roland Steiner wrote: > Just a stab in the dark here, and without knowledge about recent changes > that could have caused your code to break (so this could be wildly off). The > difference between the 2 versions AFAICT is whether m_isAnonymous is set or > not, which

Re: [webkit-dev] Troubles with Anonymous Blocks

2010-02-08 Thread Roland Steiner
Just a stab in the dark here, and without knowledge about recent changes that could have caused your code to break (so this could be wildly off). The difference between the 2 versions AFAICT is whether m_isAnonymous is set or not, which leads me to the question: have you properly overridden creates

[webkit-dev] Troubles with Anonymous Blocks

2010-02-08 Thread Alex Milowski
I've been struggling with odd issues with anonymous blocks that I don't quite understand. For example, to build a fraction in MathML I wrap the numerator and denominator in an anonymous block: RenderBlock* row = new (renderArena()) RenderBlock(document()); I then set border, padding, and