| <html xmlns="http://www.w3.org/1999/xhtml" > |
| <body> |
| <p> |
| The alphabet A through M is here: |
| <svg xmlns="http://www.w3.org/2000/svg" font-size="50" width="500px" height="47" style="display:inline"> |
| <g transform="translate(0, 47)"> |
| <text>A</text> |
| <text transform="translate(40)">B</text> |
| <text transform="translate(80)">C</text> |
| <text transform="translate(120)">D</text> |
| <text transform="translate(160)">E</text> |
| <text transform="translate(200)">F</text> |
| <text transform="translate(240)">G</text> |
| <text transform="translate(280)">H</text> |
| <text transform="translate(320)">I</text> |
| <text transform="translate(360)">J</text> |
| <text transform="translate(400)">K</text> |
| <text transform="translate(440)">L</text> |
| <text transform="translate(480)">M</text> |
| </g> |
| </svg> |
| this test case is specially constructed so that when the view is sized to 800x600 (the default for DumpRenderTree) the text wraps and not all of the text in the SVG is drawn correctly. You should see all of A-L (and half of M) above. The code was incorrectly calculating the PaintInfo::rect (damage rect) when passing it through RenderBlock and render block was (correctly) clipping out some of the lineboxes during paint. |
| </p> |
| </body> |
| </html> |