OLD | NEW |
| (Empty) |
1 layer at (0,0) size 800x600 | |
2 RenderView at (0,0) size 800x600 | |
3 layer at (0,0) size 800x600 | |
4 RenderBlock {HTML} at (0,0) size 800x600 | |
5 RenderBody {BODY} at (8,8) size 784x584 | |
6 RenderBlock {P} at (0,0) size 784x36 | |
7 RenderText {#text} at (0,0) size 776x37 | |
8 text run at (0,0) width 776: "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" | |
9 text run at (0,18) width 243: "table will not be wider than the screen
." | |
10 RenderBlock {P} at (0,52) size 784x72 | |
11 RenderText {#text} at (0,0) size 773x73 | |
12 text run at (0,0) width 770: "Previously, the table would be incredibl
y wide, wide enough so that the entire paragraph of text was on one line. That w
as" | |
13 text run at (0,18) width 759: "because the \"maxElementSize\" of the c
ell was including margins calculated from the desired size of the text (in this
case," | |
14 text run at (0,36) width 773: "19x the desired width of the paragraph)
. The fix was to calculate the margin for the \"maxElementSize\" of the cell usi
ng the" | |
15 text run at (0,54) width 631: "\"maxElementSize\" of the contained blo
ck itself, which in this case is the maximum width of a word." | |
16 RenderTable {TABLE} at (0,140) size 234x154 [border: (1px outset #808080)] | |
17 RenderTableSection {TBODY} at (1,1) size 232x152 | |
18 RenderTableRow {TR} at (0,2) size 232x148 | |
19 RenderTableCell {TD} at (2,2) size 228x148 [border: (1px inset #8080
80)] [r=0 c=0 rs=1 cs=1] | |
20 RenderBlock {P} at (214,2) size 12x144 | |
21 RenderText {#text} at (0,0) size 33x145 | |
22 text run at (0,0) width 28: "This" | |
23 text run at (0,18) width 10: "is" | |
24 text run at (0,36) width 33: "some" | |
25 text run at (0,54) width 27: "text." | |
26 text run at (0,72) width 28: "This" | |
27 text run at (0,90) width 10: "is" | |
28 text run at (0,108) width 33: "some" | |
29 text run at (0,126) width 27: "text." | |
OLD | NEW |