layer at (0,0) size 800x600 LayoutView at (0,0) size 800x600 layer at (0,0) size 800x600 LayoutBlockFlow {HTML} at (0,0) size 800x600 LayoutBlockFlow {BODY} at (8,8) size 784x584 [bgcolor=#CCCCCC] LayoutBlockFlow {P} at (0,0) size 784x20 [color=#008000] LayoutText {#text} at (0,0) size 337x19 text run at (0,0) width 337: "The style declarations which apply to the text below are:" LayoutBlockFlow {PRE} at (0,36) size 784x64 LayoutText {#text} at (0,0) size 232x64 text run at (0,0) width 232: "P {color: green ! important;}" text run at (232,0) width 0: " " text run at (0,16) width 120: "P {color: red;}" text run at (120,16) width 0: " " text run at (0,32) width 176: "P#id1 {color: purple;}" text run at (176,32) width 0: " " text run at (0,48) width 0: " " LayoutBlockFlow {HR} at (0,113) size 784x2 [border: (1px inset #EEEEEE)] LayoutBlockFlow {P} at (0,131) size 784x40 [color=#008000] LayoutText {#text} at (0,0) size 755x39 text run at (0,0) width 755: "This sentence should be green, because the declaration marked important should override any other normal declaration for the" text run at (0,20) width 315: "same element, even if it occurs later in the stylesheet." LayoutBlockFlow {P} at (0,187) size 784x40 [color=#008000] LayoutText {#text} at (0,0) size 381x19 text run at (0,0) width 381: "This sentence should also be green, even though it has an ID of " LayoutInline {TT} at (0,0) size 24x16 LayoutText {#text} at (381,3) size 24x16 text run at (381,3) width 24: "id1" LayoutText {#text} at (405,0) size 738x39 text run at (405,0) width 242: ", which would ordinarily make it purple. " text run at (647,0) width 91: "This is because" text run at (0,20) width 611: "declarations marked important have more weight than normal declarations given in a STYLE attribute." LayoutBlockFlow {P} at (0,243) size 784x40 [color=#008000] LayoutText {#text} at (0,0) size 741x39 text run at (0,0) width 574: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. " text run at (574,0) width 167: "This is because declarations" text run at (0,20) width 535: "marked important have more weight than normal declarations given in a STYLE attribute." LayoutTable {TABLE} at (0,299) size 784x190 [border: (1px outset #808080)] LayoutTableSection {TBODY} at (1,1) size 782x188 LayoutTableRow {TR} at (0,0) size 782x28 LayoutTableCell {TD} at (0,0) size 782x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2] LayoutInline {STRONG} at (0,0) size 157x19 LayoutText {#text} at (4,4) size 157x19 text run at (4,4) width 157: "TABLE Testing Section" LayoutTableRow {TR} at (0,28) size 782x160 LayoutTableCell {TD} at (0,94) size 12x28 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1] LayoutText {#text} at (4,4) size 4x19 text run at (4,4) width 4: " " LayoutTableCell {TD} at (12,28) size 770x160 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1] LayoutBlockFlow {P} at (4,4) size 762x40 [color=#008000] LayoutText {#text} at (0,0) size 755x39 text run at (0,0) width 755: "This sentence should be green, because the declaration marked important should override any other normal declaration for the" text run at (0,20) width 315: "same element, even if it occurs later in the stylesheet." LayoutBlockFlow {P} at (4,60) size 762x40 [color=#008000] LayoutText {#text} at (0,0) size 381x19 text run at (0,0) width 381: "This sentence should also be green, even though it has an ID of " LayoutInline {TT} at (0,0) size 24x16 LayoutText {#text} at (381,3) size 24x16 text run at (381,3) width 24: "id1" LayoutText {#text} at (405,0) size 738x39 text run at (405,0) width 242: ", which would ordinarily make it purple. " text run at (647,0) width 91: "This is because" text run at (0,20) width 611: "declarations marked important have more weight than normal declarations given in a STYLE attribute." LayoutBlockFlow {P} at (4,116) size 762x40 [color=#008000] LayoutText {#text} at (0,0) size 741x39 text run at (0,0) width 574: "This sentence should also be green, even though it has a STYLE attribute declaring it to be red. " text run at (574,0) width 167: "This is because declarations" text run at (0,20) width 535: "marked important have more weight than normal declarations given in a STYLE attribute."