summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/platform/win/css1/box_properties/margin-expected.txt
blob: a442fb839180e0d0da93bc62f4f508a02f2e8dc2 (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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
layer at (0,0) size 800x600 scrollWidth 802 scrollHeight 2652
  LayoutView at (0,0) size 800x600
layer at (0,0) size 800x2652 backgroundClip at (0,0) size 800x600 clip at (0,0) size 800x600
  LayoutBlockFlow {HTML} at (0,0) size 800x2652
    LayoutBlockFlow {BODY} at (8,8) size 784x2636 [bgcolor=#CCCCCC]
      LayoutBlockFlow {P} at (0,0) size 784x18
        LayoutText {#text} at (0,0) size 363x17
          text run at (0,0) width 363: "The style declarations which apply to the text below are:"
      LayoutBlockFlow {PRE} at (0,34) size 784x112
        LayoutText {#text} at (0,0) size 360x112
          text run at (0,0) width 352: ".zero {background-color: silver; margin: 0;}"
          text run at (352,0) width 0: " "
          text run at (0,16) width 360: ".one {margin: 0.5in; background-color: aqua;}"
          text run at (360,16) width 0: " "
          text run at (0,32) width 352: ".two {margin: 25px; background-color: aqua;}"
          text run at (352,32) width 0: " "
          text run at (0,48) width 360: ".three {margin: 5em; background-color: aqua;}"
          text run at (360,48) width 0: " "
          text run at (0,64) width 352: ".four {margin: 25%; background-color: aqua;}"
          text run at (352,64) width 0: " "
          text run at (0,80) width 168: ".five {margin: 25px;}"
          text run at (168,80) width 0: " "
          text run at (0,96) width 360: ".six {margin: -10px; background-color: aqua;}"
          text run at (360,96) width 0: " "
      LayoutBlockFlow {HR} at (0,159) size 784x2 [border: (1px inset #EEEEEE)]
      LayoutBlockFlow {P} at (0,177) size 784x36
        LayoutText {#text} at (0,0) size 752x35
          text run at (0,0) width 752: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
          text run at (0,18) width 253: "section 4.1.1 of the CSS1 specification."
      LayoutBlockFlow {P} at (0,229) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutBlockFlow {P} at (48,295) size 688x18 [bgcolor=#00FFFF]
        LayoutText {#text} at (0,0) size 672x17
          text run at (0,0) width 672: "This sentence should have an overall margin of half an inch, which will require extra text in order to test."
      LayoutBlockFlow {P} at (0,361) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutBlockFlow {P} at (25,404) size 734x18 [bgcolor=#00FFFF]
        LayoutText {#text} at (0,0) size 655x17
          text run at (0,0) width 655: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
      LayoutBlockFlow {P} at (0,447) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutBlockFlow {P} at (80,545) size 624x36 [bgcolor=#00FFFF]
        LayoutText {#text} at (0,0) size 598x35
          text run at (0,0) width 598: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
          text run at (0,18) width 27: "test."
      LayoutBlockFlow {P} at (0,661) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutBlockFlow {P} at (196,875) size 392x54 [bgcolor=#00FFFF]
        LayoutText {#text} at (0,0) size 386x53
          text run at (0,0) width 383: "This sentence should have an overall margin of 25%, which"
          text run at (0,18) width 386: "is calculated with respect to the width of the parent element."
          text run at (0,36) width 272: "This will require extra text in order to test."
      LayoutBlockFlow {P} at (0,1125) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutBlockFlow {UL} at (25,1168) size 734x122 [bgcolor=#00FFFF]
        LayoutListItem {LI} at (40,0) size 694x18
          LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
          LayoutText {#text} at (0,0) size 382x17
            text run at (0,0) width 382: "This list has a margin of 25px, and a light blue background."
        LayoutListItem {LI} at (40,18) size 694x18
          LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
          LayoutText {#text} at (0,0) size 269x17
            text run at (0,0) width 269: "Therefore, it ought to have such a margin."
        LayoutListItem {LI} at (65,61) size 644x18
          LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
          LayoutText {#text} at (0,0) size 555x17
            text run at (0,0) width 555: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
        LayoutListItem {LI} at (40,104) size 694x18
          LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
          LayoutText {#text} at (0,0) size 304x17
            text run at (0,0) width 304: "This list item has no special styles applied to it."
      LayoutBlockFlow {P} at (0,1315) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutBlockFlow {P} at (-10,1323) size 804x54 [bgcolor=#00FFFF]
        LayoutText {#text} at (0,0) size 789x53
          text run at (0,0) width 772: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
          text run at (0,18) width 376: "subsequent text up toward it, and a light blue background. "
          text run at (375,18) width 394: "In all other respects, however, the element should be normal. "
          text run at (768,18) width 21: "No"
          text run at (0,36) width 538: "styles have been applied to it besides the negative margin and the background color."
      LayoutBlockFlow {P} at (0,1367) size 784x18 [bgcolor=#C0C0C0]
        LayoutText {#text} at (0,0) size 208x17
          text run at (0,0) width 208: "This element has a class of zero."
      LayoutTable {TABLE} at (0,1385) size 784x1251 [border: (1px outset #808080)]
        LayoutTableSection {TBODY} at (1,1) size 782x1249
          LayoutTableRow {TR} at (0,0) size 782x26
            LayoutTableCell {TD} at (0,0) size 782x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=0 c=0 rs=1 cs=2]
              LayoutInline {STRONG} at (0,0) size 161x17
                LayoutText {#text} at (4,4) size 161x17
                  text run at (4,4) width 161: "TABLE Testing Section"
          LayoutTableRow {TR} at (0,26) size 782x1223
            LayoutTableCell {TD} at (0,624) size 12x26 [bgcolor=#C0C0C0] [border: (1px inset #808080)] [r=1 c=0 rs=1 cs=1]
              LayoutText {#text} at (4,4) size 4x17
                text run at (4,4) width 4: " "
            LayoutTableCell {TD} at (12,26) size 770x1223 [border: (1px inset #808080)] [r=1 c=1 rs=1 cs=1]
              LayoutBlockFlow {P} at (4,4) size 762x36
                LayoutText {#text} at (0,0) size 752x35
                  text run at (0,0) width 752: "NOTE: The following tests are separated by class-zero paragraphs, so as to prevent margin-collapsing as described in"
                  text run at (0,18) width 253: "section 4.1.1 of the CSS1 specification."
              LayoutBlockFlow {P} at (4,56) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."
              LayoutBlockFlow {P} at (52,122) size 666x36 [bgcolor=#00FFFF]
                LayoutText {#text} at (0,0) size 642x35
                  text run at (0,0) width 642: "This sentence should have an overall margin of half an inch, which will require extra text in order to"
                  text run at (0,18) width 27: "test."
              LayoutBlockFlow {P} at (4,206) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."
              LayoutBlockFlow {P} at (29,249) size 712x18 [bgcolor=#00FFFF]
                LayoutText {#text} at (0,0) size 655x17
                  text run at (0,0) width 655: "This sentence should have an overall margin of 25 pixels, which will require extra text in order to test."
              LayoutBlockFlow {P} at (4,292) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."
              LayoutBlockFlow {P} at (84,390) size 602x36 [bgcolor=#00FFFF]
                LayoutText {#text} at (0,0) size 598x35
                  text run at (0,0) width 598: "This sentence should have an overall margin of 5 em, which will require extra text in order to"
                  text run at (0,18) width 27: "test."
              LayoutBlockFlow {P} at (4,506) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."
              LayoutBlockFlow {P} at (194.50,714.50) size 381x54 [bgcolor=#00FFFF]
                LayoutText {#text} at (0,0) size 370x53
                  text run at (0,0) width 340: "This sentence should have an overall margin of 25%,"
                  text run at (0,18) width 370: "which is calculated with respect to the width of the parent"
                  text run at (0,36) width 59: "element. "
                  text run at (58,36) width 273: "This will require extra text in order to test."
              LayoutBlockFlow {P} at (4,959) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."
              LayoutBlockFlow {UL} at (29,1002) size 712x122 [bgcolor=#00FFFF]
                LayoutListItem {LI} at (40,0) size 672x18
                  LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
                  LayoutText {#text} at (0,0) size 382x17
                    text run at (0,0) width 382: "This list has a margin of 25px, and a light blue background."
                LayoutListItem {LI} at (40,18) size 672x18
                  LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
                  LayoutText {#text} at (0,0) size 269x17
                    text run at (0,0) width 269: "Therefore, it ought to have such a margin."
                LayoutListItem {LI} at (65,61) size 622x18
                  LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
                  LayoutText {#text} at (0,0) size 555x17
                    text run at (0,0) width 555: "This list item has a margin of 25px, which should cause it to be offset in some fashion."
                LayoutListItem {LI} at (40,104) size 672x18
                  LayoutListMarker (anonymous) at (-17,0) size 7x17: bullet
                  LayoutText {#text} at (0,0) size 304x17
                    text run at (0,0) width 304: "This list item has no special styles applied to it."
              LayoutBlockFlow {P} at (4,1149) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."
              LayoutBlockFlow {P} at (-6,1157) size 782x54 [bgcolor=#00FFFF]
                LayoutText {#text} at (0,0) size 772x53
                  text run at (0,0) width 772: "This paragraph has an overall margin of -10px, which should make it wider than usual as well as shift it upward and pull"
                  text run at (0,18) width 376: "subsequent text up toward it, and a light blue background. "
                  text run at (375,18) width 390: "In all other respects, however, the element should be normal."
                  text run at (0,36) width 561: "No styles have been applied to it besides the negative margin and the background color."
              LayoutBlockFlow {P} at (4,1201) size 762x18 [bgcolor=#C0C0C0]
                LayoutText {#text} at (0,0) size 208x17
                  text run at (0,0) width 208: "This element has a class of zero."