blob: 2da62a47a319d37e56ec1cd4c55b7efeffbc1dc9 [file] [log] [blame]
layer at (0,0) size 800x600
RenderView at (0,0) size 800x600
layer at (0,0) size 800x600
RenderBlock {HTML} at (0,0) size 800x600
RenderBody {BODY} at (8,8) size 784x584
RenderBlock {P} at (0,0) size 784x40
RenderText {#text} at (0,0) size 772x39
text run at (0,0) width 772: "The table below should be sized so that each word of text wraps to its own line, and if the font size is not too large, then the table"
text run at (0,20) width 198: "will not be wider than the screen."
RenderBlock {P} at (0,56) size 784x80
RenderText {#text} at (0,0) size 783x79
text run at (0,0) width 783: "Previously, the table would be incredibly wide, wide enough so that the entire paragraph of text was on one line. That was because"
text run at (0,20) width 757: "the \"maxElementSize\" of the cell was including margins calculated from the desired size of the text (in this case, 19x the desired"
text run at (0,40) width 779: "width of the paragraph). The fix was to calculate the margin for the \"maxElementSize\" of the cell using the \"maxElementSize\" of the"
text run at (0,60) width 439: "contained block itself, which in this case is the maximum width of a word."
RenderTable {TABLE} at (0,152) size 222x170 [border: (1px outset #808080)]
RenderTableSection {TBODY} at (1,1) size 220x168
RenderTableRow {TR} at (0,2) size 220x164
RenderTableCell {TD} at (2,2) size 216x164 [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=1]
RenderBlock {P} at (203,2) size 11x160
RenderText {#text} at (0,0) size 32x159
text run at (0,0) width 25: "This"
text run at (0,20) width 9: "is"
text run at (0,40) width 32: "some"
text run at (0,60) width 26: "text."
text run at (0,80) width 25: "This"
text run at (0,100) width 9: "is"
text run at (0,120) width 32: "some"
text run at (0,140) width 26: "text."