summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/css1/box_properties/margin_inline-expected.txt
blob: dba2c385e114b0ac6d63eddba56b0cc373857e62 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
layer at (0,0) size 785x714
  RenderView at (0,0) size 785x600
layer at (0,0) size 785x714
  RenderBlock {HTML} at (0,0) size 785x714
    RenderBody {BODY} at (8,8) size 769x698 [bgcolor=#CCCCCC]
      RenderBlock {P} at (0,0) size 769x18
        RenderText {#text} at (0,0) size 355x18
          text run at (0,0) width 355: "The style declarations which apply to the text below are:"
      RenderBlock {PRE} at (0,34) size 769x45
        RenderText {#text} at (0,0) size 360x45
          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
          text run at (352,0) width 0: " "
          text run at (0,15) width 352: ".one {margin: 25px; background-color: aqua;}"
          text run at (352,15) width 0: " "
          text run at (0,30) width 360: ".two {margin: -10px; background-color: aqua;}"
          text run at (360,30) width 0: " "
      RenderBlock {HR} at (0,92) size 769x2 [border: (1px inset #000000)]
      RenderBlock {P} at (0,102) size 769x18 [bgcolor=#C0C0C0]
        RenderText {#text} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,136) size 769x72 [bgcolor=#808080]
        RenderText {#text} at (0,0) size 481x18
          text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
          text run at (393,0) width 88: "It contains an "
        RenderInline {SPAN} at (0,0) size 752x36 [bgcolor=#00FFFF]
          RenderText {#text} at (506,0) size 143x18
            text run at (506,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {#text} at (649,2) size 24x15
              text run at (649,2) width 24: "one"
          RenderText {#text} at (673,0) size 752x36
            text run at (673,0) width 79: ", giving it an"
            text run at (0,18) width 231: "aqua background and a 25px margin"
        RenderText {#text} at (256,18) size 769x54
          text run at (256,18) width 8: ". "
          text run at (264,18) width 505: "Margins on inline elements does not affect line-height calculations, so all lines in"
          text run at (0,36) width 293: "this element should have the same line-height. "
          text run at (293,36) width 473: "However, there should be a 25px margin to the left side of the inline box in"
          text run at (0,54) width 727: "the first line it appears, and a 25px margin to the right side of the inline element box in the last line where it appears."
      RenderBlock {P} at (0,224) size 769x18 [bgcolor=#C0C0C0]
        RenderText {#text} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderBlock {P} at (0,258) size 769x72 [bgcolor=#808080]
        RenderText {#text} at (0,0) size 481x18
          text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
          text run at (393,0) width 88: "It contains an "
        RenderInline {SPAN} at (0,0) size 751x36 [bgcolor=#00FFFF]
          RenderText {#text} at (471,0) size 143x18
            text run at (471,0) width 143: "inline element of class "
          RenderInline {TT} at (0,0) size 24x15
            RenderText {#text} at (614,2) size 24x15
              text run at (614,2) width 24: "two"
          RenderText {#text} at (638,0) size 751x36
            text run at (638,0) width 113: ", giving it an aqua"
            text run at (0,18) width 202: "background and a -10px margin"
        RenderText {#text} at (192,18) size 768x54
          text run at (192,18) width 8: ". "
          text run at (200,18) width 531: "Margins on inline elements does not affect line-height calculations, so all lines in this"
          text run at (0,36) width 267: "element should have the same line-height. "
          text run at (267,36) width 501: "However, there should be a -10px margin to the left side of the inline box in the"
          text run at (0,54) width 709: "first line it appears, and a -10px margin to the right side of the inline element box in the last line where it appears."
      RenderBlock {P} at (0,346) size 769x18 [bgcolor=#C0C0C0]
        RenderText {#text} at (0,0) size 203x18
          text run at (0,0) width 203: "This element has a class of zero."
      RenderTable {TABLE} at (0,364) size 769x334 [border: (1px outset #808080)]
        RenderTableSection {TBODY} at (1,1) size 767x332
          RenderTableRow {TR} at (0,0) size 767x26
            RenderTableCell {TD} at (0,0) size 767x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
              RenderInline {STRONG} at (0,0) size 163x18
                RenderText {#text} at (4,4) size 163x18
                  text run at (4,4) width 163: "TABLE Testing Section"
          RenderTableRow {TR} at (0,26) size 767x306
            RenderTableCell {TD} at (0,166) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
              RenderText {#text} at (4,4) size 4x18
                text run at (4,4) width 4: " "
            RenderTableCell {TD} at (12,26) size 755x306 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              RenderBlock {P} at (4,4) size 747x18 [bgcolor=#C0C0C0]
                RenderText {#text} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,38) size 747x90 [bgcolor=#808080]
                RenderText {#text} at (0,0) size 481x18
                  text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
                  text run at (393,0) width 88: "It contains an "
                RenderInline {SPAN} at (0,0) size 733x36 [bgcolor=#00FFFF]
                  RenderText {#text} at (506,0) size 143x18
                    text run at (506,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {#text} at (649,2) size 24x15
                      text run at (649,2) width 24: "one"
                  RenderText {#text} at (673,0) size 733x36
                    text run at (673,0) width 60: ", giving it"
                    text run at (0,18) width 250: "an aqua background and a 25px margin"
                RenderText {#text} at (275,18) size 742x72
                  text run at (275,18) width 8: ". "
                  text run at (283,18) width 456: "Margins on inline elements does not affect line-height calculations, so all"
                  text run at (0,36) width 342: "lines in this element should have the same line-height. "
                  text run at (342,36) width 390: "However, there should be a 25px margin to the left side of the"
                  text run at (0,54) width 742: "inline box in the first line it appears, and a 25px margin to the right side of the inline element box in the last line where"
                  text run at (0,72) width 64: "it appears."
              RenderBlock {P} at (4,144) size 747x18 [bgcolor=#C0C0C0]
                RenderText {#text} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."
              RenderBlock {P} at (4,178) size 747x90 [bgcolor=#808080]
                RenderText {#text} at (0,0) size 481x18
                  text run at (0,0) width 393: "This element is unstyled save for a background color of gray.. "
                  text run at (393,0) width 88: "It contains an "
                RenderInline {SPAN} at (0,0) size 717x36 [bgcolor=#00FFFF]
                  RenderText {#text} at (471,0) size 143x18
                    text run at (471,0) width 143: "inline element of class "
                  RenderInline {TT} at (0,0) size 24x15
                    RenderText {#text} at (614,2) size 24x15
                      text run at (614,2) width 24: "two"
                  RenderText {#text} at (638,0) size 717x36
                    text run at (638,0) width 79: ", giving it an"
                    text run at (0,18) width 236: "aqua background and a -10px margin"
                RenderText {#text} at (226,18) size 739x72
                  text run at (226,18) width 8: ". "
                  text run at (234,18) width 505: "Margins on inline elements does not affect line-height calculations, so all lines in"
                  text run at (0,36) width 293: "this element should have the same line-height. "
                  text run at (293,36) width 434: "However, there should be a -10px margin to the left side of the inline"
                  text run at (0,54) width 720: "box in the first line it appears, and a -10px margin to the right side of the inline element box in the last line where it"
                  text run at (0,72) width 52: "appears."
              RenderBlock {P} at (4,284) size 747x18 [bgcolor=#C0C0C0]
                RenderText {#text} at (0,0) size 203x18
                  text run at (0,0) width 203: "This element has a class of zero."