Changeset 64668 in webkit
- Timestamp:
- Aug 4, 2010 12:56:17 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 4 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r64659 r64668 1 2010-08-04 François Sausset <sausset@gmail.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Regression test: overflow: auto; on a math element was a cause of crash. 6 https://bugs.webkit.org/show_bug.cgi?id=42894 7 8 * mathml/presentation/style.xhtml: Added. 9 * platform/mac/mathml/presentation/style-expected.checksum: Added. 10 * platform/mac/mathml/presentation/style-expected.png: Added. 11 * platform/mac/mathml/presentation/style-expected.txt: Added. 12 1 13 2010-08-04 Mario Sanchez Prada <msanchez@igalia.com> 2 14 -
trunk/WebCore/ChangeLog
r64660 r64668 1 2010-08-04 François Sausset <sausset@gmail.com> 2 3 Reviewed by Kenneth Rohde Christiansen. 4 5 Remove unnecessary calls to setStyle() in MathML code that made RenderLayer crash. 6 https://bugs.webkit.org/show_bug.cgi?id=42894 7 8 Test: mathml/presentation/style.xhtml 9 10 * mathml/MathMLInlineContainerElement.cpp: 11 (WebCore::MathMLInlineContainerElement::createRenderer): 12 * mathml/MathMLMathElement.cpp: 13 (WebCore::MathMLMathElement::createRenderer): 14 * mathml/MathMLTextElement.cpp: 15 (WebCore::MathMLTextElement::createRenderer): 16 1 17 2010-08-03 Kenneth Russell <kbr@google.com> 2 18 -
trunk/WebCore/mathml/MathMLInlineContainerElement.cpp
r61293 r64668 54 54 } 55 55 56 RenderObject* MathMLInlineContainerElement::createRenderer(RenderArena* arena, RenderStyle* style)56 RenderObject* MathMLInlineContainerElement::createRenderer(RenderArena* arena, RenderStyle*) 57 57 { 58 RenderObject* object;59 58 if (hasLocalName(MathMLNames::mrowTag)) 60 object =new (arena) RenderMathMLRow(this);59 return new (arena) RenderMathMLRow(this); 61 60 else if (hasLocalName(MathMLNames::msubTag)) 62 object =new (arena) RenderMathMLSubSup(this);61 return new (arena) RenderMathMLSubSup(this); 63 62 else if (hasLocalName(MathMLNames::msupTag)) 64 object =new (arena) RenderMathMLSubSup(this);63 return new (arena) RenderMathMLSubSup(this); 65 64 else if (hasLocalName(MathMLNames::msubsupTag)) 66 object =new (arena) RenderMathMLSubSup(this);65 return new (arena) RenderMathMLSubSup(this); 67 66 else if (hasLocalName(MathMLNames::moverTag)) 68 object =new (arena) RenderMathMLUnderOver(this);67 return new (arena) RenderMathMLUnderOver(this); 69 68 else if (hasLocalName(MathMLNames::munderTag)) 70 object =new (arena) RenderMathMLUnderOver(this);69 return new (arena) RenderMathMLUnderOver(this); 71 70 else if (hasLocalName(MathMLNames::munderoverTag)) 72 object =new (arena) RenderMathMLUnderOver(this);71 return new (arena) RenderMathMLUnderOver(this); 73 72 else if (hasLocalName(MathMLNames::mfracTag)) 74 object =new (arena) RenderMathMLFraction(this);73 return new (arena) RenderMathMLFraction(this); 75 74 else if (hasLocalName(MathMLNames::msqrtTag)) 76 object =new (arena) RenderMathMLSquareRoot(this);75 return new (arena) RenderMathMLSquareRoot(this); 77 76 else if (hasLocalName(MathMLNames::mrootTag)) 78 object =new (arena) RenderMathMLRoot(this);77 return new (arena) RenderMathMLRoot(this); 79 78 else 80 object = new (arena) RenderMathMLBlock(this); 81 object->setStyle(style); 82 return object; 79 return new (arena) RenderMathMLBlock(this); 83 80 } 84 81 -
trunk/WebCore/mathml/MathMLMathElement.cpp
r61293 r64668 45 45 } 46 46 47 RenderObject* MathMLMathElement::createRenderer(RenderArena* arena, RenderStyle* style)47 RenderObject* MathMLMathElement::createRenderer(RenderArena* arena, RenderStyle*) 48 48 { 49 RenderMathMLMath* renderer = new (arena) RenderMathMLMath(this); 50 renderer->setStyle(style); 51 return renderer; 49 return new (arena) RenderMathMLMath(this); 52 50 } 53 51 -
trunk/WebCore/mathml/MathMLTextElement.cpp
r61293 r64668 50 50 RenderObject* MathMLTextElement::createRenderer(RenderArena* arena, RenderStyle* style) 51 51 { 52 if (hasLocalName(MathMLNames::moTag)) { 53 RenderObject* object = new (arena) RenderMathMLOperator(this); 54 object->setStyle(style); 55 return object; 56 } 52 if (hasLocalName(MathMLNames::moTag)) 53 return new (arena) RenderMathMLOperator(this); 57 54 58 55 return MathMLElement::createRenderer(arena, style);
Note: See TracChangeset
for help on using the changeset viewer.