blob: abfd8ec7c9c3b5ceef874a3dfc3cb110073e8311 [file] [log] [blame]
layer at (0,0) size 800x600 clip at (0,0) size 785x600 scrollHeight 1132
LayoutView at (0,0) size 800x600
layer at (0,0) size 785x1132 backgroundClip at (0,0) size 785x600 clip at (0,0) size 785x600 outlineClip at (0,0) size 785x600
LayoutBlockFlow {HTML} at (0,0) size 785x1132.31
LayoutBlockFlow {BODY} at (8,8) size 769x1094.31
LayoutBlockFlow {DIV} at (72.91,0) size 623.19x454 [border: (4px solid #000000)]
LayoutBlockFlow {P} at (4,20) size 615.19x18
LayoutText {#text} at (0,0) size 596x18
text run at (0,0) width 596: "Affected Browsers: Safari 2.0, Windows Internet Explorer 6 SP2"
LayoutBlockFlow {HR} at (4,54) size 615.19x2 [border: (1px inset #EEEEEE)]
LayoutBlockFlow {P} at (4,72) size 615.19x54
LayoutText {#text} at (0,0) size 586x54
text run at (0,0) width 586: "Bug Description: On the Affected Browsers, if a rule sets the"
text run at (0,18) width 519: "'background-color' of an element, this color cannot be"
text run at (0,36) width 461: "overridden by 'background:inherit' declarations."
LayoutBlockFlow {HR} at (4,142) size 615.19x2 [border: (1px inset #EEEEEE)]
LayoutBlockFlow {P} at (4,160) size 615.19x90
LayoutText {#text} at (0,0) size 615x54
text run at (0,0) width 577: "Example: With the following code, the background color of H1"
text run at (0,18) width 615: "elements stays pink, no matter what background color the parents"
text run at (0,36) width 49: "have:"
LayoutBR {BR} at (48,36) size 1x18
LayoutText {#text} at (0,54) size 308x18
text run at (0,54) width 49: " H1 "
text run at (48,54) width 260: "{ background-color: pink; }"
LayoutBR {BR} at (307,54) size 1x18
LayoutText {#text} at (0,72) size 279x18
text run at (0,72) width 49: " H1 "
text run at (48,72) width 231: "{ background: inherit; }"
LayoutBlockFlow {HR} at (4,266) size 615.19x2 [border: (1px inset #EEEEEE)]
LayoutBlockFlow {P} at (4,284) size 615.19x54
LayoutText {#text} at (0,0) size 586x54
text run at (0,0) width 586: "Work-around: The 'background-color' can only be overridden by"
text run at (0,18) width 577: "another 'background-color' declaration, or by a 'background'"
text run at (0,36) width 365: "declaration that does specify a color."
LayoutBlockFlow {HR} at (4,354) size 615.19x2 [border: (1px inset #EEEEEE)]
LayoutBlockFlow (anonymous) at (4,364) size 615.19x18
LayoutText {#text} at (0,0) size 410x18
text run at (0,0) width 410: "This is in contradiction with the CSS2 specification which says:"
LayoutBlockFlow {UL} at (4,398) size 615.19x36
LayoutListItem {LI} at (40,0) size 575.19x36
LayoutListMarker (anonymous) at (-17,0) size 7x18: bullet
LayoutText {#text} at (0,0) size 29x18
text run at (0,0) width 29: "The "
LayoutInline {A} at (0,0) size 83x18 [color=#0000EE]
LayoutText {#text} at (28,0) size 83x18
text run at (28,0) width 83: "'background'"
LayoutText {#text} at (110,0) size 536x36
text run at (110,0) width 426: " property first sets all the individual background properties to their"
text run at (0,18) width 424: "initial values, then assigns explicit values given in the declaration."
LayoutBlockFlow {DIV} at (72.91,484) size 623.19x610.31 [color=#008000] [bgcolor=#90EE90] [border: (4px solid #008000)]
LayoutBlockFlow (anonymous) at (4,4) size 615.19x18
LayoutText {#text} at (0,0) size 221x18
text run at (0,0) width 221: "This DIV has a green background."
LayoutBlockFlow {H1} at (61.52,43.44) size 500.14x156 [border: (4px solid #008000)]
LayoutText {#text} at (4,4) size 445x148
text run at (4,4) width 442: "This header should have a green"
text run at (4,41) width 415: "background (not pink) but the"
text run at (4,78) width 445: "inline style rule is ignored on the"
text run at (4,115) width 260: "Affected Browsers."
LayoutBlockFlow (anonymous) at (4,229.44) size 615.19x18
LayoutText {#text} at (0,0) size 159x18
text run at (0,0) width 159: "The DIV continues here."
LayoutBlockFlow {H1} at (61.52,268.88) size 500.14x156 [border: (4px solid #008000)]
LayoutText {#text} at (4,4) size 448x148
text run at (4,4) width 442: "This header should have a green"
text run at (4,41) width 415: "background (not pink) but the"
text run at (4,78) width 448: "!important rule is ignored on the"
text run at (4,115) width 260: "Affected Browsers."
LayoutBlockFlow (anonymous) at (4,454.88) size 615.19x18
LayoutText {#text} at (0,0) size 159x18
text run at (0,0) width 159: "The DIV continues here."
LayoutBlockFlow {H1} at (61.52,494.31) size 500.14x82 [color=#FF0000] [bgcolor=#FFC0CB] [border: (4px solid #FF0000)]
LayoutText {#text} at (4,4) size 485x74
text run at (4,4) width 485: "This header has a pink background"
text run at (4,41) width 218: "and that's good."