Attachment #8365750: Bug 243412. Use unprefixed box-sizing internally for bug #243412

View | Details | Raw Unified | Return to bug 243412 | Differences between
and this patch

Collapse All | Expand All

(-)a/browser/base/content/aboutaccounts/main.css (-2 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
/* Border box all the things by default */
1
/* Border box all the things by default */
2
*, *:before, *:after {
2
*, *:before, *:after {
3
  -moz-box-sizing: border-box;
4
  -webkit-box-sizing: border-box;
5
  box-sizing: border-box;
3
  box-sizing: border-box;
6
}
4
}
7
5
8
html {
6
html {
9
  background-color: #f1f1f1;
7
  background-color: #f1f1f1;
10
  background-image: -webkit-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%);
8
  background-image: -webkit-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%);
11
  background-image:    -moz-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%);
9
  background-image:    -moz-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%);
12
  background-image:     -ms-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%);
10
  background-image:     -ms-linear-gradient(-90deg, #fefefe 0%, #f1f1f1 100%);
(-)a/browser/base/content/aboutaccounts/normalize.css (-6 / +2 lines)
Line     Link Here 
 Lines 145-161   dfn { Link Here 
145
    font-style: italic;
145
    font-style: italic;
146
}
146
}
147
147
148
/**
148
/**
149
 * Address differences between Firefox and other browsers.
149
 * Address differences between Firefox and other browsers.
150
 */
150
 */
151
151
152
hr {
152
hr {
153
    -moz-box-sizing: content-box;
154
    box-sizing: content-box;
153
    box-sizing: content-box;
155
    height: 0;
154
    height: 0;
156
}
155
}
157
156
158
/**
157
/**
159
 * Address styling not present in IE 8/9.
158
 * Address styling not present in IE 8/9.
160
 */
159
 */
161
160
 Lines 346-370   html input[disabled] { Link Here 
346
input[type="checkbox"],
345
input[type="checkbox"],
347
input[type="radio"] {
346
input[type="radio"] {
348
    box-sizing: border-box; /* 1 */
347
    box-sizing: border-box; /* 1 */
349
    padding: 0; /* 2 */
348
    padding: 0; /* 2 */
350
}
349
}
351
350
352
/**
351
/**
353
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
352
 * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
354
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
353
 * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome.
355
 *    (include `-moz` to future-proof).
356
 */
354
 */
357
355
358
input[type="search"] {
356
input[type="search"] {
359
    -webkit-appearance: textfield; /* 1 */
357
    -webkit-appearance: textfield; /* 1 */
360
    -moz-box-sizing: content-box;
358
    box-sizing: content-box; /* 2 */
361
    -webkit-box-sizing: content-box; /* 2 */
362
    box-sizing: content-box;
363
}
359
}
364
360
365
/**
361
/**
366
 * Remove inner padding and search cancel button in Safari 5 and Chrome
362
 * Remove inner padding and search cancel button in Safari 5 and Chrome
367
 * on OS X.
363
 * on OS X.
368
 */
364
 */
369
365
370
input[type="search"]::-webkit-search-cancel-button,
366
input[type="search"]::-webkit-search-cancel-button,
(-)a/browser/base/content/browser.css (-1 / +1 lines)
Line     Link Here 
 Lines 834-850   chatbox:-moz-full-screen-ancestor { Link Here 
834
  bottom: 0 !important;
834
  bottom: 0 !important;
835
  width: 100% !important;
835
  width: 100% !important;
836
  height: 100% !important;
836
  height: 100% !important;
837
  margin: 0 !important;
837
  margin: 0 !important;
838
  min-width: 0 !important;
838
  min-width: 0 !important;
839
  max-width: none !important;
839
  max-width: none !important;
840
  min-height: 0 !important;
840
  min-height: 0 !important;
841
  max-height: none !important;
841
  max-height: none !important;
842
  -moz-box-sizing: border-box !important; 
842
  box-sizing: border-box !important;
843
}
843
}
844
844
845
/* hide chat chrome when chat is fullscreen */
845
/* hide chat chrome when chat is fullscreen */
846
chatbox:-moz-full-screen-ancestor > .chat-titlebar {
846
chatbox:-moz-full-screen-ancestor > .chat-titlebar {
847
  display: none;
847
  display: none;
848
}
848
}
849
849
850
/* hide chatbar if browser tab is fullscreen */
850
/* hide chatbar if browser tab is fullscreen */
(-)a/browser/devtools/layoutview/view.css (-2 / +2 lines)
Line     Link Here 
 Lines 9-25   body, html { Link Here 
9
}
9
}
10
10
11
body {
11
body {
12
  margin: 0;
12
  margin: 0;
13
  padding: 0;
13
  padding: 0;
14
}
14
}
15
15
16
#header {
16
#header {
17
  -moz-box-sizing: border-box;
17
  box-sizing: border-box;
18
  width: 100%;
18
  width: 100%;
19
  padding: 6px 9px;
19
  padding: 6px 9px;
20
  display: -moz-box;
20
  display: -moz-box;
21
  vertical-align: top;
21
  vertical-align: top;
22
}
22
}
23
23
24
#header:-moz-dir(rtl) {
24
#header:-moz-dir(rtl) {
25
  -moz-box-direction: reverse;
25
  -moz-box-direction: reverse;
 Lines 34-50   body { Link Here 
34
}
34
}
35
35
36
#element-size:-moz-dir(rtl) {
36
#element-size:-moz-dir(rtl) {
37
  -moz-box-pack: end;
37
  -moz-box-pack: end;
38
}
38
}
39
39
40
#main {
40
#main {
41
  margin: 0 10px 10px 10px;
41
  margin: 0 10px 10px 10px;
42
  -moz-box-sizing: border-box;
42
  box-sizing: border-box;
43
  width: calc(100% - 2 * 10px);
43
  width: calc(100% - 2 * 10px);
44
  position: absolute;
44
  position: absolute;
45
  border-width: 1px;
45
  border-width: 1px;
46
}
46
}
47
47
48
@media (min-width: 320px) {
48
@media (min-width: 320px) {
49
  body {
49
  body {
50
    position: absolute;
50
    position: absolute;
(-)a/browser/devtools/profiler/cleopatra/css/ui.css (-1 lines)
Line     Link Here 
 Lines 198-214   body { Link Here 
198
#infoBar dd {
198
#infoBar dd {
199
  margin-left: 0;
199
  margin-left: 0;
200
}
200
}
201
#infoBar dd::after {
201
#infoBar dd::after {
202
  content: "\a";
202
  content: "\a";
203
  white-space:pre;
203
  white-space:pre;
204
}
204
}
205
.sideBar {
205
.sideBar {
206
  -moz-box-sizing: border-box;
207
  box-sizing: border-box;
206
  box-sizing: border-box;
208
  position: absolute;
207
  position: absolute;
209
  left: 0;
208
  left: 0;
210
  bottom: 0;
209
  bottom: 0;
211
  width: 200px;
210
  width: 200px;
212
  height: 480px;
211
  height: 480px;
213
  overflow: auto;
212
  overflow: auto;
214
  padding: 3px;
213
  padding: 3px;
(-)a/browser/devtools/sourceeditor/codemirror/codemirror.css (-2 lines)
Line     Link Here 
 Lines 113-129   div.CodeMirror span.CodeMirror-nonmatchi Link Here 
113
.CodeMirror-scroll {
113
.CodeMirror-scroll {
114
  /* 30px is the magic margin used to hide the element's real scrollbars */
114
  /* 30px is the magic margin used to hide the element's real scrollbars */
115
  /* See overflow: hidden in .CodeMirror */
115
  /* See overflow: hidden in .CodeMirror */
116
  margin-bottom: -30px; margin-right: -30px;
116
  margin-bottom: -30px; margin-right: -30px;
117
  padding-bottom: 30px; padding-right: 30px;
117
  padding-bottom: 30px; padding-right: 30px;
118
  height: 100%;
118
  height: 100%;
119
  outline: none; /* Prevent dragging from highlighting the element */
119
  outline: none; /* Prevent dragging from highlighting the element */
120
  position: relative;
120
  position: relative;
121
  -moz-box-sizing: content-box;
122
  box-sizing: content-box;
121
  box-sizing: content-box;
123
}
122
}
124
.CodeMirror-sizer {
123
.CodeMirror-sizer {
125
  position: relative;
124
  position: relative;
126
}
125
}
127
126
128
/* The fake, visible scrollbars. Used to force redraw during scrolling
127
/* The fake, visible scrollbars. Used to force redraw during scrolling
129
   before actuall scrolling happens, thus preventing shaking and
128
   before actuall scrolling happens, thus preventing shaking and
 Lines 153-169   div.CodeMirror span.CodeMirror-nonmatchi Link Here 
153
.CodeMirror-gutters {
152
.CodeMirror-gutters {
154
  position: absolute; left: 0; top: 0;
153
  position: absolute; left: 0; top: 0;
155
  padding-bottom: 30px;
154
  padding-bottom: 30px;
156
  z-index: 3;
155
  z-index: 3;
157
}
156
}
158
.CodeMirror-gutter {
157
.CodeMirror-gutter {
159
  white-space: normal;
158
  white-space: normal;
160
  height: 100%;
159
  height: 100%;
161
  -moz-box-sizing: content-box;
162
  box-sizing: content-box;
160
  box-sizing: content-box;
163
  padding-bottom: 30px;
161
  padding-bottom: 30px;
164
  margin-bottom: -32px;
162
  margin-bottom: -32px;
165
  display: inline-block;
163
  display: inline-block;
166
  /* Hack to make IE7 behave */
164
  /* Hack to make IE7 behave */
167
  *zoom:1;
165
  *zoom:1;
168
  *display:inline;
166
  *display:inline;
169
}
167
}
(-)a/browser/extensions/pdfjs/content/web/viewer.css (-1 lines)
Line     Link Here 
 Lines 832-848   html[dir="rtl"] .secondaryToolbarButton. Link Here 
832
832
833
.toolbarButton.download::before,
833
.toolbarButton.download::before,
834
.secondaryToolbarButton.download::before {
834
.secondaryToolbarButton.download::before {
835
  content: url(images/toolbarButton-download.png);
835
  content: url(images/toolbarButton-download.png);
836
}
836
}
837
837
838
.toolbarButton.bookmark,
838
.toolbarButton.bookmark,
839
.secondaryToolbarButton.bookmark {
839
.secondaryToolbarButton.bookmark {
840
  -moz-box-sizing: border-box;
841
  box-sizing: border-box;
840
  box-sizing: border-box;
842
  padding-top: 4px;
841
  padding-top: 4px;
843
  text-decoration: none;
842
  text-decoration: none;
844
}
843
}
845
.secondaryToolbarButton.bookmark {
844
.secondaryToolbarButton.bookmark {
846
  padding-top: 5px;
845
  padding-top: 5px;
847
}
846
}
848
847
(-)a/browser/metro/theme/config.css (-4 / +4 lines)
Line     Link Here 
 Lines 63-79   body { Link Here 
63
#filter-input:-moz-placeholder {
63
#filter-input:-moz-placeholder {
64
    color: rgba(255,255,255,0.5);
64
    color: rgba(255,255,255,0.5);
65
}
65
}
66
66
67
.toolbar input {
67
.toolbar input {
68
    display: inline-block;
68
    display: inline-block;
69
    height: 100%;
69
    height: 100%;
70
    min-width: 3em;
70
    min-width: 3em;
71
    -moz-box-sizing: border-box;
71
    box-sizing: border-box;
72
    opacity: 0.75;
72
    opacity: 0.75;
73
}
73
}
74
74
75
#new-pref-toggle-button {
75
#new-pref-toggle-button {
76
    background-position: center center;
76
    background-position: center center;
77
    background-image: url("chrome://browser/skin/images/reader-plus-icon-xhdpi.png");
77
    background-image: url("chrome://browser/skin/images/reader-plus-icon-xhdpi.png");
78
    background-size: 48px 48px;
78
    background-size: 48px 48px;
79
    height: 48px;
79
    height: 48px;
 Lines 127-152   ul { Link Here 
127
    list-style-position: inside;
127
    list-style-position: inside;
128
    border: 1px solid #808080;
128
    border: 1px solid #808080;
129
    background-color: #ffffff;
129
    background-color: #ffffff;
130
    min-height: 100%;
130
    min-height: 100%;
131
    width: 100%;
131
    width: 100%;
132
    padding-top: 0;
132
    padding-top: 0;
133
    margin: 0;
133
    margin: 0;
134
    padding-left: 0;
134
    padding-left: 0;
135
    -moz-box-sizing: border-box;
135
    box-sizing: border-box;
136
    box-shadow: 0 0 5px #000000;
136
    box-shadow: 0 0 5px #000000;
137
    overflow-x: hidden;
137
    overflow-x: hidden;
138
}
138
}
139
139
140
#new-pref-container {
140
#new-pref-container {
141
    width: 100%;
141
    width: 100%;
142
    margin: 0;
142
    margin: 0;
143
    background-color: #ffffff;
143
    background-color: #ffffff;
144
    -moz-box-sizing: border-box;
144
    box-sizing: border-box;
145
    box-shadow: 0 0 5px #000000;
145
    box-shadow: 0 0 5px #000000;
146
    overflow-x: hidden;
146
    overflow-x: hidden;
147
    max-width: 40em;
147
    max-width: 40em;
148
    max-height: 100%;
148
    max-height: 100%;
149
    position: fixed;
149
    position: fixed;
150
    top: 3em;
150
    top: 3em;
151
    left: auto;
151
    left: auto;
152
    display: none;
152
    display: none;
 Lines 265-281   li { Link Here 
265
}
265
}
266
266
267
.pref-item.selected {
267
.pref-item.selected {
268
    background-color: rgba(0,0,255,0.05);
268
    background-color: rgba(0,0,255,0.05);
269
}
269
}
270
270
271
.pref-button {
271
.pref-button {
272
    display: inline-block;
272
    display: inline-block;
273
    -moz-box-sizing: border-box;
273
    box-sizing: border-box;
274
    text-align: center;
274
    text-align: center;
275
    padding: 10px 1em;
275
    padding: 10px 1em;
276
    border-left: 1px solid rgba(0,0,0,0.1);
276
    border-left: 1px solid rgba(0,0,0,0.1);
277
    opacity: 0;
277
    opacity: 0;
278
    transition-property: opacity;
278
    transition-property: opacity;
279
    transition-duration: 500ms;
279
    transition-duration: 500ms;
280
}
280
}
281
281
(-)a/browser/metro/theme/tiles.css (-2 / +2 lines)
Line     Link Here 
 Lines 40-71   richgrid { Link Here 
40
richgrid > .richgrid-grid {
40
richgrid > .richgrid-grid {
41
  -moz-column-width: @grid_double_column_width@; /* tile width (2x unit + gutter) */
41
  -moz-column-width: @grid_double_column_width@; /* tile width (2x unit + gutter) */
42
  min-width: @grid_double_column_width@; /* min 1 column */
42
  min-width: @grid_double_column_width@; /* min 1 column */
43
  min-height: @grid_double_row_height@; /* 2 rows (or 1 double rows) minimum; multiple of tile_height */
43
  min-height: @grid_double_row_height@; /* 2 rows (or 1 double rows) minimum; multiple of tile_height */
44
  -moz-column-fill: auto; /* do not attempt to balance content between columns */
44
  -moz-column-fill: auto; /* do not attempt to balance content between columns */
45
  -moz-column-gap: 0;
45
  -moz-column-gap: 0;
46
  -moz-column-count: auto;
46
  -moz-column-count: auto;
47
  display: block;
47
  display: block;
48
  -moz-box-sizing: content-box;
48
  box-sizing: content-box;
49
  overflow-x: hidden; /* clipping will only kick in if an explicit width is set */
49
  overflow-x: hidden; /* clipping will only kick in if an explicit width is set */
50
  transition: 100ms transform ease-out;
50
  transition: 100ms transform ease-out;
51
}
51
}
52
52
53
richgrid[search] > .richgrid-grid {
53
richgrid[search] > .richgrid-grid {
54
  -moz-column-width: auto;
54
  -moz-column-width: auto;
55
  min-width: 0;
55
  min-width: 0;
56
}
56
}
57
57
58
richgriditem {
58
richgriditem {
59
  display: block;
59
  display: block;
60
  position: relative;
60
  position: relative;
61
  width: @grid_double_column_width@;
61
  width: @grid_double_column_width@;
62
  height: @grid_row_height@;
62
  height: @grid_row_height@;
63
  -moz-box-sizing: border-box;
63
  box-sizing: border-box;
64
  -moz-column-gap: 0;
64
  -moz-column-gap: 0;
65
  overflow:hidden;
65
  overflow:hidden;
66
  cursor: default;
66
  cursor: default;
67
}
67
}
68
68
69
.tile-content {
69
.tile-content {
70
  display: block;
70
  display: block;
71
  position: absolute;
71
  position: absolute;
(-)a/browser/themes/linux/devtools/computedview.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-15    Link Here 
1
/* vim:set ts=2 sw=2 sts=2 et: */
1
/* vim:set ts=2 sw=2 sts=2 et: */
2
/* This Source Code Form is subject to the terms of the Mozilla Public
2
/* This Source Code Form is subject to the terms of the Mozilla Public
3
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * License, v. 2.0. If a copy of the MPL was not distributed with this
4
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
5
5
6
* {
6
* {
7
  -moz-box-sizing: border-box;
7
  box-sizing: border-box;
8
}
8
}
9
9
10
:root {
10
:root {
11
  height: 100%;
11
  height: 100%;
12
}
12
}
13
13
14
body {
14
body {
15
  margin: 0;
15
  margin: 0;
(-)a/browser/themes/linux/devtools/font-inspector.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
* {
1
* {
2
  -moz-box-sizing: border-box;
2
  box-sizing: border-box;
3
}
3
}
4
4
5
body {
5
body {
6
  margin: 0;
6
  margin: 0;
7
  padding-bottom: 20px;
7
  padding-bottom: 20px;
8
}
8
}
9
9
10
#all-fonts {
10
#all-fonts {
(-)a/browser/themes/linux/devtools/layoutview.css (-1 / +1 lines)
Line     Link Here 
 Lines 7-23    Link Here 
7
}
7
}
8
8
9
.theme-light .theme-body {
9
.theme-light .theme-body {
10
  background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%);
10
  background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%);
11
}
11
}
12
12
13
.theme-body {
13
.theme-body {
14
  color: hsl(210,100%,85%) !important;
14
  color: hsl(210,100%,85%) !important;
15
  -moz-box-sizing: border-box;
15
  box-sizing: border-box;
16
}
16
}
17
17
18
#main {
18
#main {
19
  border-color: hsla(210,100%,85%,0.7);
19
  border-color: hsla(210,100%,85%,0.7);
20
  border-style: dotted;
20
  border-style: dotted;
21
}
21
}
22
22
23
#main > .border {
23
#main > .border {
(-)a/browser/themes/osx/devtools/computedview.css (-1 / +1 lines)
Line     Link Here 
 Lines 17-33    Link Here 
17
}
17
}
18
.link:hover {
18
.link:hover {
19
  text-decoration: underline;
19
  text-decoration: underline;
20
}
20
}
21
21
22
/* From content */
22
/* From content */
23
23
24
* {
24
* {
25
  -moz-box-sizing: border-box;
25
  box-sizing: border-box;
26
}
26
}
27
27
28
:root {
28
:root {
29
  height: 100%;
29
  height: 100%;
30
}
30
}
31
31
32
body {
32
body {
33
  margin: 0;
33
  margin: 0;
(-)a/browser/themes/osx/devtools/font-inspector.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
* {
1
* {
2
  -moz-box-sizing: border-box;
2
  box-sizing: border-box;
3
}
3
}
4
4
5
body {
5
body {
6
  margin: 0;
6
  margin: 0;
7
  padding-bottom: 20px;
7
  padding-bottom: 20px;
8
}
8
}
9
9
10
#all-fonts {
10
#all-fonts {
(-)a/browser/themes/osx/devtools/layoutview.css (-1 / +1 lines)
Line     Link Here 
 Lines 7-23    Link Here 
7
}
7
}
8
8
9
.theme-light .theme-body {
9
.theme-light .theme-body {
10
  background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%);
10
  background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%);
11
}
11
}
12
12
13
.theme-body {
13
.theme-body {
14
  color: hsl(210,100%,85%) !important;
14
  color: hsl(210,100%,85%) !important;
15
  -moz-box-sizing: border-box;
15
  box-sizing: border-box;
16
}
16
}
17
17
18
#main {
18
#main {
19
  border-color: hsla(210,100%,85%,0.7);
19
  border-color: hsla(210,100%,85%,0.7);
20
  border-style: dotted;
20
  border-style: dotted;
21
}
21
}
22
22
23
#main > .border {
23
#main > .border {
(-)a/browser/themes/shared/devtools/app-manager/connection-footer.css (-1 / +1 lines)
Line     Link Here 
 Lines 73-89   body.edit-connection #banner-editing { Link Here 
73
  display: inline;
73
  display: inline;
74
}
74
}
75
75
76
/************** PIXELS **************/
76
/************** PIXELS **************/
77
77
78
* {
78
* {
79
  margin: 0;
79
  margin: 0;
80
  padding: 0;
80
  padding: 0;
81
  -moz-box-sizing: border-box;
81
  box-sizing: border-box;
82
  font-size: 0.9rem;
82
  font-size: 0.9rem;
83
}
83
}
84
84
85
body {
85
body {
86
  color: #333;
86
  color: #333;
87
  background-color: white;
87
  background-color: white;
88
  font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif;
88
  font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif;
89
}
89
}
(-)a/browser/themes/shared/devtools/app-manager/device.css (-1 / +1 lines)
Line     Link Here 
 Lines 2-18    Link Here 
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
/*****************      GENERAL      *****************/
5
/*****************      GENERAL      *****************/
6
6
7
* {
7
* {
8
  margin: 0;
8
  margin: 0;
9
  padding: 0;
9
  padding: 0;
10
  -moz-box-sizing: border-box;
10
  box-sizing: border-box;
11
}
11
}
12
12
13
html, body {
13
html, body {
14
  height: 100%;
14
  height: 100%;
15
}
15
}
16
16
17
body {
17
body {
18
  font-size: 0.9rem;
18
  font-size: 0.9rem;
(-)a/browser/themes/shared/devtools/app-manager/index.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-16    Link Here 
1
/* This Source Code Form is subject to the terms of the Mozilla Public
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
* {
5
* {
6
  margin: 0;
6
  margin: 0;
7
  padding: 0;
7
  padding: 0;
8
  -moz-box-sizing: border-box;
8
  box-sizing: border-box;
9
  font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif;
9
  font-family: Lucida Grande, Helvetica, Helvetica Neue, sans-serif;
10
}
10
}
11
11
12
#tabs {
12
#tabs {
13
  box-shadow: inset -4px 0 0 rgba(0,0,0,0.3);
13
  box-shadow: inset -4px 0 0 rgba(0,0,0,0.3);
14
  background: #252C33;
14
  background: #252C33;
15
}
15
}
16
16
(-)a/browser/themes/shared/devtools/app-manager/projects.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-16    Link Here 
1
/* This Source Code Form is subject to the terms of the Mozilla Public
1
/* This Source Code Form is subject to the terms of the Mozilla Public
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
2
 * License, v. 2.0. If a copy of the MPL was not distributed with this
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
3
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
4
4
5
* {
5
* {
6
  margin: 0;
6
  margin: 0;
7
  padding: 0;
7
  padding: 0;
8
  -moz-box-sizing: border-box;
8
  box-sizing: border-box;
9
  font-size: 0.9rem;
9
  font-size: 0.9rem;
10
}
10
}
11
11
12
html, body {
12
html, body {
13
  height: 100%;
13
  height: 100%;
14
}
14
}
15
15
16
template {
16
template {
(-)a/browser/themes/windows/devtools/computedview.css (-1 / +1 lines)
Line     Link Here 
 Lines 17-33    Link Here 
17
}
17
}
18
.link:hover {
18
.link:hover {
19
  text-decoration: underline;
19
  text-decoration: underline;
20
}
20
}
21
21
22
/* From content */
22
/* From content */
23
23
24
* {
24
* {
25
  -moz-box-sizing: border-box;
25
  box-sizing: border-box;
26
}
26
}
27
27
28
:root {
28
:root {
29
  height: 100%;
29
  height: 100%;
30
}
30
}
31
31
32
body {
32
body {
33
  margin: 0;
33
  margin: 0;
(-)a/browser/themes/windows/devtools/font-inspector.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
* {
1
* {
2
  -moz-box-sizing: border-box;
2
  box-sizing: border-box;
3
}
3
}
4
4
5
body {
5
body {
6
  margin: 0;
6
  margin: 0;
7
  padding-bottom: 20px;
7
  padding-bottom: 20px;
8
}
8
}
9
9
10
#all-fonts {
10
#all-fonts {
(-)a/browser/themes/windows/devtools/layoutview.css (-1 / +1 lines)
Line     Link Here 
 Lines 7-23    Link Here 
7
}
7
}
8
8
9
.theme-light .theme-body {
9
.theme-light .theme-body {
10
  background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%);
10
  background-image: url(layout-background-grid.png), radial-gradient(circle at 50% 70%, hsl(210,53%,45%) 0%, hsl(210,54%,33%) 100%);
11
}
11
}
12
12
13
.theme-body {
13
.theme-body {
14
  color: hsl(210,100%,85%) !important;
14
  color: hsl(210,100%,85%) !important;
15
  -moz-box-sizing: border-box;
15
  box-sizing: border-box;
16
}
16
}
17
17
18
#main {
18
#main {
19
  border-color: hsla(210,100%,85%,0.7);
19
  border-color: hsla(210,100%,85%,0.7);
20
  border-style: dotted;
20
  border-style: dotted;
21
}
21
}
22
22
23
#main > .border {
23
#main > .border {
(-)a/content/base/test/test_bug320799.html (-1 / +1 lines)
Line     Link Here 
 Lines 6-22   https://bugzilla.mozilla.org/show_bug.cg Link Here 
6
<head>
6
<head>
7
  <title>Test for Bug 320799</title>
7
  <title>Test for Bug 320799</title>
8
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
8
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
9
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
9
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10
</head>
10
</head>
11
<body>
11
<body>
12
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=320799">Mozilla Bug 320799</a>
12
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=320799">Mozilla Bug 320799</a>
13
<p id="display">
13
<p id="display">
14
  <select id="s" style="width: 100px; -moz-box-sizing: padding-box">
14
  <select id="s" style="width: 100px; box-sizing: padding-box">
15
    <option>This is a test, it really is a test I tell you</option>
15
    <option>This is a test, it really is a test I tell you</option>
16
  </select>
16
  </select>
17
  <select id="s2">
17
  <select id="s2">
18
    <option>x</option>
18
    <option>x</option>
19
    <option>x</option>
19
    <option>x</option>
20
    <option>x</option>
20
    <option>x</option>
21
    <option>x</option>
21
    <option>x</option>
22
    <option>x</option>
22
    <option>x</option>
(-)a/dom/tests/mochitest/general/test_bug861217.html (-3 / +3 lines)
Line     Link Here 
 Lines 19-44   https://bugzilla.mozilla.org/show_bug.cg Link Here 
19
      </tr>
19
      </tr>
20
      <tr>
20
      <tr>
21
        <td id="tableCell2" style="overflow: hidden"><div style="margin-top: 5px; margin-left: 7px; width: 100px; height: 100px; background-color: SkyBlue">2</div></td>
21
        <td id="tableCell2" style="overflow: hidden"><div style="margin-top: 5px; margin-left: 7px; width: 100px; height: 100px; background-color: SkyBlue">2</div></td>
22
      </tr>
22
      </tr>
23
      <tr>
23
      <tr>
24
        <td id="tableCell3" style="overflow: hidden"><div style="display: inline-block; margin-right: 8px; margin-bottom: 10px; width: 100px; height: 100px; background-color: Khaki">3</div></td>
24
        <td id="tableCell3" style="overflow: hidden"><div style="display: inline-block; margin-right: 8px; margin-bottom: 10px; width: 100px; height: 100px; background-color: Khaki">3</div></td>
25
      </tr>
25
      </tr>
26
      <tr>
26
      <tr>
27
        <td id="tableCell4" style="overflow: hidden"><div style="display: inline-block; margin-right: 3px; margin-left: 1px; -moz-box-sizing: border-box; box-sizing: border-box; width: 100px; height: 100px; border-left: 6px solid black; border-bottom: 2px solid black; background-color: LightCoral">4</div></td>
27
        <td id="tableCell4" style="overflow: hidden"><div style="display: inline-block; margin-right: 3px; margin-left: 1px; box-sizing: border-box; width: 100px; height: 100px; border-left: 6px solid black; border-bottom: 2px solid black; background-color: LightCoral">4</div></td>
28
      </tr>
28
      </tr>
29
      <tr>
29
      <tr>
30
        <td id="tableCell5" style="overflow: hidden"><div style="display: inline-block; border-right: 9px solid black; width: 100px; height: 100px; background-color: LightSeaGreen">5</div></td>
30
        <td id="tableCell5" style="overflow: hidden"><div style="display: inline-block; border-right: 9px solid black; width: 100px; height: 100px; background-color: LightSeaGreen">5</div></td>
31
      </tr>
31
      </tr>
32
      <tr>
32
      <tr>
33
        <td id="tableCell6" style="overflow: hidden"><div style="-moz-box-sizing: border-box; box-sizing: border-box; width: 100px; height: 100px; padding-top: 3px; padding-right: 13px; background-color: Orange">6</div></td>
33
        <td id="tableCell6" style="overflow: hidden"><div style="box-sizing: border-box; width: 100px; height: 100px; padding-top: 3px; padding-right: 13px; background-color: Orange">6</div></td>
34
      </tr>
34
      </tr>
35
      <tr>
35
      <tr>
36
        <td id="tableCell7" style="overflow: hidden"><div style="display: inline-block; margin-right: 11px; margin-left: 4px; -moz-box-sizing: border-box; box-sizing: border-box; width: 100px; height: 100px; border-right: 6px solid black; border-bottom: 8px solid black; padding-top: 5px; padding-right: 9px; padding-bottom: 8px; padding-left: 7px; background-color: Silver">7</div></td>
36
        <td id="tableCell7" style="overflow: hidden"><div style="display: inline-block; margin-right: 11px; margin-left: 4px; box-sizing: border-box; width: 100px; height: 100px; border-right: 6px solid black; border-bottom: 8px solid black; padding-top: 5px; padding-right: 9px; padding-bottom: 8px; padding-left: 7px; background-color: Silver">7</div></td>
37
      </tr>
37
      </tr>
38
      <tr>
38
      <tr>
39
        <td id="tableCell8" style="overflow: hidden"><div style="display: inline-block; margin-top: 7px; margin-bottom: 1px; border-right: 6px solid black; border-bottom: 8px solid black; padding-top: 5px; padding-right: 9px; padding-bottom: 8px; padding-left: 7px; width: 100px; height: 100px; background-color: Turquoise">8</div></td>
39
        <td id="tableCell8" style="overflow: hidden"><div style="display: inline-block; margin-top: 7px; margin-bottom: 1px; border-right: 6px solid black; border-bottom: 8px solid black; padding-top: 5px; padding-right: 9px; padding-bottom: 8px; padding-left: 7px; width: 100px; height: 100px; background-color: Turquoise">8</div></td>
40
      </tr>
40
      </tr>
41
    </tbody>
41
    </tbody>
42
  </table>
42
  </table>
43
  <div id="status" style="display: none"></div>
43
  <div id="status" style="display: none"></div>
44
</div>
44
</div>
(-)a/dom/tests/mochitest/general/test_offsets.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-3    Link Here 
1
  button, vbox, menu, menuitem, menupopup  {
1
  button, vbox, menu, menuitem, menupopup  {
2
    -moz-box-sizing: content-box;
2
    box-sizing: content-box;
3
  }
3
  }
(-)a/dom/tests/mochitest/general/test_offsets.html (-1 / +1 lines)
Line     Link Here 
 Lines 3-19    Link Here 
3
<head>
3
<head>
4
  <title>HTML Tests for offset/client/scroll properties</title>
4
  <title>HTML Tests for offset/client/scroll properties</title>
5
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
5
  <script type="text/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6
  <script type="text/javascript" src="test_offsets.js"></script>
6
  <script type="text/javascript" src="test_offsets.js"></script>
7
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css">
7
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css">
8
8
9
<style>
9
<style>
10
  input {
10
  input {
11
    -moz-box-sizing: content-box;
11
    box-sizing: content-box;
12
  }
12
  }
13
</style>
13
</style>
14
</head>
14
</head>
15
<body id="body" onload="setTimeout(testElements, 0, 'testelements', SimpleTest.finish);"
15
<body id="body" onload="setTimeout(testElements, 0, 'testelements', SimpleTest.finish);"
16
      style="margin: 1px; border: 2px solid black; padding: 4px;">
16
      style="margin: 1px; border: 2px solid black; padding: 4px;">
17
17
18
<div id="testelements" style="margin: 0; border: 0; padding: 0;">
18
<div id="testelements" style="margin: 0; border: 0; padding: 0;">
19
  <div id="div1" style="margin: 0; margin-left: 6px; margin-top: 2px; border: 1px solid green; padding: 6px; width: 50px; height: 20px"
19
  <div id="div1" style="margin: 0; margin-left: 6px; margin-top: 2px; border: 1px solid green; padding: 6px; width: 50px; height: 20px"
(-)a/layout/base/nsLayoutUtils.cpp (-1 / +1 lines)
Line     Link Here 
 Lines 3028-3044   nsLayoutUtils::IntrinsicForContainer(nsR Link Here 
3028
  // this case GetAbsoluteCoord(styleWidth, w) will always succeed, so
3028
  // this case GetAbsoluteCoord(styleWidth, w) will always succeed, so
3029
  // we'll never need the intrinsic dimensions.
3029
  // we'll never need the intrinsic dimensions.
3030
  if (styleWidth.GetUnit() == eStyleUnit_Enumerated &&
3030
  if (styleWidth.GetUnit() == eStyleUnit_Enumerated &&
3031
      (styleWidth.GetIntValue() == NS_STYLE_WIDTH_MAX_CONTENT ||
3031
      (styleWidth.GetIntValue() == NS_STYLE_WIDTH_MAX_CONTENT ||
3032
       styleWidth.GetIntValue() == NS_STYLE_WIDTH_MIN_CONTENT)) {
3032
       styleWidth.GetIntValue() == NS_STYLE_WIDTH_MIN_CONTENT)) {
3033
    // -moz-fit-content and -moz-available enumerated widths compute intrinsic
3033
    // -moz-fit-content and -moz-available enumerated widths compute intrinsic
3034
    // widths just like auto.
3034
    // widths just like auto.
3035
    // For -moz-max-content and -moz-min-content, we handle them like
3035
    // For -moz-max-content and -moz-min-content, we handle them like
3036
    // specified widths, but ignore -moz-box-sizing.
3036
    // specified widths, but ignore box-sizing.
3037
    boxSizing = NS_STYLE_BOX_SIZING_CONTENT;
3037
    boxSizing = NS_STYLE_BOX_SIZING_CONTENT;
3038
  } else if (!styleWidth.ConvertsToLength() &&
3038
  } else if (!styleWidth.ConvertsToLength() &&
3039
             !(haveFixedMinWidth && haveFixedMaxWidth && maxw <= minw)) {
3039
             !(haveFixedMinWidth && haveFixedMaxWidth && maxw <= minw)) {
3040
#ifdef DEBUG_INTRINSIC_WIDTH
3040
#ifdef DEBUG_INTRINSIC_WIDTH
3041
    ++gNoiseIndent;
3041
    ++gNoiseIndent;
3042
#endif
3042
#endif
3043
    if (aType == MIN_WIDTH)
3043
    if (aType == MIN_WIDTH)
3044
      result = aFrame->GetMinWidth(aRenderingContext);
3044
      result = aFrame->GetMinWidth(aRenderingContext);
(-)a/layout/base/nsLayoutUtils.h (-2 / +2 lines)
Line     Link Here 
 Lines 1058-1076   public: Link Here 
1058
   * on aContentEdgeToBoxSizing and aBoxSizingToMarginEdge (which are
1058
   * on aContentEdgeToBoxSizing and aBoxSizingToMarginEdge (which are
1059
   * also used for the enumerated values for width.  This function does
1059
   * also used for the enumerated values for width.  This function does
1060
   * not handle 'auto'.  It ensures that the result is nonnegative.
1060
   * not handle 'auto'.  It ensures that the result is nonnegative.
1061
   *
1061
   *
1062
   * @param aRenderingContext Rendering context for font measurement/metrics.
1062
   * @param aRenderingContext Rendering context for font measurement/metrics.
1063
   * @param aFrame Frame whose (min-/max-/)width is being computed
1063
   * @param aFrame Frame whose (min-/max-/)width is being computed
1064
   * @param aContainingBlockWidth Width of aFrame's containing block.
1064
   * @param aContainingBlockWidth Width of aFrame's containing block.
1065
   * @param aContentEdgeToBoxSizing The sum of any left/right padding and
1065
   * @param aContentEdgeToBoxSizing The sum of any left/right padding and
1066
   *          border that goes inside the rect chosen by -moz-box-sizing.
1066
   *          border that goes inside the rect chosen by box-sizing.
1067
   * @param aBoxSizingToMarginEdge The sum of any left/right padding, border,
1067
   * @param aBoxSizingToMarginEdge The sum of any left/right padding, border,
1068
   *          and margin that goes outside the rect chosen by -moz-box-sizing.
1068
   *          and margin that goes outside the rect chosen by box-sizing.
1069
   * @param aCoord The width value to compute.
1069
   * @param aCoord The width value to compute.
1070
   */
1070
   */
1071
  static nscoord ComputeWidthValue(
1071
  static nscoord ComputeWidthValue(
1072
                   nsRenderingContext* aRenderingContext,
1072
                   nsRenderingContext* aRenderingContext,
1073
                   nsIFrame*            aFrame,
1073
                   nsIFrame*            aFrame,
1074
                   nscoord              aContainingBlockWidth,
1074
                   nscoord              aContainingBlockWidth,
1075
                   nscoord              aContentEdgeToBoxSizing,
1075
                   nscoord              aContentEdgeToBoxSizing,
1076
                   nscoord              aBoxSizingToMarginEdge,
1076
                   nscoord              aBoxSizingToMarginEdge,
(-)a/layout/doc/table_reflow_slides.html (-1 / +1 lines)
Line     Link Here 
 Lines 83-99    Link Here 
83
83
84
  table {
84
  table {
85
    margin: auto;
85
    margin: auto;
86
  }
86
  }
87
87
88
  table.box {
88
  table.box {
89
    border-collapse: collapse;
89
    border-collapse: collapse;
90
	border: 2px solid black;
90
	border: 2px solid black;
91
	-moz-box-sizing: border-box;
91
	box-sizing: border-box;
92
	width:98%;
92
	width:98%;
93
	height:96%;
93
	height:96%;
94
  }
94
  }
95
95
96
  row {
96
  row {
97
    border: 2px solid black;
97
    border: 2px solid black;
98
  }
98
  }
99
  row.title {
99
  row.title {
(-)a/layout/forms/test/test_textarea_resize.html (-1 / +1 lines)
Line     Link Here 
 Lines 5-21    Link Here 
5
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
5
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
6
  <script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
6
  <script type="application/javascript" src="/tests/SimpleTest/EventUtils.js"></script>
7
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
7
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
8
</head>
8
</head>
9
<body>
9
<body>
10
<div id="content" style="display: none">
10
<div id="content" style="display: none">
11
</div>
11
</div>
12
12
13
<textarea id="textarea" style="-moz-appearance: none; border: 2px solid black; padding: 3px; -moz-box-sizing: border-box; min-width: 15px; min-height: 15px;">Text</textarea>
13
<textarea id="textarea" style="-moz-appearance: none; border: 2px solid black; padding: 3px; box-sizing: border-box; min-width: 15px; min-height: 15px;">Text</textarea>
14
14
15
<pre id="test">
15
<pre id="test">
16
<script type="application/javascript">
16
<script type="application/javascript">
17
17
18
/** Test for textbox resizing **/
18
/** Test for textbox resizing **/
19
SimpleTest.waitForExplicitFinish();
19
SimpleTest.waitForExplicitFinish();
20
addLoadEvent(function() SimpleTest.executeSoon(doTheTest));
20
addLoadEvent(function() SimpleTest.executeSoon(doTheTest));
21
21
(-)a/layout/generic/crashtests/730559.html (-1 / +1 lines)
Line     Link Here 
Line 1    Link Here 
1
<!DOCTYPE html><html style="height: 6523790304542em; width: 6207636626031em; -moz-box-sizing: border-box; border-style: dotted; -moz-column-width: 20px;"></html>
1
<!DOCTYPE html><html style="height: 6523790304542em; width: 6207636626031em; box-sizing: border-box; border-style: dotted; -moz-column-width: 20px;"></html>
(-)a/layout/generic/crashtests/810726-2.html (-1 / +1 lines)
Line     Link Here 
 Lines 22-38    Link Here 
22
      .wrapper {
22
      .wrapper {
23
                background-color: rgb(255, 0, 155); max-width: 910px;
23
                background-color: rgb(255, 0, 155); max-width: 910px;
24
                border: 1px solid green;
24
                border: 1px solid green;
25
               }
25
               }
26
26
27
      .column {
27
      .column {
28
        width: 73%;
28
        width: 73%;
29
        padding: 20px 60px 20px 40px;
29
        padding: 20px 60px 20px 40px;
30
        -moz-box-sizing: border-box;
30
        box-sizing: border-box;
31
        background-color: rgb(0, 95, 255);
31
        background-color: rgb(0, 95, 255);
32
      }
32
      }
33
33
34
      .img {
34
      .img {
35
        float: left;
35
        float: left;
36
        width: 261px;
36
        width: 261px;
37
        height: 150px;
37
        height: 150px;
38
        background-color: rgb(88, 20, 100);
38
        background-color: rgb(88, 20, 100);
(-)a/layout/generic/nsHTMLReflowState.cpp (-2 / +2 lines)
Line     Link Here 
 Lines 987-1003   GetIntrinsicSizeFor(nsIFrame* aFrame, ns Link Here 
987
      success = (aIntrinsicSize != nsSize(0, 0));
987
      success = (aIntrinsicSize != nsSize(0, 0));
988
    }
988
    }
989
  }
989
  }
990
  return success;
990
  return success;
991
}
991
}
992
992
993
/**
993
/**
994
 * aInsideBoxSizing returns the part of the horizontal padding, border,
994
 * aInsideBoxSizing returns the part of the horizontal padding, border,
995
 * and margin that goes inside the edge given by -moz-box-sizing;
995
 * and margin that goes inside the edge given by box-sizing;
996
 * aOutsideBoxSizing returns the rest.
996
 * aOutsideBoxSizing returns the rest.
997
 */
997
 */
998
void
998
void
999
nsHTMLReflowState::CalculateHorizBorderPaddingMargin(
999
nsHTMLReflowState::CalculateHorizBorderPaddingMargin(
1000
                       nscoord aContainingBlockWidth,
1000
                       nscoord aContainingBlockWidth,
1001
                       nscoord* aInsideBoxSizing,
1001
                       nscoord* aInsideBoxSizing,
1002
                       nscoord* aOutsideBoxSizing)
1002
                       nscoord* aOutsideBoxSizing)
1003
{
1003
{
 Lines 2256-2272   nsCSSOffsetState::InitOffsets(nscoord aH Link Here 
2256
2256
2257
  if (aFrameType == nsGkAtoms::tableFrame) {
2257
  if (aFrameType == nsGkAtoms::tableFrame) {
2258
    nsTableFrame *tableFrame = static_cast<nsTableFrame*>(frame);
2258
    nsTableFrame *tableFrame = static_cast<nsTableFrame*>(frame);
2259
2259
2260
    if (tableFrame->IsBorderCollapse()) {
2260
    if (tableFrame->IsBorderCollapse()) {
2261
      // border-collapsed tables don't use any of their padding, and
2261
      // border-collapsed tables don't use any of their padding, and
2262
      // only part of their border.  We need to do this here before we
2262
      // only part of their border.  We need to do this here before we
2263
      // try to do anything like handling 'auto' widths,
2263
      // try to do anything like handling 'auto' widths,
2264
      // '-moz-box-sizing', or 'auto' margins.
2264
      // 'box-sizing', or 'auto' margins.
2265
      ComputedPhysicalPadding().SizeTo(0,0,0,0);
2265
      ComputedPhysicalPadding().SizeTo(0,0,0,0);
2266
      ComputedPhysicalBorderPadding() = tableFrame->GetIncludedOuterBCBorder();
2266
      ComputedPhysicalBorderPadding() = tableFrame->GetIncludedOuterBCBorder();
2267
    }
2267
    }
2268
2268
2269
    // The margin is inherited to the outer table frame via
2269
    // The margin is inherited to the outer table frame via
2270
    // the ::-moz-table-outer rule in ua.css.
2270
    // the ::-moz-table-outer rule in ua.css.
2271
    ComputedPhysicalMargin().SizeTo(0, 0, 0, 0);
2271
    ComputedPhysicalMargin().SizeTo(0, 0, 0, 0);
2272
  } else if (aFrameType == nsGkAtoms::scrollbarFrame) {
2272
  } else if (aFrameType == nsGkAtoms::scrollbarFrame) {
(-)a/layout/reftests/border-image/side-scaling-1h-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-16    Link Here 
1
<!doctype html>
1
<!doctype html>
2
<html><head>
2
<html><head>
3
<title>border-image: repeat with zero-height top and bottom</title>
3
<title>border-image: repeat with zero-height top and bottom</title>
4
<style>
4
<style>
5
span {
5
span {
6
  display: inline-block;
6
  display: inline-block;
7
  margin: 10px;
7
  margin: 10px;
8
  -moz-box-sizing: border-box;
8
  box-sizing: border-box;
9
  height: 24px;
9
  height: 24px;
10
  border-style: solid;
10
  border-style: solid;
11
  border-color: transparent;
11
  border-color: transparent;
12
  border-width: 0 6px;
12
  border-width: 0 6px;
13
  border-image: url("roundrectbutton.png") 0 6 repeat stretch;
13
  border-image: url("roundrectbutton.png") 0 6 repeat stretch;
14
}
14
}
15
</style>
15
</style>
16
</head><body>
16
</head><body>
(-)a/layout/reftests/border-image/side-scaling-1h.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-16    Link Here 
1
<!doctype html>
1
<!doctype html>
2
<html><head>
2
<html><head>
3
<title>border-image: repeat with zero-height top and bottom</title>
3
<title>border-image: repeat with zero-height top and bottom</title>
4
<style>
4
<style>
5
span {
5
span {
6
  display: inline-block;
6
  display: inline-block;
7
  margin: 10px;
7
  margin: 10px;
8
  -moz-box-sizing: border-box;
8
  box-sizing: border-box;
9
  height: 24px;
9
  height: 24px;
10
  border-style: solid;
10
  border-style: solid;
11
  border-color: transparent;
11
  border-color: transparent;
12
  border-width: 0 6px;
12
  border-width: 0 6px;
13
  border-image: url("roundrectbutton.png") 0 6 repeat;
13
  border-image: url("roundrectbutton.png") 0 6 repeat;
14
}
14
}
15
</style>
15
</style>
16
</head><body>
16
</head><body>
(-)a/layout/reftests/border-image/side-scaling-1v-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-16    Link Here 
1
<!doctype html>
1
<!doctype html>
2
<html><head>
2
<html><head>
3
<title>border-image: repeat with zero-width left and right</title>
3
<title>border-image: repeat with zero-width left and right</title>
4
<style>
4
<style>
5
span {
5
span {
6
  display: inline-block;
6
  display: inline-block;
7
  margin: 5px;
7
  margin: 5px;
8
  -moz-box-sizing: border-box;
8
  box-sizing: border-box;
9
  width: 13px;
9
  width: 13px;
10
  border-style: solid;
10
  border-style: solid;
11
  border-color: transparent;
11
  border-color: transparent;
12
  border-width: 10px 0;
12
  border-width: 10px 0;
13
  border-image: url("roundrectbutton.png") 10 0 stretch repeat;
13
  border-image: url("roundrectbutton.png") 10 0 stretch repeat;
14
}
14
}
15
</style>
15
</style>
16
</head><body>
16
</head><body>
(-)a/layout/reftests/border-image/side-scaling-1v.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-16    Link Here 
1
<!doctype html>
1
<!doctype html>
2
<html><head>
2
<html><head>
3
<title>border-image: repeat with zero-width left and right</title>
3
<title>border-image: repeat with zero-width left and right</title>
4
<style>
4
<style>
5
span {
5
span {
6
  display: inline-block;
6
  display: inline-block;
7
  margin: 5px;
7
  margin: 5px;
8
  -moz-box-sizing: border-box;
8
  box-sizing: border-box;
9
  width: 13px;
9
  width: 13px;
10
  border-style: solid;
10
  border-style: solid;
11
  border-color: transparent;
11
  border-color: transparent;
12
  border-width: 10px 0;
12
  border-width: 10px 0;
13
  border-image: url("roundrectbutton.png") 10 0 repeat;
13
  border-image: url("roundrectbutton.png") 10 0 repeat;
14
}
14
}
15
</style>
15
</style>
16
</head><body>
16
</head><body>
(-)a/layout/reftests/border-radius/border-reduce-height-ref.html (-2 / +1 lines)
Line     Link Here 
 Lines 1-13    Link Here 
1
<html>
1
<html>
2
  <head>
2
  <head>
3
    <style>
3
    <style>
4
      div { -moz-box-sizing: border-box;
4
      div { box-sizing: border-box;
5
            box-sizing: border-box;
6
            width: 60px;
5
            width: 60px;
7
            height: 20px;
6
            height: 20px;
8
            border: 2px solid black;
7
            border: 2px solid black;
9
            background: green;
8
            background: green;
10
            position: absolute;
9
            position: absolute;
11
            top: 12px;
10
            top: 12px;
12
            left: 12px;
11
            left: 12px;
13
            border-radius: 4px 16px 4px 16px;
12
            border-radius: 4px 16px 4px 16px;
(-)a/layout/reftests/border-radius/border-reduce-height.html (-2 / +1 lines)
Line     Link Here 
 Lines 1-13    Link Here 
1
<html>
1
<html>
2
  <head>
2
  <head>
3
    <style>
3
    <style>
4
      div { -moz-box-sizing: border-box;
4
      div { box-sizing: border-box;
5
            box-sizing: border-box;
6
            width: 60px;
5
            width: 60px;
7
            height: 20px;
6
            height: 20px;
8
            border: 2px solid black;
7
            border: 2px solid black;
9
            background: green;
8
            background: green;
10
            position: absolute;
9
            position: absolute;
11
            top: 12px;
10
            top: 12px;
12
            left: 12px;
11
            left: 12px;
13
            border-radius: 5px 20px 5px 20px;
12
            border-radius: 5px 20px 5px 20px;
(-)a/layout/reftests/border-radius/curved-stripe-border.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-15    Link Here 
1
<!doctype html>
1
<!doctype html>
2
<html><head>
2
<html><head>
3
<title>Curved stripe border (HTML)</title>
3
<title>Curved stripe border (HTML)</title>
4
<style>
4
<style>
5
body { margin: 0 }
5
body { margin: 0 }
6
div {
6
div {
7
  -moz-box-sizing: border-box;
7
  box-sizing: border-box;
8
  width: 180px;
8
  width: 180px;
9
  height: 180px;
9
  height: 180px;
10
  border: 30px double black;
10
  border: 30px double black;
11
  border-radius: 60px / 40px;
11
  border-radius: 60px / 40px;
12
  margin: 20px;
12
  margin: 20px;
13
}
13
}
14
</style>
14
</style>
15
</head><body>
15
</head><body>
(-)a/layout/reftests/box-properties/box-sizing-1-ref.html (-4 / +4 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0; }
10
    table { border-spacing: 0; margin: 0; }
11
    td { border: 1px solid; padding: 1px; }
11
    td { border: 1px solid; padding: 1px; }
12
12
 Lines 30-70    Link Here 
30
  </style>
30
  </style>
31
</head>
31
</head>
32
<body>
32
<body>
33
33
34
<table><tr>
34
<table><tr>
35
35
36
<td id="bscontent"><div>
36
<td id="bscontent"><div>
37
37
38
<!-- -moz-box-sizing: content-box -->
38
<!-- box-sizing: content-box -->
39
<div style="width: 37px">A B</div>
39
<div style="width: 37px">A B</div>
40
<div style="width: auto">A B</div>
40
<div style="width: auto">A B</div>
41
<div style="width: auto">A<br>B</div>
41
<div style="width: auto">A<br>B</div>
42
<div style="width: auto">A B</div>
42
<div style="width: auto">A B</div>
43
<div style="width: 37px">A B</div>
43
<div style="width: 37px">A B</div>
44
<div style="width: 50px">A B</div>
44
<div style="width: 50px">A B</div>
45
<div style="width: 60px">A B</div>
45
<div style="width: 60px">A B</div>
46
46
47
</div></td>
47
</div></td>
48
48
49
<td id="bspadding"><div>
49
<td id="bspadding"><div>
50
<!-- -moz-box-sizing: padding-box -->
50
<!-- box-sizing: padding-box -->
51
<div style="width: 37px">A B</div>
51
<div style="width: 37px">A B</div>
52
<div style="width: auto">A B</div>
52
<div style="width: auto">A B</div>
53
<div style="width: auto">A<br>B</div>
53
<div style="width: auto">A<br>B</div>
54
<div style="width: auto">A B</div>
54
<div style="width: auto">A B</div>
55
<div style="width: 37px">A B</div>
55
<div style="width: 37px">A B</div>
56
<div style="width: 38px">A B</div>
56
<div style="width: 38px">A B</div>
57
<div style="width: 48px">A B</div>
57
<div style="width: 48px">A B</div>
58
58
59
</div></td>
59
</div></td>
60
60
61
<td id="bsborder"><div>
61
<td id="bsborder"><div>
62
<!-- -moz-box-sizing: border-box -->
62
<!-- box-sizing: border-box -->
63
<div style="width: 37px">A B</div>
63
<div style="width: 37px">A B</div>
64
<div style="width: auto">A B</div>
64
<div style="width: auto">A B</div>
65
<div style="width: auto">A<br>B</div>
65
<div style="width: auto">A<br>B</div>
66
<div style="width: auto">A B</div>
66
<div style="width: auto">A B</div>
67
<div style="width: 37px">A B</div>
67
<div style="width: 37px">A B</div>
68
<div style="width: 20px">A B</div>
68
<div style="width: 20px">A B</div>
69
<div style="width: 30px">A B</div>
69
<div style="width: 30px">A B</div>
70
70
(-)a/layout/reftests/box-properties/box-sizing-1.html (-7 / +7 lines)
Line     Link Here 
 Lines 1-25    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0; }
10
    table { border-spacing: 0; margin: 0; }
11
    td { border: 1px solid; padding: 1px; }
11
    td { border: 1px solid; padding: 1px; }
12
12
13
    td > div { width: 100px; }
13
    td > div { width: 100px; }
14
14
15
    td#bscontent > div > div { -moz-box-sizing: content-box; }
15
    td#bscontent > div > div { box-sizing: content-box; }
16
    td#bspadding > div > div { -moz-box-sizing: padding-box; }
16
    td#bspadding > div > div { box-sizing: padding-box; }
17
    td#bsborder > div > div { -moz-box-sizing: border-box; }
17
    td#bsborder > div > div { box-sizing: border-box; }
18
18
19
    td > div > div {
19
    td > div > div {
20
      margin-left: 1px;
20
      margin-left: 1px;
21
      border-left: 2px solid;
21
      border-left: 2px solid;
22
      padding-left: 4px;
22
      padding-left: 4px;
23
      padding-right: 8px;
23
      padding-right: 8px;
24
      border-right: 16px solid;
24
      border-right: 16px solid;
25
      margin-right: 32px;
25
      margin-right: 32px;
 Lines 31-71    Link Here 
31
  </style>
31
  </style>
32
</head>
32
</head>
33
<body>
33
<body>
34
34
35
<table><tr>
35
<table><tr>
36
36
37
<td id="bscontent"><div>
37
<td id="bscontent"><div>
38
38
39
<!-- -moz-box-sizing: content-box -->
39
<!-- box-sizing: content-box -->
40
<div style="width: auto">A B</div>
40
<div style="width: auto">A B</div>
41
<div style="width: -moz-max-content">A B</div>
41
<div style="width: -moz-max-content">A B</div>
42
<div style="width: -moz-min-content">A B</div>
42
<div style="width: -moz-min-content">A B</div>
43
<div style="width: -moz-fit-content">A B</div>
43
<div style="width: -moz-fit-content">A B</div>
44
<div style="width: -moz-available">A B</div>
44
<div style="width: -moz-available">A B</div>
45
<div style="width: 50px">A B</div>
45
<div style="width: 50px">A B</div>
46
<div style="width: 60%">A B</div>
46
<div style="width: 60%">A B</div>
47
47
48
</div></td>
48
</div></td>
49
49
50
<td id="bspadding"><div>
50
<td id="bspadding"><div>
51
<!-- -moz-box-sizing: padding-box -->
51
<!-- box-sizing: padding-box -->
52
<div style="width: auto">A B</div>
52
<div style="width: auto">A B</div>
53
<div style="width: -moz-max-content">A B</div>
53
<div style="width: -moz-max-content">A B</div>
54
<div style="width: -moz-min-content">A B</div>
54
<div style="width: -moz-min-content">A B</div>
55
<div style="width: -moz-fit-content">A B</div>
55
<div style="width: -moz-fit-content">A B</div>
56
<div style="width: -moz-available">A B</div>
56
<div style="width: -moz-available">A B</div>
57
<div style="width: 50px">A B</div>
57
<div style="width: 50px">A B</div>
58
<div style="width: 60%">A B</div>
58
<div style="width: 60%">A B</div>
59
59
60
</div></td>
60
</div></td>
61
61
62
<td id="bsborder"><div>
62
<td id="bsborder"><div>
63
<!-- -moz-box-sizing: border-box -->
63
<!-- box-sizing: border-box -->
64
<div style="width: auto">A B</div>
64
<div style="width: auto">A B</div>
65
<div style="width: -moz-max-content">A B</div>
65
<div style="width: -moz-max-content">A B</div>
66
<div style="width: -moz-min-content">A B</div>
66
<div style="width: -moz-min-content">A B</div>
67
<div style="width: -moz-fit-content">A B</div>
67
<div style="width: -moz-fit-content">A B</div>
68
<div style="width: -moz-available">A B</div>
68
<div style="width: -moz-available">A B</div>
69
<div style="width: 50px">A B</div>
69
<div style="width: 50px">A B</div>
70
<div style="width: 60%">A B</div>
70
<div style="width: 60%">A B</div>
71
71
(-)a/layout/reftests/box-properties/box-sizing-2-ref.html (-4 / +4 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0; }
10
    table { border-spacing: 0; margin: 0; }
11
    td { border: 1px solid; padding: 1px solid; }
11
    td { border: 1px solid; padding: 1px solid; }
12
12
 Lines 24-62    Link Here 
24
  </style>
24
  </style>
25
</head>
25
</head>
26
<body>
26
<body>
27
27
28
<table><tr>
28
<table><tr>
29
29
30
<td id="bscontent">
30
<td id="bscontent">
31
31
32
<!-- -moz-box-sizing: content-box -->
32
<!-- box-sizing: content-box -->
33
<table><tr><td><div>A B</div></td></tr></table>
33
<table><tr><td><div>A B</div></td></tr></table>
34
<table><tr><td><div>A B</div></td></tr></table>
34
<table><tr><td><div>A B</div></td></tr></table>
35
<table><tr><td><div>A<br>B</div></td></tr></table>
35
<table><tr><td><div>A<br>B</div></td></tr></table>
36
<table><tr><td><div>A B</div></td></tr></table>
36
<table><tr><td><div>A B</div></td></tr></table>
37
<table><tr><td><div>A B</div></td></tr></table>
37
<table><tr><td><div>A B</div></td></tr></table>
38
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
38
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
39
39
40
</td>
40
</td>
41
41
42
<td id="bspadding">
42
<td id="bspadding">
43
<!-- -moz-box-sizing: padding-box -->
43
<!-- box-sizing: padding-box -->
44
<table><tr><td><div>A B</div></td></tr></table>
44
<table><tr><td><div>A B</div></td></tr></table>
45
<table><tr><td><div>A B</div></td></tr></table>
45
<table><tr><td><div>A B</div></td></tr></table>
46
<table><tr><td><div>A<br>B</div></td></tr></table>
46
<table><tr><td><div>A<br>B</div></td></tr></table>
47
<table><tr><td><div>A B</div></td></tr></table>
47
<table><tr><td><div>A B</div></td></tr></table>
48
<table><tr><td><div>A B</div></td></tr></table>
48
<table><tr><td><div>A B</div></td></tr></table>
49
<table><tr><td><div style="width: 138px">A B</div></td></tr></table>
49
<table><tr><td><div style="width: 138px">A B</div></td></tr></table>
50
50
51
</td>
51
</td>
52
52
53
<td id="bsborder">
53
<td id="bsborder">
54
<!-- -moz-box-sizing: border-box -->
54
<!-- box-sizing: border-box -->
55
<table><tr><td><div>A B</div></td></tr></table>
55
<table><tr><td><div>A B</div></td></tr></table>
56
<table><tr><td><div>A B</div></td></tr></table>
56
<table><tr><td><div>A B</div></td></tr></table>
57
<table><tr><td><div>A<br>B</div></td></tr></table>
57
<table><tr><td><div>A<br>B</div></td></tr></table>
58
<table><tr><td><div>A B</div></td></tr></table>
58
<table><tr><td><div>A B</div></td></tr></table>
59
<table><tr><td><div>A B</div></td></tr></table>
59
<table><tr><td><div>A B</div></td></tr></table>
60
<table><tr><td><div style="width: 120px">A B</div></td></tr></table>
60
<table><tr><td><div style="width: 120px">A B</div></td></tr></table>
61
61
62
</td>
62
</td>
(-)a/layout/reftests/box-properties/box-sizing-2.html (-7 / +7 lines)
Line     Link Here 
 Lines 1-23    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0; }
10
    table { border-spacing: 0; margin: 0; }
11
    td { border: 1px solid; padding: 1px solid; }
11
    td { border: 1px solid; padding: 1px solid; }
12
12
13
    td#bscontent td > div { -moz-box-sizing: content-box; }
13
    td#bscontent td > div { box-sizing: content-box; }
14
    td#bspadding td > div { -moz-box-sizing: padding-box; }
14
    td#bspadding td > div { box-sizing: padding-box; }
15
    td#bsborder td > div { -moz-box-sizing: border-box; }
15
    td#bsborder td > div { box-sizing: border-box; }
16
16
17
    td td > div {
17
    td td > div {
18
      margin-left: 1px;
18
      margin-left: 1px;
19
      border-left: 2px solid;
19
      border-left: 2px solid;
20
      padding-left: 4px;
20
      padding-left: 4px;
21
      padding-right: 8px;
21
      padding-right: 8px;
22
      border-right: 16px solid;
22
      border-right: 16px solid;
23
      margin-right: 32px;
23
      margin-right: 32px;
 Lines 28-66    Link Here 
28
  </style>
28
  </style>
29
</head>
29
</head>
30
<body>
30
<body>
31
31
32
<table><tr>
32
<table><tr>
33
33
34
<td id="bscontent">
34
<td id="bscontent">
35
35
36
<!-- -moz-box-sizing: content-box -->
36
<!-- box-sizing: content-box -->
37
<table><tr><td><div style="width: auto">A B</div></td></tr></table>
37
<table><tr><td><div style="width: auto">A B</div></td></tr></table>
38
<table><tr><td><div style="width: -moz-max-content">A B</div></td></tr></table>
38
<table><tr><td><div style="width: -moz-max-content">A B</div></td></tr></table>
39
<table><tr><td><div style="width: -moz-min-content">A B</div></td></tr></table>
39
<table><tr><td><div style="width: -moz-min-content">A B</div></td></tr></table>
40
<table><tr><td><div style="width: -moz-fit-content">A B</div></td></tr></table>
40
<table><tr><td><div style="width: -moz-fit-content">A B</div></td></tr></table>
41
<table><tr><td><div style="width: -moz-available">A B</div></td></tr></table>
41
<table><tr><td><div style="width: -moz-available">A B</div></td></tr></table>
42
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
42
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
43
43
44
</td>
44
</td>
45
45
46
<td id="bspadding">
46
<td id="bspadding">
47
<!-- -moz-box-sizing: padding-box -->
47
<!-- box-sizing: padding-box -->
48
<table><tr><td><div style="width: auto">A B</div></td></tr></table>
48
<table><tr><td><div style="width: auto">A B</div></td></tr></table>
49
<table><tr><td><div style="width: -moz-max-content">A B</div></td></tr></table>
49
<table><tr><td><div style="width: -moz-max-content">A B</div></td></tr></table>
50
<table><tr><td><div style="width: -moz-min-content">A B</div></td></tr></table>
50
<table><tr><td><div style="width: -moz-min-content">A B</div></td></tr></table>
51
<table><tr><td><div style="width: -moz-fit-content">A B</div></td></tr></table>
51
<table><tr><td><div style="width: -moz-fit-content">A B</div></td></tr></table>
52
<table><tr><td><div style="width: -moz-available">A B</div></td></tr></table>
52
<table><tr><td><div style="width: -moz-available">A B</div></td></tr></table>
53
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
53
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
54
54
55
</td>
55
</td>
56
56
57
<td id="bsborder">
57
<td id="bsborder">
58
<!-- -moz-box-sizing: border-box -->
58
<!-- box-sizing: border-box -->
59
<table><tr><td><div style="width: auto">A B</div></td></tr></table>
59
<table><tr><td><div style="width: auto">A B</div></td></tr></table>
60
<table><tr><td><div style="width: -moz-max-content">A B</div></td></tr></table>
60
<table><tr><td><div style="width: -moz-max-content">A B</div></td></tr></table>
61
<table><tr><td><div style="width: -moz-min-content">A B</div></td></tr></table>
61
<table><tr><td><div style="width: -moz-min-content">A B</div></td></tr></table>
62
<table><tr><td><div style="width: -moz-fit-content">A B</div></td></tr></table>
62
<table><tr><td><div style="width: -moz-fit-content">A B</div></td></tr></table>
63
<table><tr><td><div style="width: -moz-available">A B</div></td></tr></table>
63
<table><tr><td><div style="width: -moz-available">A B</div></td></tr></table>
64
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
64
<table><tr><td><div style="width: 150px">A B</div></td></tr></table>
65
65
66
</td>
66
</td>
(-)a/layout/reftests/box-properties/box-sizing-3.html (-7 / +7 lines)
Line     Link Here 
 Lines 1-25    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0; }
10
    table { border-spacing: 0; margin: 0; }
11
    td { border: 1px solid; padding: 1px solid; }
11
    td { border: 1px solid; padding: 1px solid; }
12
12
13
    td > div { width: 100px; }
13
    td > div { width: 100px; }
14
14
15
    td#bscontent > div > div { -moz-box-sizing: content-box; }
15
    td#bscontent > div > div { box-sizing: content-box; }
16
    td#bspadding > div > div { -moz-box-sizing: padding-box; }
16
    td#bspadding > div > div { box-sizing: padding-box; }
17
    td#bsborder > div > div { -moz-box-sizing: border-box; }
17
    td#bsborder > div > div { box-sizing: border-box; }
18
18
19
    td > div > div {
19
    td > div > div {
20
      margin-left: 1%;
20
      margin-left: 1%;
21
      border-left: 2px solid;
21
      border-left: 2px solid;
22
      padding-left: 4%;
22
      padding-left: 4%;
23
      padding-right: 8%;
23
      padding-right: 8%;
24
      border-right: 16px solid;
24
      border-right: 16px solid;
25
      margin-right: 32%;
25
      margin-right: 32%;
 Lines 31-71    Link Here 
31
  </style>
31
  </style>
32
</head>
32
</head>
33
<body>
33
<body>
34
34
35
<table><tr>
35
<table><tr>
36
36
37
<td id="bscontent"><div>
37
<td id="bscontent"><div>
38
38
39
<!-- -moz-box-sizing: content-box -->
39
<!-- box-sizing: content-box -->
40
<div style="width: auto">A B</div>
40
<div style="width: auto">A B</div>
41
<div style="width: -moz-max-content">A B</div>
41
<div style="width: -moz-max-content">A B</div>
42
<div style="width: -moz-min-content">A B</div>
42
<div style="width: -moz-min-content">A B</div>
43
<div style="width: -moz-fit-content">A B</div>
43
<div style="width: -moz-fit-content">A B</div>
44
<div style="width: -moz-available">A B</div>
44
<div style="width: -moz-available">A B</div>
45
<div style="width: 50px">A B</div>
45
<div style="width: 50px">A B</div>
46
<div style="width: 60%">A B</div>
46
<div style="width: 60%">A B</div>
47
47
48
</div></td>
48
</div></td>
49
49
50
<td id="bspadding"><div>
50
<td id="bspadding"><div>
51
<!-- -moz-box-sizing: padding-box -->
51
<!-- box-sizing: padding-box -->
52
<div style="width: auto">A B</div>
52
<div style="width: auto">A B</div>
53
<div style="width: -moz-max-content">A B</div>
53
<div style="width: -moz-max-content">A B</div>
54
<div style="width: -moz-min-content">A B</div>
54
<div style="width: -moz-min-content">A B</div>
55
<div style="width: -moz-fit-content">A B</div>
55
<div style="width: -moz-fit-content">A B</div>
56
<div style="width: -moz-available">A B</div>
56
<div style="width: -moz-available">A B</div>
57
<div style="width: 50px">A B</div>
57
<div style="width: 50px">A B</div>
58
<div style="width: 60%">A B</div>
58
<div style="width: 60%">A B</div>
59
59
60
</div></td>
60
</div></td>
61
61
62
<td id="bsborder"><div>
62
<td id="bsborder"><div>
63
<!-- -moz-box-sizing: border-box -->
63
<!-- box-sizing: border-box -->
64
<div style="width: auto">A B</div>
64
<div style="width: auto">A B</div>
65
<div style="width: -moz-max-content">A B</div>
65
<div style="width: -moz-max-content">A B</div>
66
<div style="width: -moz-min-content">A B</div>
66
<div style="width: -moz-min-content">A B</div>
67
<div style="width: -moz-fit-content">A B</div>
67
<div style="width: -moz-fit-content">A B</div>
68
<div style="width: -moz-available">A B</div>
68
<div style="width: -moz-available">A B</div>
69
<div style="width: 50px">A B</div>
69
<div style="width: 50px">A B</div>
70
<div style="width: 60%">A B</div>
70
<div style="width: 60%">A B</div>
71
71
(-)a/layout/reftests/box-properties/box-sizing-4-ref.html (-4 / +4 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0 100px; }
10
    table { border-spacing: 0; margin: 0 100px; }
11
    td { border: 1px solid; padding: 1px solid; }
11
    td { border: 1px solid; padding: 1px solid; }
12
12
 Lines 32-72    Link Here 
32
  </style>
32
  </style>
33
</head>
33
</head>
34
<body>
34
<body>
35
35
36
<table><tr>
36
<table><tr>
37
37
38
<td id="bscontent"><div>
38
<td id="bscontent"><div>
39
39
40
<!-- -moz-box-sizing: content-box -->
40
<!-- box-sizing: content-box -->
41
<div>A B</div>
41
<div>A B</div>
42
<div>A B</div>
42
<div>A B</div>
43
<div>A<br>B</div>
43
<div>A<br>B</div>
44
<div>A B</div>
44
<div>A B</div>
45
<div style="width: 37px">A B</div>
45
<div style="width: 37px">A B</div>
46
<div style="width: 50px">A B</div>
46
<div style="width: 50px">A B</div>
47
<div style="width: 60px">A B</div>
47
<div style="width: 60px">A B</div>
48
48
49
</div></td>
49
</div></td>
50
50
51
<td id="bspadding"><div>
51
<td id="bspadding"><div>
52
<!-- -moz-box-sizing: padding-box -->
52
<!-- box-sizing: padding-box -->
53
<div>A B</div>
53
<div>A B</div>
54
<div>A B</div>
54
<div>A B</div>
55
<div>A<br>B</div>
55
<div>A<br>B</div>
56
<div>A B</div>
56
<div>A B</div>
57
<div style="width: 37px">A B</div>
57
<div style="width: 37px">A B</div>
58
<div style="width: 38px">A B</div>
58
<div style="width: 38px">A B</div>
59
<div style="width: 48px">A B</div>
59
<div style="width: 48px">A B</div>
60
60
61
</div></td>
61
</div></td>
62
62
63
<td id="bsborder"><div>
63
<td id="bsborder"><div>
64
<!-- -moz-box-sizing: border-box -->
64
<!-- box-sizing: border-box -->
65
<div>A B</div>
65
<div>A B</div>
66
<div>A B</div>
66
<div>A B</div>
67
<div>A<br>B</div>
67
<div>A<br>B</div>
68
<div>A B</div>
68
<div>A B</div>
69
<div style="width: 37px">A B</div>
69
<div style="width: 37px">A B</div>
70
<div style="width: 20px">A B</div>
70
<div style="width: 20px">A B</div>
71
<div style="width: 30px">A B</div>
71
<div style="width: 30px">A B</div>
72
72
(-)a/layout/reftests/box-properties/box-sizing-4.html (-7 / +7 lines)
Line     Link Here 
 Lines 1-26    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html lang="en-US">
2
<html lang="en-US">
3
<head>
3
<head>
4
  <title>test of -moz-box-sizing</title>
4
  <title>test of box-sizing</title>
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
  <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
6
  <meta http-equiv="Content-Style-Type" content="text/css">
7
  <style type="text/css">
7
  <style type="text/css">
8
8
9
    body { font-size: 10px; line-height: 1; }
9
    body { font-size: 10px; line-height: 1; }
10
    table { border-spacing: 0; margin: 0 100px; }
10
    table { border-spacing: 0; margin: 0 100px; }
11
    td { border: 1px solid; padding: 1px solid; }
11
    td { border: 1px solid; padding: 1px solid; }
12
12
13
    td > div { width: 100px; height: 350px;
13
    td > div { width: 100px; height: 350px;
14
               direction: rtl; position: relative; }
14
               direction: rtl; position: relative; }
15
15
16
    td#bscontent > div > div { -moz-box-sizing: content-box; }
16
    td#bscontent > div > div { box-sizing: content-box; }
17
    td#bspadding > div > div { -moz-box-sizing: padding-box; }
17
    td#bspadding > div > div { box-sizing: padding-box; }
18
    td#bsborder > div > div { -moz-box-sizing: border-box; }
18
    td#bsborder > div > div { box-sizing: border-box; }
19
19
20
    td > div > div {
20
    td > div > div {
21
      margin-left: 1px;
21
      margin-left: 1px;
22
      border-left: 2px solid;
22
      border-left: 2px solid;
23
      padding-left: 4px;
23
      padding-left: 4px;
24
      padding-right: 8px;
24
      padding-right: 8px;
25
      border-right: 16px solid;
25
      border-right: 16px solid;
26
      margin-right: 32px;
26
      margin-right: 32px;
 Lines 43-83    Link Here 
43
  </style>
43
  </style>
44
</head>
44
</head>
45
<body>
45
<body>
46
46
47
<table><tr>
47
<table><tr>
48
48
49
<td id="bscontent"><div>
49
<td id="bscontent"><div>
50
50
51
<!-- -moz-box-sizing: content-box -->
51
<!-- box-sizing: content-box -->
52
<div style="width: auto">A B</div>
52
<div style="width: auto">A B</div>
53
<div style="width: -moz-max-content">A B</div>
53
<div style="width: -moz-max-content">A B</div>
54
<div style="width: -moz-min-content">A B</div>
54
<div style="width: -moz-min-content">A B</div>
55
<div style="width: -moz-fit-content">A B</div>
55
<div style="width: -moz-fit-content">A B</div>
56
<div style="width: -moz-available">A B</div>
56
<div style="width: -moz-available">A B</div>
57
<div style="width: 50px">A B</div>
57
<div style="width: 50px">A B</div>
58
<div style="width: 60%">A B</div>
58
<div style="width: 60%">A B</div>
59
59
60
</div></td>
60
</div></td>
61
61
62
<td id="bspadding"><div>
62
<td id="bspadding"><div>
63
<!-- -moz-box-sizing: padding-box -->
63
<!-- box-sizing: padding-box -->
64
<div style="width: auto">A B</div>
64
<div style="width: auto">A B</div>
65
<div style="width: -moz-max-content">A B</div>
65
<div style="width: -moz-max-content">A B</div>
66
<div style="width: -moz-min-content">A B</div>
66
<div style="width: -moz-min-content">A B</div>
67
<div style="width: -moz-fit-content">A B</div>
67
<div style="width: -moz-fit-content">A B</div>
68
<div style="width: -moz-available">A B</div>
68
<div style="width: -moz-available">A B</div>
69
<div style="width: 50px">A B</div>
69
<div style="width: 50px">A B</div>
70
<div style="width: 60%">A B</div>
70
<div style="width: 60%">A B</div>
71
71
72
</div></td>
72
</div></td>
73
73
74
<td id="bsborder"><div>
74
<td id="bsborder"><div>
75
<!-- -moz-box-sizing: border-box -->
75
<!-- box-sizing: border-box -->
76
<div style="width: auto">A B</div>
76
<div style="width: auto">A B</div>
77
<div style="width: -moz-max-content">A B</div>
77
<div style="width: -moz-max-content">A B</div>
78
<div style="width: -moz-min-content">A B</div>
78
<div style="width: -moz-min-content">A B</div>
79
<div style="width: -moz-fit-content">A B</div>
79
<div style="width: -moz-fit-content">A B</div>
80
<div style="width: -moz-available">A B</div>
80
<div style="width: -moz-available">A B</div>
81
<div style="width: 50px">A B</div>
81
<div style="width: 50px">A B</div>
82
<div style="width: 60%">A B</div>
82
<div style="width: 60%">A B</div>
83
83
(-)a/layout/reftests/box-properties/box-sizing-minmax-height.html (-1 lines)
Line     Link Here 
 Lines 13-29    Link Here 
13
        }
13
        }
14
        
14
        
15
	.min { min-height:37px; }
15
	.min { min-height:37px; }
16
	.max { max-height:37px; }
16
	.max { max-height:37px; }
17
	.hidden { overflow:hidden;  }
17
	.hidden { overflow:hidden;  }
18
18
19
        .box {
19
        .box {
20
            box-sizing: border-box;
20
            box-sizing: border-box;
21
            -moz-box-sizing: border-box;
22
        }
21
        }
23
22
24
        .test1 {
23
        .test1 {
25
            border:1px solid black;
24
            border:1px solid black;
26
        }
25
        }
27
26
28
        .test2 {
27
        .test2 {
29
            padding:3px;
28
            padding:3px;
(-)a/layout/reftests/box-properties/box-sizing-minmax-width.html (-1 lines)
Line     Link Here 
 Lines 13-29    Link Here 
13
        }
13
        }
14
        
14
        
15
	.min { min-width:100px; }
15
	.min { min-width:100px; }
16
	.max { max-width:100px; }
16
	.max { max-width:100px; }
17
	.hidden { overflow:hidden; }
17
	.hidden { overflow:hidden; }
18
18
19
        .box {
19
        .box {
20
            box-sizing: border-box;
20
            box-sizing: border-box;
21
            -moz-box-sizing: border-box;
22
        }
21
        }
23
22
24
        .test1 {
23
        .test1 {
25
            border:10px solid black;
24
            border:10px solid black;
26
        }
25
        }
27
26
28
        .test2 {
27
        .test2 {
29
            padding:10px;
28
            padding:10px;
(-)a/layout/reftests/box-properties/box-sizing-mozbox-minmax-height-ref.html (-2 lines)
Line     Link Here 
 Lines 13-35   div { padding:5px; } Link Here 
13
hbox {
13
hbox {
14
  display:-moz-box;
14
  display:-moz-box;
15
  border-top:3px solid;
15
  border-top:3px solid;
16
  border-bottom:2px solid;
16
  border-bottom:2px solid;
17
  padding-bottom:4px;
17
  padding-bottom:4px;
18
  background:lime;
18
  background:lime;
19
19
20
  box-sizing:content-box;
20
  box-sizing:content-box;
21
  -moz-box-sizing:content-box;
22
}
21
}
23
22
24
.cb {
23
.cb {
25
  background:pink;
24
  background:pink;
26
  box-sizing:border-box;
25
  box-sizing:border-box;
27
  -moz-box-sizing:border-box;
28
}
26
}
29
27
30
.pb {
28
.pb {
31
  background:cyan;
29
  background:cyan;
32
}
30
}
33
31
34
    </style>
32
    </style>
35
</head>
33
</head>
(-)a/layout/reftests/box-properties/box-sizing-mozbox-minmax-height.html (-3 lines)
Line     Link Here 
 Lines 12-40   div { padding:5px; } Link Here 
12
12
13
hbox {
13
hbox {
14
  display:-moz-box;
14
  display:-moz-box;
15
  border-top:3px solid;
15
  border-top:3px solid;
16
  border-bottom:2px solid;
16
  border-bottom:2px solid;
17
  padding-bottom:4px;
17
  padding-bottom:4px;
18
  height:auto;
18
  height:auto;
19
  box-sizing:border-box;
19
  box-sizing:border-box;
20
  -moz-box-sizing:border-box;
21
  background:lime;
20
  background:lime;
22
}
21
}
23
22
24
.cb {
23
.cb {
25
  box-sizing:content-box;
24
  box-sizing:content-box;
26
  -moz-box-sizing:content-box;
27
  background:pink;
25
  background:pink;
28
}
26
}
29
27
30
.pb {
28
.pb {
31
  box-sizing:padding-box;
29
  box-sizing:padding-box;
32
  -moz-box-sizing:padding-box;
33
  background:cyan;
30
  background:cyan;
34
}
31
}
35
32
36
    </style>
33
    </style>
37
</head>
34
</head>
38
<body>
35
<body>
39
36
40
37
(-)a/layout/reftests/box-properties/width-special-values-block.html (-3 / +3 lines)
Line     Link Here 
 Lines 20-38    Link Here 
20
      margin-bottom: 1px;
20
      margin-bottom: 1px;
21
    }
21
    }
22
22
23
    div.v1 { width: -moz-max-content; }
23
    div.v1 { width: -moz-max-content; }
24
    div.v2 { width: -moz-min-content; }
24
    div.v2 { width: -moz-min-content; }
25
    div.v3 { width: -moz-fit-content; }
25
    div.v3 { width: -moz-fit-content; }
26
    div.v4 { width: -moz-available; }
26
    div.v4 { width: -moz-available; }
27
27
28
    div.s1 { -moz-box-sizing: content; }
28
    div.s1 { box-sizing: content; }
29
    div.s2 { -moz-box-sizing: padding; }
29
    div.s2 { box-sizing: padding; }
30
    div.s3 { -moz-box-sizing: border; }
30
    div.s3 { box-sizing: border; }
31
31
32
  </style>
32
  </style>
33
</head>
33
</head>
34
<body style="width: 100px">
34
<body style="width: 100px">
35
<div class="v1 s1">A B</div>
35
<div class="v1 s1">A B</div>
36
<div class="v1 s2">A B</div>
36
<div class="v1 s2">A B</div>
37
<div class="v1 s3">A B</div>
37
<div class="v1 s3">A B</div>
38
<div class="v2 s1">A B</div>
38
<div class="v2 s1">A B</div>
(-)a/layout/reftests/box-properties/width-special-values-float.html (-3 / +3 lines)
Line     Link Here 
 Lines 22-40    Link Here 
22
      margin-bottom: 1px;
22
      margin-bottom: 1px;
23
    }
23
    }
24
24
25
    div.v1 { width: -moz-max-content; }
25
    div.v1 { width: -moz-max-content; }
26
    div.v2 { width: -moz-min-content; }
26
    div.v2 { width: -moz-min-content; }
27
    div.v3 { width: -moz-fit-content; }
27
    div.v3 { width: -moz-fit-content; }
28
    div.v4 { width: -moz-available; }
28
    div.v4 { width: -moz-available; }
29
29
30
    div.s1 { -moz-box-sizing: content; }
30
    div.s1 { box-sizing: content; }
31
    div.s2 { -moz-box-sizing: padding; }
31
    div.s2 { box-sizing: padding; }
32
    div.s3 { -moz-box-sizing: border; }
32
    div.s3 { box-sizing: border; }
33
33
34
  </style>
34
  </style>
35
</head>
35
</head>
36
<body style="width: 100px">
36
<body style="width: 100px">
37
<div class="v1 s1">A B</div>
37
<div class="v1 s1">A B</div>
38
<div class="v1 s2">A B</div>
38
<div class="v1 s2">A B</div>
39
<div class="v1 s3">A B</div>
39
<div class="v1 s3">A B</div>
40
<div class="v2 s1">A B</div>
40
<div class="v2 s1">A B</div>
(-)a/layout/reftests/box-properties/width-special-values-image-block-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 9-25    Link Here 
9
    img {
9
    img {
10
      display: block;
10
      display: block;
11
      margin-left: 1px;
11
      margin-left: 1px;
12
      border-left: 2px solid;
12
      border-left: 2px solid;
13
      padding-left: 4px;
13
      padding-left: 4px;
14
      padding-right: 8px;
14
      padding-right: 8px;
15
      border-right: 16px solid;
15
      border-right: 16px solid;
16
      margin-right: 32px;
16
      margin-right: 32px;
17
      -moz-box-sizing: content;
17
      box-sizing: content;
18
      margin-bottom: 1px;
18
      margin-bottom: 1px;
19
    }
19
    }
20
20
21
    img.v1 {  }
21
    img.v1 {  }
22
    img.v2 {  }
22
    img.v2 {  }
23
    img.v3 {  }
23
    img.v3 {  }
24
    img.v4 { width: 37px; }
24
    img.v4 { width: 37px; }
25
25
(-)a/layout/reftests/box-properties/width-special-values-image-block.html (-3 / +3 lines)
Line     Link Here 
 Lines 17-35    Link Here 
17
      margin-bottom: 1px;
17
      margin-bottom: 1px;
18
    }
18
    }
19
19
20
    img.v1 { width: -moz-max-content; }
20
    img.v1 { width: -moz-max-content; }
21
    img.v2 { width: -moz-min-content; }
21
    img.v2 { width: -moz-min-content; }
22
    img.v3 { width: -moz-fit-content; }
22
    img.v3 { width: -moz-fit-content; }
23
    img.v4 { width: -moz-available; }
23
    img.v4 { width: -moz-available; }
24
24
25
    img.s1 { -moz-box-sizing: content; }
25
    img.s1 { box-sizing: content; }
26
    img.s2 { -moz-box-sizing: padding; }
26
    img.s2 { box-sizing: padding; }
27
    img.s3 { -moz-box-sizing: border; }
27
    img.s3 { box-sizing: border; }
28
28
29
  </style>
29
  </style>
30
</head>
30
</head>
31
<body style="width: 100px">
31
<body style="width: 100px">
32
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s1">
32
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s1">
33
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s2">
33
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s2">
34
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s3">
34
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s3">
35
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v2 s1">
35
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v2 s1">
(-)a/layout/reftests/box-properties/width-special-values-image-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 8-24    Link Here 
8
8
9
    img {
9
    img {
10
      margin-left: 1px;
10
      margin-left: 1px;
11
      border-left: 2px solid;
11
      border-left: 2px solid;
12
      padding-left: 4px;
12
      padding-left: 4px;
13
      padding-right: 8px;
13
      padding-right: 8px;
14
      border-right: 16px solid;
14
      border-right: 16px solid;
15
      margin-right: 32px;
15
      margin-right: 32px;
16
      -moz-box-sizing: content;
16
      box-sizing: content;
17
      margin-bottom: 1px;
17
      margin-bottom: 1px;
18
    }
18
    }
19
19
20
    img.v1 {  }
20
    img.v1 {  }
21
    img.v2 {  }
21
    img.v2 {  }
22
    img.v3 {  }
22
    img.v3 {  }
23
    img.v4 { width: 37px; }
23
    img.v4 { width: 37px; }
24
24
(-)a/layout/reftests/box-properties/width-special-values-image.html (-3 / +3 lines)
Line     Link Here 
 Lines 16-34    Link Here 
16
      margin-bottom: 1px;
16
      margin-bottom: 1px;
17
    }
17
    }
18
18
19
    img.v1 { width: -moz-max-content; }
19
    img.v1 { width: -moz-max-content; }
20
    img.v2 { width: -moz-min-content; }
20
    img.v2 { width: -moz-min-content; }
21
    img.v3 { width: -moz-fit-content; }
21
    img.v3 { width: -moz-fit-content; }
22
    img.v4 { width: -moz-available; }
22
    img.v4 { width: -moz-available; }
23
23
24
    img.s1 { -moz-box-sizing: content; }
24
    img.s1 { box-sizing: content; }
25
    img.s2 { -moz-box-sizing: padding; }
25
    img.s2 { box-sizing: padding; }
26
    img.s3 { -moz-box-sizing: border; }
26
    img.s3 { box-sizing: border; }
27
27
28
  </style>
28
  </style>
29
</head>
29
</head>
30
<body style="width: 100px">
30
<body style="width: 100px">
31
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s1">
31
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s1">
32
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s2">
32
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s2">
33
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s3">
33
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v1 s3">
34
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v2 s1">
34
<img src="../pixel-rounding/green-25x25.png" alt="[]" class="v2 s1">
(-)a/layout/reftests/box-shadow/611574-1-ref.html (-6 / +6 lines)
Line     Link Here 
 Lines 13-61   button,span,fieldset { background-color: Link Here 
13
<p><button>2px Blur Radius</button>
13
<p><button>2px Blur Radius</button>
14
<p><button>2px Blur Radius</button>
14
<p><button>2px Blur Radius</button>
15
<p><button>2px Blur Radius</button>
15
<p><button>2px Blur Radius</button>
16
<p><button>2px Blur Radius</button>
16
<p><button>2px Blur Radius</button>
17
<p><button>2px Blur Radius</button>
17
<p><button>2px Blur Radius</button>
18
18
19
<p><span>No Blur Radius</span>
19
<p><span>No Blur Radius</span>
20
<p><span>No Blur Radius</span>
20
<p><span>No Blur Radius</span>
21
<p><span style="-moz-box-sizing:border-box; ">No Blur Radius</span>
21
<p><span style="box-sizing:border-box;">No Blur Radius</span>
22
<p><span>No Blur Radius</span>
22
<p><span>No Blur Radius</span>
23
<p><span>No Blur Radius</span>
23
<p><span>No Blur Radius</span>
24
24
25
<p><span>2px Blur Radius</span>
25
<p><span>2px Blur Radius</span>
26
<p><span>2px Blur Radius</span>
26
<p><span>2px Blur Radius</span>
27
<p><span style="-moz-box-sizing:border-box; ">2px Blur Radius</span>
27
<p><span style="box-sizing:border-box;">2px Blur Radius</span>
28
<p><span>2px Blur Radius</span>
28
<p><span>2px Blur Radius</span>
29
<p><span>2px Blur Radius</span>
29
<p><span>2px Blur Radius</span>
30
30
31
<p><fieldset>No Blur Radius</fieldset>
31
<p><fieldset>No Blur Radius</fieldset>
32
<p><fieldset><legend>No</legend> Blur Radius</fieldset>
32
<p><fieldset><legend>No</legend> Blur Radius</fieldset>
33
<p><fieldset>No Blur Radius</fieldset>
33
<p><fieldset>No Blur Radius</fieldset>
34
<p><fieldset style="-moz-box-sizing:border-box; ">No Blur Radius</fieldset>
34
<p><fieldset style="box-sizing:border-box;">No Blur Radius</fieldset>
35
<p><fieldset>No Blur Radius</fieldset>
35
<p><fieldset>No Blur Radius</fieldset>
36
<p><fieldset>No Blur Radius</fieldset>
36
<p><fieldset>No Blur Radius</fieldset>
37
37
38
<p><fieldset>2px Blur Radius</fieldset>
38
<p><fieldset>2px Blur Radius</fieldset>
39
<p><fieldset><legend>2px</legend> Blur Radius</fieldset>
39
<p><fieldset><legend>2px</legend> Blur Radius</fieldset>
40
<p><fieldset>2px Blur Radius</fieldset>
40
<p><fieldset>2px Blur Radius</fieldset>
41
<p><fieldset style="-moz-box-sizing:border-box; ">2px Blur Radius</fieldset>
41
<p><fieldset style="box-sizing:border-box;">2px Blur Radius</fieldset>
42
<p><fieldset>2px Blur Radius</fieldset>
42
<p><fieldset>2px Blur Radius</fieldset>
43
<p><fieldset>2px Blur Radius</fieldset>
43
<p><fieldset>2px Blur Radius</fieldset>
44
44
45
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
45
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
46
<p><fieldset style="display:inline;"><legend>No</legend> Blur Radius</fieldset>
46
<p><fieldset style="display:inline;"><legend>No</legend> Blur Radius</fieldset>
47
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
47
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
48
<p><fieldset style="display:inline; -moz-box-sizing:border-box; ">No Blur Radius</fieldset>
48
<p><fieldset style="display:inline; box-sizing:border-box;">No Blur Radius</fieldset>
49
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
49
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
50
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
50
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
51
51
52
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
52
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
53
<p><fieldset style="display:inline;"><legend>2px</legend> Blur Radius</fieldset>
53
<p><fieldset style="display:inline;"><legend>2px</legend> Blur Radius</fieldset>
54
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
54
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
55
<p><fieldset style="display:inline; -moz-box-sizing:border-box; ">2px Blur Radius</fieldset>
55
<p><fieldset style="display:inline; box-sizing:border-box;">2px Blur Radius</fieldset>
56
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
56
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
57
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
57
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
58
58
59
</div>
59
</div>
60
</body>
60
</body>
61
</html>
61
</html>
(-)a/layout/reftests/box-shadow/611574-1.html (-6 / +6 lines)
Line     Link Here 
 Lines 13-61   button,span,fieldset { background-color: Link Here 
13
<p><button style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</button>
13
<p><button style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</button>
14
<p><button style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</button>
14
<p><button style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</button>
15
<p><button style="box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</button>
15
<p><button style="box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</button>
16
<p><button style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</button>
16
<p><button style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</button>
17
<p><button style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</button>
17
<p><button style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</button>
18
18
19
<p><span style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</span>
19
<p><span style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</span>
20
<p><span style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</span>
20
<p><span style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</span>
21
<p><span style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</span>
21
<p><span style="box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</span>
22
<p><span style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</span>
22
<p><span style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</span>
23
<p><span style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</span>
23
<p><span style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</span>
24
24
25
<p><span style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</span>
25
<p><span style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</span>
26
<p><span style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</span>
26
<p><span style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</span>
27
<p><span style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</span>
27
<p><span style="box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</span>
28
<p><span style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</span>
28
<p><span style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</span>
29
<p><span style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</span>
29
<p><span style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</span>
30
30
31
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
31
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
32
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
32
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
33
<p><fieldset style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
33
<p><fieldset style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
34
<p><fieldset style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
34
<p><fieldset style="box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
35
<p><fieldset style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
35
<p><fieldset style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
36
<p><fieldset style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
36
<p><fieldset style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
37
37
38
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
38
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
39
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
39
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
40
<p><fieldset style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
40
<p><fieldset style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
41
<p><fieldset style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
41
<p><fieldset style="box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
42
<p><fieldset style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
42
<p><fieldset style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
43
<p><fieldset style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
43
<p><fieldset style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
44
44
45
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
45
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
46
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
46
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
47
<p><fieldset style="display:inline; box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
47
<p><fieldset style="display:inline; box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
48
<p><fieldset style="display:inline;  -moz-box-sizing:border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
48
<p><fieldset style="display:inline; box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
49
<p><fieldset style="display:inline; box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
49
<p><fieldset style="display:inline; box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
50
<p><fieldset style="display:inline; box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
50
<p><fieldset style="display:inline; box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
51
51
52
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
52
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
53
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
53
<p><fieldset style="display:inline; box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
54
<p><fieldset style="display:inline; box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
54
<p><fieldset style="display:inline; box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
55
<p><fieldset style="display:inline;  -moz-box-sizing:border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
55
<p><fieldset style="display:inline; box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
56
<p><fieldset style="display:inline; box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
56
<p><fieldset style="display:inline; box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
57
<p><fieldset style="display:inline; box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
57
<p><fieldset style="display:inline; box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
58
58
59
</div>
59
</div>
60
</body>
60
</body>
61
</html>
61
</html>
(-)a/layout/reftests/box-shadow/611574-2-ref.html (-6 / +6 lines)
Line     Link Here 
 Lines 15-64   button,span,fieldset { border-radius: 7p Link Here 
15
<p><button>2px Blur Radius</button>
15
<p><button>2px Blur Radius</button>
16
<p><button>2px Blur Radius</button>
16
<p><button>2px Blur Radius</button>
17
<p><button>2px Blur Radius</button>
17
<p><button>2px Blur Radius</button>
18
<p><button>2px Blur Radius</button>
18
<p><button>2px Blur Radius</button>
19
19
20
<!--  XXX TODO: SPAN does not work due to differences in anti-aliasing with the test
20
<!--  XXX TODO: SPAN does not work due to differences in anti-aliasing with the test
21
<p><span>No Blur Radius</span>
21
<p><span>No Blur Radius</span>
22
<p><span>No Blur Radius</span>
22
<p><span>No Blur Radius</span>
23
<p><span style="-moz-box-sizing:border-box; ">No Blur Radius</span>
23
<p><span style="box-sizing:border-box;">No Blur Radius</span>
24
<p><span>No Blur Radius</span>
24
<p><span>No Blur Radius</span>
25
<p><span>No Blur Radius</span>
25
<p><span>No Blur Radius</span>
26
26
27
<p><span>2px Blur Radius</span>
27
<p><span>2px Blur Radius</span>
28
<p><span>2px Blur Radius</span>
28
<p><span>2px Blur Radius</span>
29
<p><span style="-moz-box-sizing:border-box; ">2px Blur Radius</span>
29
<p><span style="box-sizing:border-box;">2px Blur Radius</span>
30
<p><span>2px Blur Radius</span>
30
<p><span>2px Blur Radius</span>
31
<p><span>2px Blur Radius</span>
31
<p><span>2px Blur Radius</span>
32
-->
32
-->
33
33
34
<p><fieldset>No Blur Radius</fieldset>
34
<p><fieldset>No Blur Radius</fieldset>
35
<p><fieldset><legend>No</legend> Blur Radius</fieldset>
35
<p><fieldset><legend>No</legend> Blur Radius</fieldset>
36
<p><fieldset>No Blur Radius</fieldset>
36
<p><fieldset>No Blur Radius</fieldset>
37
<p><fieldset style="-moz-box-sizing:border-box; ">No Blur Radius</fieldset>
37
<p><fieldset style="box-sizing:border-box;">No Blur Radius</fieldset>
38
<p><fieldset>No Blur Radius</fieldset>
38
<p><fieldset>No Blur Radius</fieldset>
39
<p><fieldset>No Blur Radius</fieldset>
39
<p><fieldset>No Blur Radius</fieldset>
40
40
41
<p><fieldset>2px Blur Radius</fieldset>
41
<p><fieldset>2px Blur Radius</fieldset>
42
<p><fieldset><legend>2px</legend> Blur Radius</fieldset>
42
<p><fieldset><legend>2px</legend> Blur Radius</fieldset>
43
<p><fieldset>2px Blur Radius</fieldset>
43
<p><fieldset>2px Blur Radius</fieldset>
44
<p><fieldset style="-moz-box-sizing:border-box; ">2px Blur Radius</fieldset>
44
<p><fieldset style="box-sizing:border-box;">2px Blur Radius</fieldset>
45
<p><fieldset>2px Blur Radius</fieldset>
45
<p><fieldset>2px Blur Radius</fieldset>
46
<p><fieldset>2px Blur Radius</fieldset>
46
<p><fieldset>2px Blur Radius</fieldset>
47
47
48
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
48
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
49
<p><fieldset style="display:inline;"><legend>No</legend> Blur Radius</fieldset>
49
<p><fieldset style="display:inline;"><legend>No</legend> Blur Radius</fieldset>
50
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
50
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
51
<p><fieldset style="display:inline; -moz-box-sizing:border-box; ">No Blur Radius</fieldset>
51
<p><fieldset style="display:inline; box-sizing:border-box;">No Blur Radius</fieldset>
52
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
52
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
53
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
53
<p><fieldset style="display:inline;">No Blur Radius</fieldset>
54
54
55
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
55
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
56
<p><fieldset style="display:inline;"><legend>2px</legend> Blur Radius</fieldset>
56
<p><fieldset style="display:inline;"><legend>2px</legend> Blur Radius</fieldset>
57
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
57
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
58
<p><fieldset style="display:inline; -moz-box-sizing:border-box; ">2px Blur Radius</fieldset>
58
<p><fieldset style="display:inline; box-sizing:border-box;">2px Blur Radius</fieldset>
59
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
59
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
60
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
60
<p><fieldset style="display:inline;">2px Blur Radius</fieldset>
61
61
62
</div>
62
</div>
63
</body>
63
</body>
64
</html>
64
</html>
(-)a/layout/reftests/box-shadow/611574-2.html (-6 / +6 lines)
Line     Link Here 
 Lines 15-66   button,span,fieldset { border-radius: 7p Link Here 
15
<p><button style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</button>
15
<p><button style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</button>
16
<p><button style="box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</button>
16
<p><button style="box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</button>
17
<p><button style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</button>
17
<p><button style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</button>
18
<p><button style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</button>
18
<p><button style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</button>
19
19
20
<!--  XXX TODO: SPAN does not work due to differences in anti-aliasing with the reference
20
<!--  XXX TODO: SPAN does not work due to differences in anti-aliasing with the reference
21
<p><span style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</span>
21
<p><span style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</span>
22
<p><span style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</span>
22
<p><span style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</span>
23
<p><span style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</span>
23
<p><span style="box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</span>
24
<p><span style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</span>
24
<p><span style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</span>
25
<p><span style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</span>
25
<p><span style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</span>
26
26
27
<p><span style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</span>
27
<p><span style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</span>
28
<p><span style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</span>
28
<p><span style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</span>
29
<p><span style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</span>
29
<p><span style="box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</span>
30
<p><span style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</span>
30
<p><span style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</span>
31
<p><span style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</span>
31
<p><span style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</span>
32
-->
32
-->
33
33
34
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
34
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
35
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
35
<p><fieldset style="box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
36
<p><fieldset style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
36
<p><fieldset style="box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
37
<p><fieldset style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
37
<p><fieldset style="box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
38
<p><fieldset style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
38
<p><fieldset style="box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
39
<p><fieldset style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
39
<p><fieldset style="box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
40
40
41
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
41
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
42
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
42
<p><fieldset style="box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
43
<p><fieldset style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
43
<p><fieldset style="box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
44
<p><fieldset style="-moz-box-sizing:border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
44
<p><fieldset style="box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
45
<p><fieldset style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
45
<p><fieldset style="box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
46
<p><fieldset style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
46
<p><fieldset style="box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
47
47
48
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
48
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 0 #0F0;">No Blur Radius</fieldset>
49
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
49
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 0 #0F0;"><legend>No</legend> Blur Radius</fieldset>
50
<p><fieldset style="display:inline;box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
50
<p><fieldset style="display:inline;box-shadow: inset  20px 10px 0 #0F0;">No Blur Radius</fieldset>
51
<p><fieldset style="display:inline;-moz-box-sizing:border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
51
<p><fieldset style="display:inline;box-sizing: border-box; box-shadow: inset -20px 10px 0 4px #0F0;">No Blur Radius</fieldset>
52
<p><fieldset style="display:inline;box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
52
<p><fieldset style="display:inline;box-shadow: inset 200px 100px 0 4px #0F0;">No Blur Radius</fieldset>
53
<p><fieldset style="display:inline;box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
53
<p><fieldset style="display:inline;box-shadow: inset 200px -100px 0 4px #0F0;">No Blur Radius</fieldset>
54
54
55
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
55
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 2px #0F0;">2px Blur Radius</fieldset>
56
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
56
<p><fieldset style="display:inline;box-shadow: inset -20px 10px 2px #0F0;"><legend>2px</legend> Blur Radius</fieldset>
57
<p><fieldset style="display:inline;box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
57
<p><fieldset style="display:inline;box-shadow: inset  20px 10px 2px #0F0;">2px Blur Radius</fieldset>
58
<p><fieldset style="display:inline;-moz-box-sizing:border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
58
<p><fieldset style="display:inline;box-sizing: border-box; box-shadow: inset -20px 10px 2px 4px #0F0;">2px Blur Radius</fieldset>
59
<p><fieldset style="display:inline;box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
59
<p><fieldset style="display:inline;box-shadow: inset 200px 100px 2px 4px #0F0;">2px Blur Radius</fieldset>
60
<p><fieldset style="display:inline;box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
60
<p><fieldset style="display:inline;box-shadow: inset 200px -100px 2px 4px #0F0;">2px Blur Radius</fieldset>
61
61
62
</div>
62
</div>
63
63
64
64
65
</body>
65
</body>
66
</html>
66
</html>
(-)a/layout/reftests/box-sizing/computed-size-reporting-ref.html (-2 / +2 lines)
Line     Link Here 
 Lines 1-23    Link Here 
1
<!DOCTYPE HTML>
1
<!DOCTYPE HTML>
2
<meta charset=utf-8>
2
<meta charset=utf-8>
3
<title>Bug 520992</title>
3
<title>Bug 520992</title>
4
4
5
<style>
5
<style>
6
  #borderBox {
6
  #borderBox {
7
    background:gold;
7
    background:gold;
8
    height:100px;
8
    height:100px;
9
    -moz-box-sizing:border-box;
9
    box-sizing:border-box;
10
  }
10
  }
11
11
12
  #paddingBox {
12
  #paddingBox {
13
    background:gold;
13
    background:gold;
14
    height:100px;
14
    height:100px;
15
    -moz-box-sizing:padding-box;
15
    box-sizing:padding-box;
16
  }
16
  }
17
17
18
</style>
18
</style>
19
19
20
<div id="borderBox"></div>
20
<div id="borderBox"></div>
21
<p id="heightWidth1"></p>
21
<p id="heightWidth1"></p>
22
22
23
<div id="paddingBox"></div>
23
<div id="paddingBox"></div>
(-)a/layout/reftests/box-sizing/computed-size-reporting.html (-2 / +2 lines)
Line     Link Here 
 Lines 1-24    Link Here 
1
<!DOCTYPE HTML>
1
<!DOCTYPE HTML>
2
<meta charset=utf-8>
2
<meta charset=utf-8>
3
<title>Bug 520992</title>
3
<title>Bug 520992</title>
4
4
5
<style>
5
<style>
6
  #borderBox {
6
  #borderBox {
7
    background:gold;
7
    background:gold;
8
    height:100px;
8
    height:100px;
9
    -moz-box-sizing:border-box;
9
    box-sizing:border-box;
10
    border: 20px solid gold;
10
    border: 20px solid gold;
11
  }
11
  }
12
12
13
  #paddingBox {
13
  #paddingBox {
14
    background:gold;
14
    background:gold;
15
    height:100px;
15
    height:100px;
16
    -moz-box-sizing:padding-box;
16
    box-sizing:padding-box;
17
    padding: 20px;
17
    padding: 20px;
18
  }
18
  }
19
19
20
</style>
20
</style>
21
21
22
<div id="borderBox"></div>
22
<div id="borderBox"></div>
23
<p id="heightWidth1"></p>
23
<p id="heightWidth1"></p>
24
24
(-)a/layout/reftests/box-sizing/intrinsic-1a.html (-1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<body>
2
<body>
3
  <div style="display: inline-block; background: blue">
3
  <div style="display: inline-block; background: blue">
4
    <img src="lime100x100.png"
4
    <img src="lime100x100.png"
5
         style="height: 200px; display: block; visibility: hidden;
5
         style="height: 200px; display: block; visibility: hidden;
6
                padding: 30px;
6
                padding: 30px;
7
                -moz-box-sizing: padding-box;
8
                box-sizing: padding-box;">
7
                box-sizing: padding-box;">
9
  </div>
8
  </div>
10
</body>
9
</body>
(-)a/layout/reftests/box-sizing/intrinsic-1b.html (-1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<body>
2
<body>
3
  <div style="display: inline-block; background: blue; height: 200px">
3
  <div style="display: inline-block; background: blue; height: 200px">
4
    <img src="lime100x100.png"
4
    <img src="lime100x100.png"
5
         style="height: 200px; display: block; visibility: hidden;
5
         style="height: 200px; display: block; visibility: hidden;
6
                padding: 15% 30px;
6
                padding: 15% 30px;
7
                -moz-box-sizing: padding-box;
8
                box-sizing: padding-box;">
7
                box-sizing: padding-box;">
9
  </div>
8
  </div>
10
</body>
9
</body>
(-)a/layout/reftests/box-sizing/intrinsic-1c.html (-1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<body>
2
<body>
3
  <div style="display: inline-block; background: blue">
3
  <div style="display: inline-block; background: blue">
4
    <img src="lime100x100.png"
4
    <img src="lime100x100.png"
5
         style="height: 200px; display: block; visibility: hidden;
5
         style="height: 200px; display: block; visibility: hidden;
6
                padding: 30px; border: 20px solid;
6
                padding: 30px; border: 20px solid;
7
                -moz-box-sizing: border-box;
8
                box-sizing: border-box;">
7
                box-sizing: border-box;">
9
  </div>
8
  </div>
10
</body>
9
</body>
(-)a/layout/reftests/box-sizing/intrinsic-1d.html (-1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<body>
2
<body>
3
  <div style="display: inline-block; background: blue; height: 200px">
3
  <div style="display: inline-block; background: blue; height: 200px">
4
    <img src="lime100x100.png"
4
    <img src="lime100x100.png"
5
         style="height: 200px; display: block; visibility: hidden;
5
         style="height: 200px; display: block; visibility: hidden;
6
                padding: calc(15%) 30px;
6
                padding: calc(15%) 30px;
7
                -moz-box-sizing: padding-box;
8
                box-sizing: padding-box;">
7
                box-sizing: padding-box;">
9
  </div>
8
  </div>
10
</body>
9
</body>
(-)a/layout/reftests/box-sizing/intrinsic-1e.html (-1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<body>
2
<body>
3
  <div style="display: inline-block; background: blue; height: 200px">
3
  <div style="display: inline-block; background: blue; height: 200px">
4
    <img src="lime100x100.png"
4
    <img src="lime100x100.png"
5
         style="height: 200px; display: block; visibility: hidden;
5
         style="height: 200px; display: block; visibility: hidden;
6
                padding: calc(10% + 10px) 30px;
6
                padding: calc(10% + 10px) 30px;
7
                -moz-box-sizing: padding-box;
8
                box-sizing: padding-box;">
7
                box-sizing: padding-box;">
9
  </div>
8
  </div>
10
</body>
9
</body>
(-)a/layout/reftests/box-sizing/intrinsic-1f.html (-1 lines)
Line     Link Here 
 Lines 1-10    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<body>
2
<body>
3
  <div style="display: inline-block; background: blue">
3
  <div style="display: inline-block; background: blue">
4
    <img src="lime100x100.png"
4
    <img src="lime100x100.png"
5
         style="height: 200px; display: block; visibility: hidden;
5
         style="height: 200px; display: block; visibility: hidden;
6
                padding: calc(30px);
6
                padding: calc(30px);
7
                -moz-box-sizing: padding-box;
8
                box-sizing: padding-box;">
7
                box-sizing: padding-box;">
9
  </div>
8
  </div>
10
</body>
9
</body>
(-)a/layout/reftests/bugs/130767-1-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-9    Link Here 
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2
<html>
2
<html>
3
<head>
3
<head>
4
  <title>Bug 130767 Reference</title>
4
  <title>Bug 130767 Reference</title>
5
</head>
5
</head>
6
<body style="padding: 2%">
6
<body style="padding: 2%">
7
<table style="background-color: blue; height: 3em; -moz-box-sizing: border-box; box-sizing: border-box; width: 100%;"><tr><td>&nbsp;</td></tr></table>
7
<table style="background-color: blue; height: 3em; box-sizing: border-box; width: 100%;"><tr><td>&nbsp;</td></tr></table>
8
</body>
8
</body>
9
</html>
9
</html>
(-)a/layout/reftests/bugs/363858-5-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-13    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html>
2
<html>
3
<head>
3
<head>
4
<style>
4
<style>
5
select { width: 100%; -moz-box-sizing: border-box }
5
select { width: 100%; box-sizing: border-box }
6
</style>
6
</style>
7
</head>
7
</head>
8
<body>
8
<body>
9
<div>
9
<div>
10
<select>
10
<select>
11
  <option>This is option one</option>
11
  <option>This is option one</option>
12
</select>
12
</select>
13
</div>
13
</div>
(-)a/layout/reftests/bugs/363858-6-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-13    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<html>
2
<html>
3
<head>
3
<head>
4
<style>
4
<style>
5
select { width: 100%; -moz-box-sizing: border-box }
5
select { width: 100%; box-sizing: border-box }
6
* { -moz-appearance: none; }
6
* { -moz-appearance: none; }
7
</style>
7
</style>
8
</head>
8
</head>
9
<body>
9
<body>
10
<div>
10
<div>
11
<select>
11
<select>
12
  <option>This is option one</option>
12
  <option>This is option one</option>
13
</select>
13
</select>
(-)a/layout/reftests/bugs/379349-1-ref.xhtml (-1 / +1 lines)
Line     Link Here 
 Lines 10-26    Link Here 
10
      border: 2pt silver solid;
10
      border: 2pt silver solid;
11
      border-top: none;
11
      border-top: none;
12
      border-bottom: solid 10px blue;
12
      border-bottom: solid 10px blue;
13
    }
13
    }
14
    #following {
14
    #following {
15
      position: absolute;
15
      position: absolute;
16
      top: 0; left: 0;
16
      top: 0; left: 0;
17
      margin: 0;
17
      margin: 0;
18
      -moz-box-sizing: border-box;
18
      box-sizing: border-box;
19
      width: 100pt;
19
      width: 100pt;
20
      height: 72pt;
20
      height: 72pt;
21
      background: white;
21
      background: white;
22
      border: 2pt black;
22
      border: 2pt black;
23
      border-style: none solid;
23
      border-style: none solid;
24
24
25
      font-size: 10pt;
25
      font-size: 10pt;
26
      line-height: 10pt;
26
      line-height: 10pt;
(-)a/layout/reftests/bugs/494667-1.html (-1 / +1 lines)
Line     Link Here 
 Lines 5-21    Link Here 
5
table {
5
table {
6
  border-collapse: collapse;
6
  border-collapse: collapse;
7
  background-color: red;
7
  background-color: red;
8
}
8
}
9
td, th {
9
td, th {
10
  background-color: lime;
10
  background-color: lime;
11
  width:100px;
11
  width:100px;
12
  height:100px;
12
  height:100px;
13
  -moz-box-sizing:border-box;
13
  box-sizing:border-box;
14
}
14
}
15
td {
15
td {
16
  border-top: 4px solid lime;
16
  border-top: 4px solid lime;
17
}
17
}
18
</style>
18
</style>
19
</head>
19
</head>
20
<body>
20
<body>
21
<table cellpadding="0">
21
<table cellpadding="0">
(-)a/layout/reftests/bugs/494667-2.html (-1 / +1 lines)
Line     Link Here 
 Lines 6-22   table { Link Here 
6
  border-collapse: collapse;
6
  border-collapse: collapse;
7
  background-color: red;
7
  background-color: red;
8
}
8
}
9
td, th {
9
td, th {
10
  background-color: lime;
10
  background-color: lime;
11
  width:100px;
11
  width:100px;
12
  height:100px;
12
  height:100px;
13
  border:4px solid lime;
13
  border:4px solid lime;
14
  -moz-box-sizing:border-box;
14
  box-sizing:border-box;
15
}
15
}
16
td {
16
td {
17
  border-top:hidden;
17
  border-top:hidden;
18
}
18
}
19
</style>
19
</style>
20
</head>
20
</head>
21
<body>
21
<body>
22
<table cellpadding="0">
22
<table cellpadding="0">
(-)a/layout/reftests/bugs/776265-1a.html (-2 lines)
Line     Link Here 
 Lines 5-21    Link Here 
5
<style type="text/css">
5
<style type="text/css">
6
textarea {
6
textarea {
7
    float: left;
7
    float: left;
8
    height: 40px;
8
    height: 40px;
9
    width: 50px;
9
    width: 50px;
10
    min-height: 50px;
10
    min-height: 50px;
11
    border: 1px solid #aaa;
11
    border: 1px solid #aaa;
12
    padding: 4px;
12
    padding: 4px;
13
    -moz-box-sizing: border-box;
14
    -webkit-box-sizing: border-box;
15
    box-sizing: border-box;
13
    box-sizing: border-box;
16
}
14
}
17
</style>
15
</style>
18
</head>
16
</head>
19
<body><textarea></textarea>
17
<body><textarea></textarea>
20
</body>
18
</body>
21
</html>
19
</html>
(-)a/layout/reftests/bugs/776265-1b.html (-2 lines)
Line     Link Here 
 Lines 5-21    Link Here 
5
<style type="text/css">
5
<style type="text/css">
6
textarea {
6
textarea {
7
    float: left;
7
    float: left;
8
    height: 70px;
8
    height: 70px;
9
    width: 50px;
9
    width: 50px;
10
    max-height: 50px;
10
    max-height: 50px;
11
    border: 1px solid #aaa;
11
    border: 1px solid #aaa;
12
    padding: 4px;
12
    padding: 4px;
13
    -moz-box-sizing: border-box;
14
    -webkit-box-sizing: border-box;
15
    box-sizing: border-box;
13
    box-sizing: border-box;
16
}
14
}
17
</style>
15
</style>
18
</head>
16
</head>
19
<body><textarea></textarea>
17
<body><textarea></textarea>
20
</body>
18
</body>
21
</html>
19
</html>
(-)a/layout/reftests/bugs/776265-1c.html (-2 lines)
Line     Link Here 
 Lines 5-21    Link Here 
5
<style type="text/css">
5
<style type="text/css">
6
textarea {
6
textarea {
7
    float: left;
7
    float: left;
8
    width: 40px;
8
    width: 40px;
9
    height: 50px;
9
    height: 50px;
10
    min-width: 50px;
10
    min-width: 50px;
11
    border: 1px solid #aaa;
11
    border: 1px solid #aaa;
12
    padding: 4px;
12
    padding: 4px;
13
    -moz-box-sizing: border-box;
14
    -webkit-box-sizing: border-box;
15
    box-sizing: border-box;
13
    box-sizing: border-box;
16
}
14
}
17
</style>
15
</style>
18
</head>
16
</head>
19
<body><textarea></textarea>
17
<body><textarea></textarea>
20
</body>
18
</body>
21
</html>
19
</html>
(-)a/layout/reftests/bugs/776265-1d.html (-2 lines)
Line     Link Here 
 Lines 5-21    Link Here 
5
<style type="text/css">
5
<style type="text/css">
6
textarea {
6
textarea {
7
    float: left;
7
    float: left;
8
    width: 70px;
8
    width: 70px;
9
    height: 50px;
9
    height: 50px;
10
    max-width: 50px;
10
    max-width: 50px;
11
    border: 1px solid #aaa;
11
    border: 1px solid #aaa;
12
    padding: 4px;
12
    padding: 4px;
13
    -moz-box-sizing: border-box;
14
    -webkit-box-sizing: border-box;
15
    box-sizing: border-box;
13
    box-sizing: border-box;
16
}
14
}
17
</style>
15
</style>
18
</head>
16
</head>
19
<body><textarea></textarea>
17
<body><textarea></textarea>
20
</body>
18
</body>
21
</html>
19
</html>
(-)a/layout/reftests/bugs/825999-ref.html (-2 / +2 lines)
Line     Link Here 
 Lines 26-45    Link Here 
26
                overflow:hidden;
26
                overflow:hidden;
27
                height:3em;
27
                height:3em;
28
                padding:1px;
28
                padding:1px;
29
                vertical-align:top;
29
                vertical-align:top;
30
                background:lime;
30
                background:lime;
31
                width:36px;
31
                width:36px;
32
            }
32
            }
33
            .bb * {
33
            .bb * {
34
                -moz-box-sizing: border-box;
34
                box-sizing: border-box;
35
            }
35
            }
36
            .cb * {
36
            .cb * {
37
                -moz-box-sizing: content-box;
37
                box-sizing: content-box;
38
            }
38
            }
39
            td {
39
            td {
40
              max-width:14px;
40
              max-width:14px;
41
            }
41
            }
42
            .bc {
42
            .bc {
43
              border-collapse:collapse;
43
              border-collapse:collapse;
44
            }
44
            }
45
            .it {
45
            .it {
(-)a/layout/reftests/bugs/825999.html (-2 / +2 lines)
Line     Link Here 
 Lines 26-45    Link Here 
26
                overflow:auto;
26
                overflow:auto;
27
                height:3em;
27
                height:3em;
28
                padding:1px;
28
                padding:1px;
29
                vertical-align:top;
29
                vertical-align:top;
30
                background:lime;
30
                background:lime;
31
                width:36px;
31
                width:36px;
32
            }
32
            }
33
            .bb * {
33
            .bb * {
34
                -moz-box-sizing: border-box;
34
                box-sizing: border-box;
35
            }
35
            }
36
            .cb * {
36
            .cb * {
37
                -moz-box-sizing: content-box;
37
                box-sizing: content-box;
38
            }
38
            }
39
            td {
39
            td {
40
              max-width:14px;
40
              max-width:14px;
41
            }
41
            }
42
            .bc {
42
            .bc {
43
              border-collapse:collapse;
43
              border-collapse:collapse;
44
            }
44
            }
45
            .it {
45
            .it {
(-)a/layout/reftests/bugs/860242-1-ref.html (-1 lines)
Line     Link Here 
 Lines 6-22    Link Here 
6
      .table {
6
      .table {
7
        display: table;
7
        display: table;
8
        width: 100px;
8
        width: 100px;
9
        table-layout: fixed;
9
        table-layout: fixed;
10
        margin-bottom: 2px;
10
        margin-bottom: 2px;
11
      }
11
      }
12
12
13
      .table > * {
13
      .table > * {
14
        -moz-box-sizing: border-box;
15
        box-sizing: border-box;
14
        box-sizing: border-box;
16
        display: table-cell;
15
        display: table-cell;
17
        height: 30px;
16
        height: 30px;
18
      }
17
      }
19
18
20
      .withBorder  { border: 2px solid black; }
19
      .withBorder  { border: 2px solid black; }
21
20
22
      .thin { width: 25px; }
21
      .thin { width: 25px; }
(-)a/layout/reftests/bugs/860242-1.html (-1 lines)
Line     Link Here 
 Lines 6-22    Link Here 
6
      .table {
6
      .table {
7
        display: table;
7
        display: table;
8
        width: 100px;
8
        width: 100px;
9
        table-layout: fixed;
9
        table-layout: fixed;
10
        margin-bottom: 2px;
10
        margin-bottom: 2px;
11
      }
11
      }
12
12
13
      .table > * {
13
      .table > * {
14
        -moz-box-sizing: border-box;
15
        box-sizing: border-box;
14
        box-sizing: border-box;
16
        display: table-cell;
15
        display: table-cell;
17
        height: 30px;
16
        height: 30px;
18
      }
17
      }
19
18
20
      .withPadding { padding: 10px; }
19
      .withPadding { padding: 10px; }
21
      .withBorder  { border: 2px solid black; }
20
      .withBorder  { border: 2px solid black; }
22
21
(-)a/layout/reftests/counters/counter-suffix-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 1-17    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  p, span { margin: 0; padding: 0; line-height: 150%; }
3
  p, span { margin: 0; padding: 0; line-height: 150%; }
4
  #wrapper { width: 10em; }
4
  #wrapper { width: 10em; }
5
  span {
5
  span {
6
    display: inline-block;
6
    display: inline-block;
7
    width: 3em;
7
    width: 3em;
8
    text-align: end;
8
    text-align: end;
9
    -moz-box-sizing: border-box;
9
    box-sizing: border-box;
10
  }
10
  }
11
  .def span { -moz-padding-end: 0.5em; }
11
  .def span { -moz-padding-end: 0.5em; }
12
  .fix span { -moz-padding-end: 1em; }
12
  .fix span { -moz-padding-end: 1em; }
13
</style>
13
</style>
14
<div id="wrapper">
14
<div id="wrapper">
15
  <p class="def">
15
  <p class="def">
16
    <span>1.</span>foo<br>
16
    <span>1.</span>foo<br>
17
    <span>2.</span>bar
17
    <span>2.</span>bar
(-)a/layout/reftests/flexbox/flexbox-align-self-baseline-horiz-2.xhtml (-1 / +1 lines)
Line     Link Here 
 Lines 29-45    Link Here 
29
      }
29
      }
30
30
31
      button.multilinebutton {
31
      button.multilinebutton {
32
        font: 20px sans-serif;
32
        font: 20px sans-serif;
33
        color: black;
33
        color: black;
34
        padding: 0;
34
        padding: 0;
35
        height: 50px;
35
        height: 50px;
36
        width: 20px;
36
        width: 20px;
37
        -moz-box-sizing: content-box;
37
        box-sizing: content-box;
38
      }
38
      }
39
39
40
      .lime   { background: lime;   }
40
      .lime   { background: lime;   }
41
      .orange { background: orange; }
41
      .orange { background: orange; }
42
      .pink   { background: pink;   }
42
      .pink   { background: pink;   }
43
      .aqua   { background: aqua;   }
43
      .aqua   { background: aqua;   }
44
      .violet { background: violet; }
44
      .violet { background: violet; }
45
      .tan    { background: tan;    }
45
      .tan    { background: tan;    }
(-)a/layout/reftests/flexbox/flexbox-box-sizing-on-container-horiz-1.html (-1 / +1 lines)
Line     Link Here 
 Lines 9-25    Link Here 
9
  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
9
  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
10
  <meta charset="utf-8">
10
  <meta charset="utf-8">
11
  <style>
11
  <style>
12
    .container {
12
    .container {
13
      display: flex;
13
      display: flex;
14
      width: 110px;
14
      width: 110px;
15
      height: 30px;
15
      height: 30px;
16
      border: 5px solid black;
16
      border: 5px solid black;
17
      -moz-box-sizing: border-box;
17
      box-sizing: border-box;
18
    }
18
    }
19
    .itemA {
19
    .itemA {
20
      flex: 1 28px;
20
      flex: 1 28px;
21
      background: purple;
21
      background: purple;
22
      border: 1px solid indigo;
22
      border: 1px solid indigo;
23
    }
23
    }
24
    .itemB {
24
    .itemB {
25
      flex: 1 48px;
25
      flex: 1 48px;
(-)a/layout/reftests/flexbox/flexbox-box-sizing-on-container-vert-1.html (-1 / +1 lines)
Line     Link Here 
 Lines 10-26    Link Here 
10
  <meta charset="utf-8">
10
  <meta charset="utf-8">
11
  <style>
11
  <style>
12
    .container {
12
    .container {
13
      display: flex;
13
      display: flex;
14
      flex-direction: column;
14
      flex-direction: column;
15
      width: 30px;
15
      width: 30px;
16
      height: 110px;
16
      height: 110px;
17
      border: 5px solid black;
17
      border: 5px solid black;
18
      -moz-box-sizing: border-box;
18
      box-sizing: border-box;
19
    }
19
    }
20
    .itemA {
20
    .itemA {
21
      flex: 1 28px;
21
      flex: 1 28px;
22
      background: purple;
22
      background: purple;
23
      border: 1px solid indigo;
23
      border: 1px solid indigo;
24
    }
24
    }
25
    .itemB {
25
    .itemB {
26
      flex: 1 48px;
26
      flex: 1 48px;
(-)a/layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1a.html (-1 / +1 lines)
Line     Link Here 
 Lines 13-29    Link Here 
13
      display: flex;
13
      display: flex;
14
      width: 100px;
14
      width: 100px;
15
      height: 30px;
15
      height: 30px;
16
      border: 1px solid black;
16
      border: 1px solid black;
17
      float: left;
17
      float: left;
18
      margin: 2px;
18
      margin: 2px;
19
    }
19
    }
20
    .container > * {
20
    .container > * {
21
      -moz-box-sizing: border-box;
21
      box-sizing: border-box;
22
    }
22
    }
23
    .itemA {
23
    .itemA {
24
      width: 30px;
24
      width: 30px;
25
      background: purple;
25
      background: purple;
26
      border: 4px solid indigo;
26
      border: 4px solid indigo;
27
    }
27
    }
28
    .itemB {
28
    .itemB {
29
      width: 50px;
29
      width: 50px;
(-)a/layout/reftests/flexbox/flexbox-box-sizing-on-items-horiz-1b.html (-1 / +1 lines)
Line     Link Here 
 Lines 13-29    Link Here 
13
      display: flex;
13
      display: flex;
14
      width: 100px;
14
      width: 100px;
15
      height: 30px;
15
      height: 30px;
16
      border: 1px solid black;
16
      border: 1px solid black;
17
      float: left;
17
      float: left;
18
      margin: 2px;
18
      margin: 2px;
19
    }
19
    }
20
    .container > * {
20
    .container > * {
21
      -moz-box-sizing: border-box;
21
      box-sizing: border-box;
22
    }
22
    }
23
    .itemA {
23
    .itemA {
24
      flex-basis: 30px;
24
      flex-basis: 30px;
25
      background: purple;
25
      background: purple;
26
      border: 4px solid indigo;
26
      border: 4px solid indigo;
27
    }
27
    }
28
    .itemB {
28
    .itemB {
29
      flex-basis: 50px;
29
      flex-basis: 50px;
(-)a/layout/reftests/flexbox/flexbox-box-sizing-on-items-vert-1a.html (-1 / +1 lines)
Line     Link Here 
 Lines 14-30    Link Here 
14
      flex-direction: column;
14
      flex-direction: column;
15
      width: 30px;
15
      width: 30px;
16
      height: 100px;
16
      height: 100px;
17
      border: 1px solid black;
17
      border: 1px solid black;
18
      float: left;
18
      float: left;
19
      margin: 2px;
19
      margin: 2px;
20
    }
20
    }
21
    .container > * {
21
    .container > * {
22
      -moz-box-sizing: border-box;
22
      box-sizing: border-box;
23
    }
23
    }
24
    .itemA {
24
    .itemA {
25
      height: 30px;
25
      height: 30px;
26
      background: purple;
26
      background: purple;
27
      border: 4px solid indigo;
27
      border: 4px solid indigo;
28
    }
28
    }
29
    .itemB {
29
    .itemB {
30
      height: 50px;
30
      height: 50px;
(-)a/layout/reftests/flexbox/flexbox-box-sizing-on-items-vert-1b.html (-1 / +1 lines)
Line     Link Here 
 Lines 14-30    Link Here 
14
      flex-direction: column;
14
      flex-direction: column;
15
      width: 30px;
15
      width: 30px;
16
      height: 100px;
16
      height: 100px;
17
      border: 1px solid black;
17
      border: 1px solid black;
18
      float: left;
18
      float: left;
19
      margin: 2px;
19
      margin: 2px;
20
    }
20
    }
21
    .container > * {
21
    .container > * {
22
      -moz-box-sizing: border-box;
22
      box-sizing: border-box;
23
    }
23
    }
24
    .itemA {
24
    .itemA {
25
      flex-basis: 30px;
25
      flex-basis: 30px;
26
      background: purple;
26
      background: purple;
27
      border: 4px solid indigo;
27
      border: 4px solid indigo;
28
    }
28
    }
29
    .itemB {
29
    .itemB {
30
      flex-basis: 50px;
30
      flex-basis: 50px;
(-)a/layout/reftests/forms/button/max-height-ref.html (-1 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  button {
3
  button {
4
    height: 50px;
4
    height: 50px;
5
    padding: 23px;
5
    padding: 23px;
6
    border: 1px solid black;
6
    border: 1px solid black;
7
    box-sizing: border-box;
7
    box-sizing: border-box;
8
    -moz-box-sizing: border-box;
9
    overflow: hidden;
8
    overflow: hidden;
10
  }
9
  }
11
</style>
10
</style>
12
<button>Some text</button>
11
<button>Some text</button>
(-)a/layout/reftests/forms/button/max-height.html (-1 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  button {
3
  button {
4
    max-height: 50px;
4
    max-height: 50px;
5
    padding: 23px;
5
    padding: 23px;
6
    border: 1px solid black;
6
    border: 1px solid black;
7
    box-sizing: border-box;
7
    box-sizing: border-box;
8
    -moz-box-sizing: border-box;
9
    overflow: hidden;
8
    overflow: hidden;
10
  }
9
  }
11
</style>
10
</style>
12
<button>Some text</button>
11
<button>Some text</button>
(-)a/layout/reftests/forms/input/color/reference-style.css (-1 / +1 lines)
Line     Link Here 
 Lines 1-15    Link Here 
1
div.input-color-swatch {
1
div.input-color-swatch {
2
  /* This should match the styling for ::-moz-color-swatch in forms.css. */
2
  /* This should match the styling for ::-moz-color-swatch in forms.css. */
3
  width: 100%;
3
  width: 100%;
4
  height: 100%;
4
  height: 100%;
5
  min-width: 3px;
5
  min-width: 3px;
6
  min-height: 3px;
6
  min-height: 3px;
7
  -moz-box-sizing: border-box;
7
  box-sizing: border-box;
8
  border: 1px solid grey;
8
  border: 1px solid grey;
9
  display: block;
9
  display: block;
10
  background-color:#000000; /* default color for input type color */
10
  background-color:#000000; /* default color for input type color */
11
}
11
}
12
12
13
button.input-color {
13
button.input-color {
14
  width: 64px;
14
  width: 64px;
15
  height: 23px;
15
  height: 23px;
(-)a/layout/reftests/forms/meter/max-height-ref.html (-1 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  meter {
3
  meter {
4
    height: 50px;
4
    height: 50px;
5
    padding: 23px;
5
    padding: 23px;
6
    border: 1px solid black;
6
    border: 1px solid black;
7
    box-sizing: border-box;
7
    box-sizing: border-box;
8
    -moz-box-sizing: border-box;
9
    overflow: hidden;
8
    overflow: hidden;
10
  }
9
  }
11
</style>
10
</style>
12
<meter>Some text</meter>
11
<meter>Some text</meter>
(-)a/layout/reftests/forms/meter/max-height.html (-1 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  meter {
3
  meter {
4
    max-height: 50px;
4
    max-height: 50px;
5
    padding: 23px;
5
    padding: 23px;
6
    border: 1px solid black;
6
    border: 1px solid black;
7
    box-sizing: border-box;
7
    box-sizing: border-box;
8
    -moz-box-sizing: border-box;
9
    overflow: hidden;
8
    overflow: hidden;
10
  }
9
  }
11
</style>
10
</style>
12
<meter>Some text</meter>
11
<meter>Some text</meter>
(-)a/layout/reftests/forms/progress/max-height-ref.html (-1 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  progress {
3
  progress {
4
    height: 50px;
4
    height: 50px;
5
    padding: 23px;
5
    padding: 23px;
6
    border: 1px solid black;
6
    border: 1px solid black;
7
    box-sizing: border-box;
7
    box-sizing: border-box;
8
    -moz-box-sizing: border-box;
9
    overflow: hidden;
8
    overflow: hidden;
10
  }
9
  }
11
</style>
10
</style>
12
<progress>Some text</progress>
11
<progress>Some text</progress>
(-)a/layout/reftests/forms/progress/max-height.html (-1 lines)
Line     Link Here 
 Lines 1-12    Link Here 
1
<!DOCTYPE html>
1
<!DOCTYPE html>
2
<style>
2
<style>
3
  progress {
3
  progress {
4
    max-height: 50px;
4
    max-height: 50px;
5
    padding: 23px;
5
    padding: 23px;
6
    border: 1px solid black;
6
    border: 1px solid black;
7
    box-sizing: border-box;
7
    box-sizing: border-box;
8
    -moz-box-sizing: border-box;
9
    overflow: hidden;
8
    overflow: hidden;
10
  }
9
  }
11
</style>
10
</style>
12
<progress>Some text</progress>
11
<progress>Some text</progress>
(-)a/layout/reftests/forms/progress/style.css (-1 / +1 lines)
Line     Link Here 
 Lines 23-39   div.progress-bar { Link Here 
23
  -moz-appearance: progresschunk;
23
  -moz-appearance: progresschunk;
24
  height: 100%;
24
  height: 100%;
25
  /*
25
  /*
26
   * We can't apply the following style to the reference because it will have
26
   * We can't apply the following style to the reference because it will have
27
   * underisable effectes:
27
   * underisable effectes:
28
   * width: 100%;
28
   * width: 100%;
29
   */
29
   */
30
30
31
  -moz-box-sizing: border-box;
31
  box-sizing: border-box;
32
32
33
  /* Default style in case of there is -moz-appearance: none; */
33
  /* Default style in case of there is -moz-appearance: none; */
34
  background-color: #0064b4;
34
  background-color: #0064b4;
35
}
35
}
36
36
37
progress, progress::-moz-progress-bar, div.progress-element, div.progress-bar {
37
progress, progress::-moz-progress-bar, div.progress-element, div.progress-bar {
38
  -moz-appearance: none;
38
  -moz-appearance: none;
39
}
39
}
(-)a/layout/reftests/table-width/cell-pref-width-border-box.html (-1 / +1 lines)
Line     Link Here 
 Lines 12-28   table Link Here 
12
{
12
{
13
    vertical-align:top;
13
    vertical-align:top;
14
    empty-cells:show;
14
    empty-cells:show;
15
    border-collapse:collapse;
15
    border-collapse:collapse;
16
}
16
}
17
17
18
td
18
td
19
{
19
{
20
    -moz-box-sizing: border-box;
20
    box-sizing: border-box;
21
    border: solid 1px black;
21
    border: solid 1px black;
22
}
22
}
23
</style>
23
</style>
24
<table>
24
<table>
25
	<tr>
25
	<tr>
26
		<td>Test wrapping</td>
26
		<td>Test wrapping</td>
27
	</tr>
27
	</tr>
28
</table>
28
</table>
(-)a/layout/reftests/transform-3d/backface-visibility-2-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 21-37    Link Here 
21
		width: 100%;
21
		width: 100%;
22
		height: 100%;
22
		height: 100%;
23
        -moz-backface-visibility: hidden;
23
        -moz-backface-visibility: hidden;
24
        background: red;
24
        background: red;
25
	}
25
	}
26
	.face.back {
26
	.face.back {
27
		display: block;
27
		display: block;
28
		-moz-transform: rotateY(180deg);
28
		-moz-transform: rotateY(180deg);
29
		-moz-box-sizing: border-box;
29
		box-sizing: border-box;
30
		padding: 10px;
30
		padding: 10px;
31
		color: white;
31
		color: white;
32
		text-align: center;
32
		text-align: center;
33
		background: green;
33
		background: green;
34
	}
34
	}
35
	</style>
35
	</style>
36
	
36
	
37
	<div id="container" class="hover">
37
	<div id="container" class="hover">
(-)a/layout/reftests/transform-3d/backface-visibility-2.html (-1 / +1 lines)
Line     Link Here 
 Lines 21-37    Link Here 
21
		width: 100%;
21
		width: 100%;
22
		height: 100%;
22
		height: 100%;
23
        -moz-backface-visibility: hidden;
23
        -moz-backface-visibility: hidden;
24
        background: red;
24
        background: red;
25
	}
25
	}
26
	.face.back {
26
	.face.back {
27
		display: block;
27
		display: block;
28
		-moz-transform: rotateY(180deg);
28
		-moz-transform: rotateY(180deg);
29
		-moz-box-sizing: border-box;
29
		box-sizing: border-box;
30
		padding: 10px;
30
		padding: 10px;
31
		color: white;
31
		color: white;
32
		text-align: center;
32
		text-align: center;
33
		background: green;
33
		background: green;
34
	}
34
	}
35
	</style>
35
	</style>
36
	
36
	
37
	<div id="container" class="hover">
37
	<div id="container" class="hover">
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-border-box-001.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-27    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Border-Box with specified width</title>
4
  <title>CSS Test: Box Sizing - Border-Box with specified width</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: border-box should make the element's (percentage) width be the distance from the left border edge to the right border edge." />
7
  <meta name="assert" content="box-sizing: border-box should make the element's (percentage) width be the distance from the left border edge to the right border edge." />
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      border: 2px solid black;
11
      border: 2px solid black;
12
      position: absolute;
12
      position: absolute;
13
      left: 25px;
13
      left: 25px;
14
      top: 25px;
14
      top: 25px;
15
      background-color: red;
15
      background-color: red;
16
    }
16
    }
17
17
18
    .box-sized {
18
    .box-sized {
19
      -moz-box-sizing: border-box;
19
      box-sizing: border-box;
20
      width: 50%;
20
      width: 50%;
21
      z-index: 1;
21
      z-index: 1;
22
      float: left;
22
      float: left;
23
      border: 5px solid black;
23
      border: 5px solid black;
24
    }
24
    }
25
25
26
    #one {
26
    #one {
27
      background-color: green;
27
      background-color: green;
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-border-box-002.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-27    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Border-Box with specified width</title>
4
  <title>CSS Test: Box Sizing - Border-Box with specified width</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: border-box should make the element's (percentage) width be the distance from the left border edge to the right border edge." />
7
  <meta name="assert" content="box-sizing: border-box should make the element's (percentage) width be the distance from the left border edge to the right border edge." />
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      border: 2px solid black;
11
      border: 2px solid black;
12
      position: absolute;
12
      position: absolute;
13
      left: 25px;
13
      left: 25px;
14
      top: 25px;
14
      top: 25px;
15
      background-color: red;
15
      background-color: red;
16
    }
16
    }
17
17
18
    .box-sized {
18
    .box-sized {
19
      -moz-box-sizing: border-box;
19
      box-sizing: border-box;
20
      width: 50%;
20
      width: 50%;
21
      z-index: 1;
21
      z-index: 1;
22
      float: left;
22
      float: left;
23
      border: 5px solid black;
23
      border: 5px solid black;
24
      padding: 0px 10px;
24
      padding: 0px 10px;
25
    }
25
    }
26
26
27
    #one {
27
    #one {
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-border-box-003.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-28    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Border-Box with specified width/height</title>
4
  <title>CSS Test: Box Sizing - Border-Box with specified width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: border-box should make the element's (percentage) width be the distance from the left border edge to the right border edge and the height be the distance from the top border edge to the bottom border edge." />
7
  <meta name="assert" content="box-sizing: border-box should make the element's (percentage) width be the distance from the left border edge to the right border edge and the height be the distance from the top border edge to the bottom border edge." />
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      height: 400px;
11
      height: 400px;
12
      border: 2px solid black;
12
      border: 2px solid black;
13
      position: absolute;
13
      position: absolute;
14
      left: 25px;
14
      left: 25px;
15
      top: 25px;
15
      top: 25px;
16
      background-color: red;
16
      background-color: red;
17
    }
17
    }
18
18
19
    .box-sized {
19
    .box-sized {
20
      -moz-box-sizing: border-box;
20
      box-sizing: border-box;
21
      width: 50%;
21
      width: 50%;
22
      height: 100%;
22
      height: 100%;
23
      z-index: 1;
23
      z-index: 1;
24
      float: left;
24
      float: left;
25
      border: 5px solid black;
25
      border: 5px solid black;
26
      padding: 25px 10px;
26
      padding: 25px 10px;
27
    }
27
    }
28
28
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-border-box-004.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-30    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Border-Box with min/max width/height</title>
4
  <title>CSS Test: Box Sizing - Border-Box with min/max width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: border-box should make the element's (length) width be the distance from the left border edge to the right border edge and the height be the distance from the top border edge to the bottom border edge." />
7
  <meta name="assert" content="box-sizing: border-box should make the element's (length) width be the distance from the left border edge to the right border edge and the height be the distance from the top border edge to the bottom border edge." />
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      min-width: 500px;
10
      min-width: 500px;
11
      max-width: 700px;
11
      max-width: 700px;
12
      min-height: 70px;
12
      min-height: 70px;
13
      max-height: 90px;
13
      max-height: 90px;
14
      border: 2px solid black;
14
      border: 2px solid black;
15
      position: absolute;
15
      position: absolute;
16
      left: 25px;
16
      left: 25px;
17
      top: 25px;
17
      top: 25px;
18
      background-color: red;
18
      background-color: red;
19
    }
19
    }
20
20
21
    .box-sized {
21
    .box-sized {
22
      -moz-box-sizing: border-box;
22
      box-sizing: border-box;
23
      min-width: 250px;
23
      min-width: 250px;
24
      max-width: 350px;
24
      max-width: 350px;
25
      min-height: 70px;
25
      min-height: 70px;
26
      max-height: 90px;
26
      max-height: 90px;
27
      z-index: 1;
27
      z-index: 1;
28
      float: left;
28
      float: left;
29
      border: 5px solid black;
29
      border: 5px solid black;
30
    }
30
    }
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-content-box-001.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-28    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Content-Box with specified width/height</title>
4
  <title>CSS Test: Box Sizing - Content-Box with specified width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: content-box should make the element's (percentage) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge."/>
7
  <meta name="assert" content="box-sizing: content-box should make the element's (percentage) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge."/>
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      height: 110px;
11
      height: 110px;
12
      border: 2px solid black;
12
      border: 2px solid black;
13
      position: absolute;
13
      position: absolute;
14
      left: 25px;
14
      left: 25px;
15
      top: 25px;
15
      top: 25px;
16
      background-color: red;
16
      background-color: red;
17
    }
17
    }
18
18
19
    .box-sized {
19
    .box-sized {
20
      -moz-box-sizing: content-box;
20
      box-sizing: content-box;
21
      width: 50%;
21
      width: 50%;
22
      height: 100%;
22
      height: 100%;
23
      z-index: 1;
23
      z-index: 1;
24
      float: left;
24
      float: left;
25
    }
25
    }
26
26
27
    #one {
27
    #one {
28
      background-color: green;
28
      background-color: green;
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-content-box-002.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-28    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Content-Box with specified width/height</title>
4
  <title>CSS Test: Box Sizing - Content-Box with specified width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: content-box should make the element's (calc) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge."/>
7
  <meta name="assert" content="box-sizing: content-box should make the element's (calc) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge."/>
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      height: 100px;
11
      height: 100px;
12
      border: 2px solid black;
12
      border: 2px solid black;
13
      position: absolute;
13
      position: absolute;
14
      left: 25px;
14
      left: 25px;
15
      top: 25px;
15
      top: 25px;
16
      background-color: red;
16
      background-color: red;
17
    }
17
    }
18
18
19
    .box-sized {
19
    .box-sized {
20
      -moz-box-sizing: content-box;
20
      box-sizing: content-box;
21
      width: calc(50% - 10px);
21
      width: calc(50% - 10px);
22
      height: calc(100% - 10px);
22
      height: calc(100% - 10px);
23
      z-index: 1;
23
      z-index: 1;
24
      float: left;
24
      float: left;
25
      padding: 5px 5px;
25
      padding: 5px 5px;
26
    }
26
    }
27
27
28
    #one {
28
    #one {
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-content-box-003.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-29    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Content-Box with min/max width/height</title>
4
  <title>CSS Test: Box Sizing - Content-Box with min/max width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: content-box should make the element's (percentage) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge."/>
7
  <meta name="assert" content="box-sizing: content-box should make the element's (percentage) width be the distance from the left content edge to the right content edge and the height be the distance from the top content edge to the bottom content edge."/>
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      min-width: 500px;
10
      min-width: 500px;
11
      max-width: 700px;
11
      max-width: 700px;
12
      height: 90px;
12
      height: 90px;
13
      border: 2px solid black;
13
      border: 2px solid black;
14
      position: absolute;
14
      position: absolute;
15
      left: 25px;
15
      left: 25px;
16
      top: 25px;
16
      top: 25px;
17
      background-color: red;
17
      background-color: red;
18
    }
18
    }
19
19
20
    .box-sized {
20
    .box-sized {
21
      -moz-box-sizing: content-box;
21
      box-sizing: content-box;
22
      width: 50%;
22
      width: 50%;
23
      height: 100%;
23
      height: 100%;
24
      z-index: 1;
24
      z-index: 1;
25
      float: left;
25
      float: left;
26
    }
26
    }
27
27
28
    #one {
28
    #one {
29
      background-color: green;
29
      background-color: green;
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-001.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-27    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Padding-Box with specified width/height</title>
4
  <title>CSS Test: Box Sizing - Padding-Box with specified width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: padding-box should make the element's (percentage) width be the distance from the left padding edge to the right padding edge."/>
7
  <meta name="assert" content="box-sizing: padding-box should make the element's (percentage) width be the distance from the left padding edge to the right padding edge."/>
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      border: 2px solid black;
11
      border: 2px solid black;
12
      position: absolute;
12
      position: absolute;
13
      left: 25px;
13
      left: 25px;
14
      top: 25px;
14
      top: 25px;
15
      background-color: red;
15
      background-color: red;
16
    }
16
    }
17
17
18
    .box-sized {
18
    .box-sized {
19
      -moz-box-sizing: padding-box;
19
      box-sizing: padding-box;
20
      width: 50%;
20
      width: 50%;
21
      z-index: 1;
21
      z-index: 1;
22
      float: left;
22
      float: left;
23
      padding: 0px 5px;
23
      padding: 0px 5px;
24
    }
24
    }
25
25
26
    #one {
26
    #one {
27
      background-color: green;
27
      background-color: green;
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-002.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-28    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Padding-Box with specified width/height</title>
4
  <title>CSS Test: Box Sizing - Padding-Box with specified width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: padding-box should make the element's (percentage) width be the distance from the left padding edge to the right padding edge and the height be the distance from the top padding edge to the bottom padding edge."/>
7
  <meta name="assert" content="box-sizing: padding-box should make the element's (percentage) width be the distance from the left padding edge to the right padding edge and the height be the distance from the top padding edge to the bottom padding edge."/>
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      width: 300px;
10
      width: 300px;
11
      height: 400px;
11
      height: 400px;
12
      border: 2px solid black;
12
      border: 2px solid black;
13
      position: absolute;
13
      position: absolute;
14
      left: 25px;
14
      left: 25px;
15
      top: 25px;
15
      top: 25px;
16
      background-color: red;
16
      background-color: red;
17
    }
17
    }
18
18
19
    .box-sized {
19
    .box-sized {
20
      -moz-box-sizing: padding-box;
20
      box-sizing: padding-box;
21
      width: 50%;
21
      width: 50%;
22
      height: 100%;
22
      height: 100%;
23
      z-index: 1;
23
      z-index: 1;
24
      float: left;
24
      float: left;
25
      padding: 25px 10px;
25
      padding: 25px 10px;
26
    }
26
    }
27
27
28
    #one {
28
    #one {
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-padding-box-003.xht (-2 / +2 lines)
Line     Link Here 
 Lines 1-30    Link Here 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
2
<html xmlns="http://www.w3.org/1999/xhtml">
2
<html xmlns="http://www.w3.org/1999/xhtml">
3
 <head>
3
 <head>
4
  <title>CSS Test: Box Sizing - Padding-Box with min/max width/height</title>
4
  <title>CSS Test: Box Sizing - Padding-Box with min/max width/height</title>
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
5
  <link rel="author" title="Scott Johnson" href="mailto:sjohnson@mozilla.com" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
6
  <link rel="help" href="http://www.w3.org/TR/css3-ui/#box-sizing" />
7
  <meta name="assert" content="-moz-box-sizing: padding-box should make the element's (calc) width be the distance from the left padding edge to the right padding edge and the height be the distance from the top padding edge to the bottom padding edge."/>
7
  <meta name="assert" content="box-sizing: padding-box should make the element's (calc) width be the distance from the left padding edge to the right padding edge and the height be the distance from the top padding edge to the bottom padding edge."/>
8
  <style type="text/css"><![CDATA[
8
  <style type="text/css"><![CDATA[
9
    .container {
9
    .container {
10
      min-width: 500px;
10
      min-width: 500px;
11
      max-width: 700px;
11
      max-width: 700px;
12
      min-height: 70px;
12
      min-height: 70px;
13
      max-height: 90px;
13
      max-height: 90px;
14
      border: 2px solid black;
14
      border: 2px solid black;
15
      position: absolute;
15
      position: absolute;
16
      left: 25px;
16
      left: 25px;
17
      top: 25px;
17
      top: 25px;
18
      background-color: red;
18
      background-color: red;
19
    }
19
    }
20
20
21
    .box-sized {
21
    .box-sized {
22
      -moz-box-sizing: padding-box;
22
      box-sizing: padding-box;
23
      min-width: 250px;
23
      min-width: 250px;
24
      max-width: 350px;
24
      max-width: 350px;
25
      min-height: 70px;
25
      min-height: 70px;
26
      max-height: 90px;
26
      max-height: 90px;
27
      z-index: 1;
27
      z-index: 1;
28
      float: left;
28
      float: left;
29
      padding: 5px 5px;
29
      padding: 5px 5px;
30
    }
30
    }
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-001.xht (-1 / +1 lines)
Line     Link Here 
 Lines 16-32    Link Here 
16
        display: inline-block;
16
        display: inline-block;
17
        background-color: white;
17
        background-color: white;
18
        padding: 0px 0px;
18
        padding: 0px 0px;
19
        margin: 0px 0px;
19
        margin: 0px 0px;
20
      }
20
      }
21
21
22
      .with-padding {
22
      .with-padding {
23
        padding: 5px 5px;
23
        padding: 5px 5px;
24
        -moz-box-sizing: padding-box;
24
        box-sizing: padding-box;
25
      }
25
      }
26
26
27
      #img1 {
27
      #img1 {
28
        min-width:   70px;
28
        min-width:   70px;
29
        max-width:  115px;
29
        max-width:  115px;
30
        min-height:  55px;
30
        min-height:  55px;
31
        max-height: 130px;
31
        max-height: 130px;
32
      }
32
      }
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-002.xht (-1 / +1 lines)
Line     Link Here 
 Lines 17-33    Link Here 
17
        background-color: white;
17
        background-color: white;
18
        padding: 0px 0px;
18
        padding: 0px 0px;
19
        margin: 0px 0px;
19
        margin: 0px 0px;
20
      }
20
      }
21
21
22
      .with-borderpadding {
22
      .with-borderpadding {
23
        padding: 5px 5px;
23
        padding: 5px 5px;
24
        border: 5px solid blue;
24
        border: 5px solid blue;
25
        -moz-box-sizing: border-box;
25
        box-sizing: border-box;
26
      }
26
      }
27
27
28
      #img1 {
28
      #img1 {
29
        min-width:   80px;
29
        min-width:   80px;
30
        max-width:  125px;
30
        max-width:  125px;
31
        min-height:  65px;
31
        min-height:  65px;
32
        max-height: 140px;
32
        max-height: 140px;
33
      }
33
      }
(-)a/layout/reftests/w3c-css/submitted/ui3/box-sizing-replaced-003.xht (-1 / +1 lines)
Line     Link Here 
 Lines 15-31    Link Here 
15
      p {
15
      p {
16
        display: inline-block;
16
        display: inline-block;
17
        background-color: white;
17
        background-color: white;
18
        padding: 0px 0px;
18
        padding: 0px 0px;
19
        margin: 0px 0px;
19
        margin: 0px 0px;
20
      }
20
      }
21
21
22
      .content-box {
22
      .content-box {
23
        -moz-box-sizing: content-box;
23
        box-sizing: content-box;
24
      }
24
      }
25
25
26
      #img1 {
26
      #img1 {
27
        min-width:   60px;
27
        min-width:   60px;
28
        max-width:  125px;
28
        max-width:  125px;
29
        min-height:  45px;
29
        min-height:  45px;
30
        max-height: 120px;
30
        max-height: 120px;
31
      }
31
      }
(-)a/layout/style/forms.css (-7 / +7 lines)
Line     Link Here 
 Lines 191-207   select { Link Here 
191
   * they need some UA !important rule to test.  If this changes, use a
191
   * they need some UA !important rule to test.  If this changes, use a
192
   * different one there.
192
   * different one there.
193
   */
193
   */
194
  line-height: normal !important;
194
  line-height: normal !important;
195
  white-space: nowrap !important;
195
  white-space: nowrap !important;
196
  word-wrap: normal !important;
196
  word-wrap: normal !important;
197
  text-align: start; 
197
  text-align: start; 
198
  cursor: default;
198
  cursor: default;
199
  -moz-box-sizing: border-box;
199
  box-sizing: border-box;
200
  -moz-user-select: none;
200
  -moz-user-select: none;
201
  -moz-appearance: menulist;
201
  -moz-appearance: menulist;
202
  border-width: 2px;
202
  border-width: 2px;
203
  border-style: inset;
203
  border-style: inset;
204
  text-indent: 0;
204
  text-indent: 0;
205
  overflow: -moz-hidden-unscrollable;
205
  overflow: -moz-hidden-unscrollable;
206
  text-shadow: none;
206
  text-shadow: none;
207
  /* No text-decoration reaching inside, by default */
207
  /* No text-decoration reaching inside, by default */
 Lines 239-255   select > button { Link Here 
239
  position: static !important;
239
  position: static !important;
240
  background-image: url("arrow.gif") !important;
240
  background-image: url("arrow.gif") !important;
241
  background-repeat: no-repeat !important;
241
  background-repeat: no-repeat !important;
242
  background-position: center !important;
242
  background-position: center !important;
243
  -moz-appearance: menulist-button;
243
  -moz-appearance: menulist-button;
244
244
245
  /* Make sure to size correctly if the combobox has a non-auto height. */
245
  /* Make sure to size correctly if the combobox has a non-auto height. */
246
  height: 100% ! important;
246
  height: 100% ! important;
247
  -moz-box-sizing: border-box ! important;
247
  box-sizing: border-box ! important;
248
248
249
  /*
249
  /*
250
    Make sure to align properly with the display frame.  Note that we
250
    Make sure to align properly with the display frame.  Note that we
251
    want the baseline of the combobox to match the baseline of the
251
    want the baseline of the combobox to match the baseline of the
252
    display frame, so the dropmarker is what gets the vertical-align.
252
    display frame, so the dropmarker is what gets the vertical-align.
253
  */
253
  */
254
  vertical-align: top !important;
254
  vertical-align: top !important;
255
}
255
}
 Lines 271-287   select:empty { Link Here 
271
  -moz-padding-start: 4px;
271
  -moz-padding-start: 4px;
272
  -moz-padding-end: 0;
272
  -moz-padding-end: 0;
273
  color: inherit;
273
  color: inherit;
274
  white-space: nowrap;
274
  white-space: nowrap;
275
  text-align: inherit;
275
  text-align: inherit;
276
  -moz-user-select: none;
276
  -moz-user-select: none;
277
  /* Make sure to size correctly if the combobox has a non-auto height. */
277
  /* Make sure to size correctly if the combobox has a non-auto height. */
278
  height: 100% ! important;
278
  height: 100% ! important;
279
  -moz-box-sizing: border-box ! important;
279
  box-sizing: border-box ! important;
280
}
280
}
281
281
282
option {
282
option {
283
  display: block;
283
  display: block;
284
  float: none !important;
284
  float: none !important;
285
  position: static !important;
285
  position: static !important;
286
  min-height: 1em;
286
  min-height: 1em;
287
  line-height: normal !important;
287
  line-height: normal !important;
 Lines 451-467   input[type="file"] > button[type="button Link Here 
451
/* colored part of the color selector button */
451
/* colored part of the color selector button */
452
input[type="color"]:-moz-system-metric(color-picker-available)::-moz-color-swatch {
452
input[type="color"]:-moz-system-metric(color-picker-available)::-moz-color-swatch {
453
  width: 100%;
453
  width: 100%;
454
  height: 100%;
454
  height: 100%;
455
  min-width: 3px;
455
  min-width: 3px;
456
  min-height: 3px;
456
  min-height: 3px;
457
  margin-left: auto;
457
  margin-left: auto;
458
  margin-right: auto;
458
  margin-right: auto;
459
  -moz-box-sizing: border-box;
459
  box-sizing: border-box;
460
  border: 1px solid grey;
460
  border: 1px solid grey;
461
  display: block;
461
  display: block;
462
}
462
}
463
463
464
/* Try to make RTL <input type='file'> look nicer. */
464
/* Try to make RTL <input type='file'> look nicer. */
465
/* TODO: use text-align: match-parent when bug 645642 is fixed. */
465
/* TODO: use text-align: match-parent when bug 645642 is fixed. */
466
input[type="file"]:-moz-dir(rtl) > xul|label {
466
input[type="file"]:-moz-dir(rtl) > xul|label {
467
  -moz-padding-start: 0px;
467
  -moz-padding-start: 0px;
 Lines 487-503   input[type="checkbox"] { Link Here 
487
487
488
/* NOTE: The width, height, border-width, and padding here must all
488
/* NOTE: The width, height, border-width, and padding here must all
489
   add up the way nsFormControlFrame::GetIntrinsic(Width|Height)
489
   add up the way nsFormControlFrame::GetIntrinsic(Width|Height)
490
   expects them to, or they will not come out with total width equal
490
   expects them to, or they will not come out with total width equal
491
   to total height on sites that set their 'width' or 'height' to 'auto'.
491
   to total height on sites that set their 'width' or 'height' to 'auto'.
492
   (Should we maybe set !important on width and height, then?)  */
492
   (Should we maybe set !important on width and height, then?)  */
493
input[type="radio"],
493
input[type="radio"],
494
input[type="checkbox"] {
494
input[type="checkbox"] {
495
  -moz-box-sizing: border-box;
495
  box-sizing: border-box;
496
  width: 13px;
496
  width: 13px;
497
  height: 13px;
497
  height: 13px;
498
  cursor: default;
498
  cursor: default;
499
  padding: 0 !important;
499
  padding: 0 !important;
500
  -moz-binding: none;
500
  -moz-binding: none;
501
  /* same colors as |input| rule, but |!important| this time. */
501
  /* same colors as |input| rule, but |!important| this time. */
502
  background-color: -moz-Field ! important;
502
  background-color: -moz-Field ! important;
503
  color: -moz-FieldText ! important;
503
  color: -moz-FieldText ! important;
 Lines 546-562   input[type="submit"] { Link Here 
546
  -moz-appearance: button;
546
  -moz-appearance: button;
547
  /* The sum of border-top, border-bottom, padding-top, padding-bottom
547
  /* The sum of border-top, border-bottom, padding-top, padding-bottom
548
     must be the same here, for text inputs, and for <select>.  For
548
     must be the same here, for text inputs, and for <select>.  For
549
     buttons, make sure to include the -moz-focus-inner border/padding. */
549
     buttons, make sure to include the -moz-focus-inner border/padding. */
550
  padding: 0px 6px 0px 6px;
550
  padding: 0px 6px 0px 6px;
551
  border: 2px outset ButtonFace;
551
  border: 2px outset ButtonFace;
552
  background-color: ButtonFace;
552
  background-color: ButtonFace;
553
  cursor: default;
553
  cursor: default;
554
  -moz-box-sizing: border-box;
554
  box-sizing: border-box;
555
  -moz-user-select: none;
555
  -moz-user-select: none;
556
  -moz-binding: none;
556
  -moz-binding: none;
557
}
557
}
558
558
559
/* Text-related properties for buttons: these ones are not shared with
559
/* Text-related properties for buttons: these ones are not shared with
560
   input[type="color"] */
560
   input[type="color"] */
561
button,
561
button,
562
input[type="reset"],
562
input[type="reset"],
 Lines 735-751   progress { Link Here 
735
}
735
}
736
736
737
::-moz-progress-bar {
737
::-moz-progress-bar {
738
  /* Prevent styling that would change the type of frame we construct. */
738
  /* Prevent styling that would change the type of frame we construct. */
739
  display: inline-block ! important;
739
  display: inline-block ! important;
740
  float: none ! important;
740
  float: none ! important;
741
  position: static ! important;
741
  position: static ! important;
742
  overflow: visible ! important;
742
  overflow: visible ! important;
743
  -moz-box-sizing: border-box ! important;
743
  box-sizing: border-box ! important;
744
744
745
  -moz-appearance: progresschunk;
745
  -moz-appearance: progresschunk;
746
  height: 100%;
746
  height: 100%;
747
  width: 100%;
747
  width: 100%;
748
748
749
  /* Default style in case of there is -moz-appearance: none; */
749
  /* Default style in case of there is -moz-appearance: none; */
750
  background-color: #0064b4; /* blue */
750
  background-color: #0064b4; /* blue */
751
}
751
}
(-)a/layout/style/html.css (-3 / +3 lines)
Line     Link Here 
 Lines 242-258   xmp, pre, plaintext { Link Here 
242
242
243
table {
243
table {
244
  display: table;
244
  display: table;
245
  border-spacing: 2px;
245
  border-spacing: 2px;
246
  border-collapse: separate;
246
  border-collapse: separate;
247
  margin-top: 0;
247
  margin-top: 0;
248
  margin-bottom: 0;
248
  margin-bottom: 0;
249
  /* XXXldb do we want this if we're border-collapse:collapse ? */
249
  /* XXXldb do we want this if we're border-collapse:collapse ? */
250
  -moz-box-sizing: border-box;
250
  box-sizing: border-box;
251
  text-indent: 0;
251
  text-indent: 0;
252
}
252
}
253
253
254
table[align="left"] {
254
table[align="left"] {
255
  float: left;
255
  float: left;
256
}
256
}
257
257
258
table[align="right"] {
258
table[align="right"] {
 Lines 599-615   li { Link Here 
599
 */
599
 */
600
hr {
600
hr {
601
  display: block;
601
  display: block;
602
  height: 2px;
602
  height: 2px;
603
  border: 1px inset;
603
  border: 1px inset;
604
  margin: 0.5em auto 0.5em auto;
604
  margin: 0.5em auto 0.5em auto;
605
  color: gray;
605
  color: gray;
606
  -moz-float-edge: margin-box;
606
  -moz-float-edge: margin-box;
607
  -moz-box-sizing: border-box;
607
  box-sizing: border-box;
608
}
608
}
609
609
610
hr[size="1"] {
610
hr[size="1"] {
611
  border-style: solid none none none;
611
  border-style: solid none none none;
612
}
612
}
613
613
614
img:-moz-broken::before, input:-moz-broken::before,
614
img:-moz-broken::before, input:-moz-broken::before,
615
img:-moz-user-disabled::before, input:-moz-user-disabled::before,
615
img:-moz-user-disabled::before, input:-moz-user-disabled::before,
 Lines 725-741   audio:not([controls]) { Link Here 
725
  /* we want to be an absolute and fixed container */
725
  /* we want to be an absolute and fixed container */
726
  -moz-transform: translate(0) !important;
726
  -moz-transform: translate(0) !important;
727
}
727
}
728
728
729
video > .caption-box {
729
video > .caption-box {
730
  position: relative;
730
  position: relative;
731
  overflow: hidden;
731
  overflow: hidden;
732
  padding: 1.5%;
732
  padding: 1.5%;
733
  -moz-box-sizing: border-box;
733
  box-sizing: border-box;
734
}
734
}
735
735
736
/* emulation of non-standard HTML <marquee> tag */
736
/* emulation of non-standard HTML <marquee> tag */
737
marquee {
737
marquee {
738
  width: -moz-available;
738
  width: -moz-available;
739
  display: inline-block;
739
  display: inline-block;
740
  vertical-align: text-bottom;
740
  vertical-align: text-bottom;
741
  text-align: start;
741
  text-align: start;
(-)a/layout/style/quirk.css (-1 / +1 lines)
Line     Link Here 
 Lines 214-228   img[align=right] { Link Here 
214
/*
214
/*
215
 * Quirk: Use border-box box sizing for text inputs, password inputs, and
215
 * Quirk: Use border-box box sizing for text inputs, password inputs, and
216
 * textareas.  (b=184478 on why we use content-box sizing in standards mode)
216
 * textareas.  (b=184478 on why we use content-box sizing in standards mode)
217
 */
217
 */
218
218
219
/* Note that all other <input>s already use border-box
219
/* Note that all other <input>s already use border-box
220
   sizing, so we're ok with this selector */
220
   sizing, so we're ok with this selector */
221
input:not([type=image]), textarea {
221
input:not([type=image]), textarea {
222
  -moz-box-sizing: border-box;
222
  box-sizing: border-box;
223
}
223
}
224
224
225
/* Quirk: give form margin for compat (b=41806) */
225
/* Quirk: give form margin for compat (b=41806) */
226
form{
226
form{
227
 margin-bottom: 1em;
227
 margin-bottom: 1em;
228
}
228
}
(-)a/layout/style/ua.css (-3 / +3 lines)
Line     Link Here 
 Lines 11-32    Link Here 
11
/* magic -- some of these rules are important to keep pages from overriding
11
/* magic -- some of these rules are important to keep pages from overriding
12
            them
12
            them
13
*/
13
*/
14
14
15
/* Tables */
15
/* Tables */
16
16
17
*|*::-moz-table {
17
*|*::-moz-table {
18
  display: table !important;
18
  display: table !important;
19
  -moz-box-sizing: border-box; /* XXX do we really want this? */
19
  box-sizing: border-box; /* XXX do we really want this? */
20
}
20
}
21
21
22
*|*::-moz-inline-table {
22
*|*::-moz-inline-table {
23
  display: inline-table !important;
23
  display: inline-table !important;
24
  -moz-box-sizing: border-box; /* XXX do we really want this? */
24
  box-sizing: border-box; /* XXX do we really want this? */
25
}
25
}
26
26
27
*|*::-moz-table-outer {
27
*|*::-moz-table-outer {
28
  display: inherit !important; /* table or inline-table */
28
  display: inherit !important; /* table or inline-table */
29
  margin: inherit ! important;
29
  margin: inherit ! important;
30
  padding: 0 ! important;
30
  padding: 0 ! important;
31
  border: none ! important;
31
  border: none ! important;
32
  float: inherit;
32
  float: inherit;
 Lines 243-259    Link Here 
243
  background: black;
243
  background: black;
244
  width: 100% !important;
244
  width: 100% !important;
245
  height: 100% !important;
245
  height: 100% !important;
246
  margin: 0 !important;
246
  margin: 0 !important;
247
  min-width: 0 !important;
247
  min-width: 0 !important;
248
  max-width: none !important;
248
  max-width: none !important;
249
  min-height: 0 !important;
249
  min-height: 0 !important;
250
  max-height: none !important;
250
  max-height: none !important;
251
  -moz-box-sizing: border-box !important; 
251
  box-sizing: border-box !important;
252
}
252
}
253
253
254
/* If there is a full-screen element that is not the root then
254
/* If there is a full-screen element that is not the root then
255
   we should hide the viewport scrollbar. We exclude the chrome
255
   we should hide the viewport scrollbar. We exclude the chrome
256
   document to prevent reframing of contained plugins. */
256
   document to prevent reframing of contained plugins. */
257
:not(xul|*):root:-moz-full-screen-ancestor {
257
:not(xul|*):root:-moz-full-screen-ancestor {
258
  overflow: hidden !important;
258
  overflow: hidden !important;
259
}
259
}
(-)a/layout/xul/reftest/image-size-ref.xul (-25 / +25 lines)
Line     Link Here 
 Lines 12-51   div div { background: blue; display: inl Link Here 
12
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
12
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
13
      src="image4x3.png" style="width: 80px; height: 20px;"/><html:img
13
      src="image4x3.png" style="width: 80px; height: 20px;"/><html:img
14
      src="image4x3.png" style="width: 10px; height: 70px;"/><html:img
14
      src="image4x3.png" style="width: 10px; height: 70px;"/><html:img
15
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
15
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
16
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
16
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
17
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
17
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
18
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
18
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
19
      src="image4x3.png" style="width: 40px; height: 30px; border: 8px solid green;"/><html:img
19
      src="image4x3.png" style="width: 40px; height: 30px; border: 8px solid green;"/><html:img
20
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 80px; height: 64px; border: 8px solid yellow;"/><html:img
20
      src="image4x3.png" style="box-sizing: border-box; width: 80px; height: 64px; border: 8px solid yellow;"/><html:img
21
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 72px; height: 58px; border: 8px solid green;"/><html:img
21
      src="image4x3.png" style="box-sizing: border-box; width: 72px; height: 58px; border: 8px solid green;"/><html:img
22
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 24px; height: 22px; border: 8px solid yellow;"/><html:img
22
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid yellow;"/><html:img
23
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/><html:img
23
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/><html:img
24
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 74px; height: 53px; border: solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/><html:img
24
      src="image4x3.png" style="box-sizing: border-box; width: 74px; height: 53px; border: solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/><html:img
25
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 18px; height: 11px; border: solid green; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
25
      src="image4x3.png" style="box-sizing: border-box; width: 18px; height: 11px; border: solid green; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
26
</html:div>
26
</html:div>
27
27
28
<html:div><html:img
28
<html:div><html:img
29
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
29
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
30
      src="image4x3.png" style="width: 80px; height: 20px;"/><html:img
30
      src="image4x3.png" style="width: 80px; height: 20px;"/><html:img
31
      src="image4x3.png" style="width: 10px; height: 70px;"/><html:img
31
      src="image4x3.png" style="width: 10px; height: 70px;"/><html:img
32
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
32
      src="image4x3.png" style="width: 80px; height: 60px;"/><html:img
33
      src="image4x3.png" style="height: 80px; height: 60px;"/><html:img
33
      src="image4x3.png" style="height: 80px; height: 60px;"/><html:img
34
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
34
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
35
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
35
      src="image4x3.png" style="width: 20px; height: 15px;"/><html:img
36
      src="image4x3.png" style="width: 60px; height: 25px;"/><html:img
36
      src="image4x3.png" style="width: 60px; height: 25px;"/><html:img
37
      src="image4x3.png" style="width: 20px; height: 75px;"/><html:img
37
      src="image4x3.png" style="width: 20px; height: 75px;"/><html:img
38
      src="image4x3.png" style="width: 80px; height: 64px; padding: 8px; -moz-box-sizing: border-box;"/><html:img
38
      src="image4x3.png" style="width: 80px; height: 64px; padding: 8px; box-sizing: border-box;"/><html:img
39
      src="image4x3.png" style="width: 72px; height: 58px; padding: 8px; -moz-box-sizing: border-box;"/><html:img
39
      src="image4x3.png" style="width: 72px; height: 58px; padding: 8px; box-sizing: border-box;"/><html:img
40
      src="image4x3.png" style="width: 24px; height: 22px; padding: 8px; -moz-box-sizing: border-box;"/><html:img
40
      src="image4x3.png" style="width: 24px; height: 22px; padding: 8px; box-sizing: border-box;"/><html:img
41
      src="image4x3.png" style="width: 24px; height: 22px; padding: 8px; -moz-box-sizing: border-box;"/><html:img
41
      src="image4x3.png" style="width: 24px; height: 22px; padding: 8px; box-sizing: border-box;"/><html:img
42
      src="image4x3.png" style="width: 67px; height: 60px; padding: 4px 2px 8px 1px; -moz-box-sizing: border-box;"/><html:img
42
      src="image4x3.png" style="width: 67px; height: 60px; padding: 4px 2px 8px 1px; box-sizing: border-box;"/><html:img
43
      src="image4x3.png" style="width: 11px; height: 18px; padding: 4px 2px 8px 1px; -moz-box-sizing: border-box;"/>
43
      src="image4x3.png" style="width: 11px; height: 18px; padding: 4px 2px 8px 1px; box-sizing: border-box;"/>
44
</html:div>
44
</html:div>
45
45
46
<html:div><html:img
46
<html:div><html:img
47
      src="image4x3.png" style="width: 20px; height: 15px;"/>
47
      src="image4x3.png" style="width: 20px; height: 15px;"/>
48
</html:div>
48
</html:div>
49
49
50
<html:div><html:img
50
<html:div><html:img
51
      src="image4x3.png" style="width: 20px; height: 15px;"/>
51
      src="image4x3.png" style="width: 20px; height: 15px;"/>
 Lines 63-115   div div { background: blue; display: inl Link Here 
63
      src="image4x3.png" style="width: 20px; height: 15px;"/>
63
      src="image4x3.png" style="width: 20px; height: 15px;"/>
64
</html:div>
64
</html:div>
65
65
66
<html:div><html:img
66
<html:div><html:img
67
      src="image4x3.png" style="width 30px; height: 22.5px;"/>
67
      src="image4x3.png" style="width 30px; height: 22.5px;"/>
68
</html:div>
68
</html:div>
69
69
70
<html:div><html:img
70
<html:div><html:img
71
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/>
71
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/>
72
</html:div>
72
</html:div>
73
73
74
<html:div><html:img
74
<html:div><html:img
75
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/>
75
      src="image4x3.png" style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/>
76
</html:div>
76
</html:div>
77
77
78
<html:div><html:img
78
<html:div><html:img
79
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
79
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
80
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
80
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
81
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
81
      src="image4x3.png" style="width: 40px; height: 30px;"/><html:img
82
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 60px; height: 49px; border: 8px solid green;"/><html:img
82
      src="image4x3.png" style="box-sizing: border-box; width: 60px; height: 49px; border: 8px solid green;"/><html:img
83
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 112px; height: 88px; border: 8px solid yellow;"/><html:img
83
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; border: 8px solid yellow;"/><html:img
84
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 96px; height: 76px; border: 8px solid green;"/><html:img
84
      src="image4x3.png" style="box-sizing: border-box; width: 96px; height: 76px; border: 8px solid green;"/><html:img
85
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 112px; height: 88px; border: 8px solid yellow;"/><html:img
85
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; border: 8px solid yellow;"/><html:img
86
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 106px; height: 77px; border: solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
86
      src="image4x3.png" style="box-sizing: border-box; width: 106px; height: 77px; border: solid yellow; border-top-width: 1px; border-right-width: 2px; border-bottom-width: 4px; border-left-width: 8px;"/>
87
</html:div>
87
</html:div>
88
88
89
<html:div><html:img
89
<html:div><html:img
90
      src="image4x3.png" style="width: 60px; height: 45px;"/><html:img
90
      src="image4x3.png" style="width: 60px; height: 45px;"/><html:img
91
      src="image4x3.png" style="width: 120px; height: 90px;"/><html:img
91
      src="image4x3.png" style="width: 120px; height: 90px;"/><html:img
92
      src="image4x3.png" style="width 60px; height: 45px;"/><html:img
92
      src="image4x3.png" style="width 60px; height: 45px;"/><html:img
93
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 60px; height: 49px; padding: 8px;"/><html:img
93
      src="image4x3.png" style="box-sizing: border-box; width: 60px; height: 49px; padding: 8px;"/><html:img
94
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 112px; height: 88px; padding: 8px;"/><html:img
94
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; padding: 8px;"/><html:img
95
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 96px; height: 76px; padding: 8px;"/><html:img
95
      src="image4x3.png" style="box-sizing: border-box; width: 96px; height: 76px; padding: 8px;"/><html:img
96
      src="image4x3.png" style="-moz-box-sizing: border-box; width: 112px; height: 88px; padding: 8px;"/>
96
      src="image4x3.png" style="box-sizing: border-box; width: 112px; height: 88px; padding: 8px;"/>
97
</html:div>
97
</html:div>
98
98
99
<html:div><html:div
99
<html:div><html:div
100
      style="width: 20px; height: 15px;"/><html:div
100
      style="width: 20px; height: 15px;"/><html:div
101
      style="width: 80px; height: 60px;"/><html:div
101
      style="width: 80px; height: 60px;"/><html:div
102
      style="width: 40px; height: 30px;"/><html:div
102
      style="width: 40px; height: 30px;"/><html:div
103
      style="width: 10px; height: 8px;"/><html:div
103
      style="width: 10px; height: 8px;"/><html:div
104
      style="width: 10px; height: 8px;"/>
104
      style="width: 10px; height: 8px;"/>
105
</html:div>
105
</html:div>
106
    
106
    
107
<html:div><html:div style="width: 20px; height: 15px;"/></html:div>
107
<html:div><html:div style="width: 20px; height: 15px;"/></html:div>
108
108
109
<html:div><html:div style="width: 20px; height: 15px;"/></html:div>
109
<html:div><html:div style="width: 20px; height: 15px;"/></html:div>
110
110
111
<html:div><html:div style="-moz-box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/></html:div>
111
<html:div><html:div style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/></html:div>
112
112
113
<html:div><html:div style="-moz-box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/></html:div>
113
<html:div><html:div style="box-sizing: border-box; width: 24px; height: 22px; border: 8px solid green;"/></html:div>
114
114
115
</window>
115
</window>
(-)a/layout/xul/test/test_bug563416.html (-1 / +1 lines)
Line     Link Here 
 Lines 5-21   https://bugzilla.mozilla.org/show_bug.cg Link Here 
5
-->
5
-->
6
<head>
6
<head>
7
  <title>Test for Bug 563416</title>
7
  <title>Test for Bug 563416</title>
8
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
8
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>
9
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
9
  <link rel="stylesheet" type="text/css" href="/tests/SimpleTest/test.css"/>
10
</head>
10
</head>
11
<body>
11
<body>
12
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=563416">Mozilla Bug 563416</a>
12
<a target="_blank" href="https://bugzilla.mozilla.org/show_bug.cgi?id=563416">Mozilla Bug 563416</a>
13
<p id="display"><iframe id="test" src='data:text/html,<textarea style="-moz-box-sizing:content-box; -moz-appearance:none; height: 0px; padding: 0px;" cols="20" rows="10">hsldkjvmshlkkajskdlfksdjflskdjflskdjflskdjflskdjfddddddddd</textarea>'></iframe></p>
13
<p id="display"><iframe id="test" src='data:text/html,<textarea style="box-sizing:content-box; -moz-appearance:none; height: 0px; padding: 0px;" cols="20" rows="10">hsldkjvmshlkkajskdlfksdjflskdjflskdjflskdjflskdjfddddddddd</textarea>'></iframe></p>
14
<div id="content" style="display: none">
14
<div id="content" style="display: none">
15
  
15
  
16
</div>
16
</div>
17
<pre id="test">
17
<pre id="test">
18
<script type="application/javascript">
18
<script type="application/javascript">
19
19
20
/** Test for Bug 563416 **/
20
/** Test for Bug 563416 **/
21
21
(-)a/mobile/android/themes/core/aboutAddons.css (-1 / +1 lines)
Line     Link Here 
 Lines 64-80    Link Here 
64
  display: none;
64
  display: none;
65
}
65
}
66
66
67
setting {
67
setting {
68
  padding: 1em .67em;
68
  padding: 1em .67em;
69
  border-top: 2px solid;
69
  border-top: 2px solid;
70
  -moz-border-top-colors: #bac2ac #ffffff;
70
  -moz-border-top-colors: #bac2ac #ffffff;
71
  -moz-box-align: center;
71
  -moz-box-align: center;
72
  -moz-box-sizing: border-box;
72
  box-sizing: border-box;
73
  width: 100%;
73
  width: 100%;
74
}
74
}
75
75
76
setting > vbox {
76
setting > vbox {
77
  -moz-box-flex: 1;
77
  -moz-box-flex: 1;
78
}
78
}
79
79
80
.preferences-title {
80
.preferences-title {
(-)a/mobile/android/themes/core/config.css (-4 / +4 lines)
Line     Link Here 
 Lines 63-79   body { Link Here 
63
#filter-input:-moz-placeholder {
63
#filter-input:-moz-placeholder {
64
    color: rgba(255,255,255,0.5);
64
    color: rgba(255,255,255,0.5);
65
}
65
}
66
66
67
.toolbar input {
67
.toolbar input {
68
    display: inline-block;
68
    display: inline-block;
69
    height: 100%;
69
    height: 100%;
70
    min-width: 3em;
70
    min-width: 3em;
71
    -moz-box-sizing: border-box;
71
    box-sizing: border-box;
72
    opacity: 0.75;
72
    opacity: 0.75;
73
}
73
}
74
74
75
#new-pref-toggle-button {
75
#new-pref-toggle-button {
76
    background-position: center center;
76
    background-position: center center;
77
    background-image: url("chrome://browser/skin/images/reader-plus-icon-xhdpi.png");
77
    background-image: url("chrome://browser/skin/images/reader-plus-icon-xhdpi.png");
78
    background-size: 48px 48px;
78
    background-size: 48px 48px;
79
    height: 48px;
79
    height: 48px;
 Lines 127-152   ul { Link Here 
127
    list-style-position: inside;
127
    list-style-position: inside;
128
    border: 1px solid #808080;
128
    border: 1px solid #808080;
129
    background-color: #ffffff;
129
    background-color: #ffffff;
130
    min-height: 100%;
130
    min-height: 100%;
131
    width: 100%;
131
    width: 100%;
132
    padding-top: 0;
132
    padding-top: 0;
133
    margin: 0;
133
    margin: 0;
134
    padding-left: 0;
134
    padding-left: 0;
135
    -moz-box-sizing: border-box;
135
    box-sizing: border-box;
136
    box-shadow: 0 0 5px #000000;
136
    box-shadow: 0 0 5px #000000;
137
    overflow-x: hidden;
137
    overflow-x: hidden;
138
}
138
}
139
139
140
#new-pref-container {
140
#new-pref-container {
141
    width: 100%;
141
    width: 100%;
142
    margin: 0;
142
    margin: 0;
143
    background-color: #ffffff;
143
    background-color: #ffffff;
144
    -moz-box-sizing: border-box;
144
    box-sizing: border-box;
145
    box-shadow: 0 0 5px #000000;
145
    box-shadow: 0 0 5px #000000;
146
    overflow-x: hidden;
146
    overflow-x: hidden;
147
    max-width: 40em;
147
    max-width: 40em;
148
    max-height: 100%;
148
    max-height: 100%;
149
    position: fixed;
149
    position: fixed;
150
    top: 3em;
150
    top: 3em;
151
    left: auto;
151
    left: auto;
152
    display: none;
152
    display: none;
 Lines 259-275   li { Link Here 
259
}
259
}
260
260
261
.pref-item.selected {
261
.pref-item.selected {
262
    background-color: rgba(0,0,255,0.05);
262
    background-color: rgba(0,0,255,0.05);
263
}
263
}
264
264
265
.pref-button {
265
.pref-button {
266
    display: inline-block;
266
    display: inline-block;
267
    -moz-box-sizing: border-box;
267
    box-sizing: border-box;
268
    text-align: center;
268
    text-align: center;
269
    padding: 10px 1em;
269
    padding: 10px 1em;
270
    border-left: 1px solid rgba(0,0,0,0.1);
270
    border-left: 1px solid rgba(0,0,0,0.1);
271
    opacity: 0;
271
    opacity: 0;
272
    transition-property: opacity;
272
    transition-property: opacity;
273
    transition-duration: 500ms;
273
    transition-duration: 500ms;
274
}
274
}
275
275
(-)a/testing/xpcshell/node-http2/doc/docco.css (-5 / +1 lines)
Line     Link Here 
 Lines 129-149   ul.sections { Link Here 
129
129
130
/*
130
/*
131
  Force border-box so that % widths fit the parent
131
  Force border-box so that % widths fit the parent
132
  container without overlap because of margin/padding.
132
  container without overlap because of margin/padding.
133
133
134
  More Info : http://www.quirksmode.org/css/box.html
134
  More Info : http://www.quirksmode.org/css/box.html
135
*/
135
*/
136
ul.sections > li > div {
136
ul.sections > li > div {
137
  -moz-box-sizing: border-box;    /* firefox */
137
  box-sizing: border-box;
138
  -ms-box-sizing: border-box;     /* ie */
139
  -webkit-box-sizing: border-box; /* webkit */
140
  -khtml-box-sizing: border-box;  /* konqueror */
141
  box-sizing: border-box;         /* css3 */
142
}
138
}
143
139
144
140
145
/*---------------------- Jump Page -----------------------------*/
141
/*---------------------- Jump Page -----------------------------*/
146
#jump_to, #jump_page {
142
#jump_to, #jump_page {
147
  margin: 0;
143
  margin: 0;
148
  background: white;
144
  background: white;
149
  -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
145
  -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
(-)a/testing/xpcshell/node-http2/doc/public/stylesheets/normalize.css (-6 / +3 lines)
Line     Link Here 
 Lines 315-339   input[disabled] { Link Here 
315
input[type="checkbox"],
315
input[type="checkbox"],
316
input[type="radio"] {
316
input[type="radio"] {
317
    box-sizing: border-box; /* 1 */
317
    box-sizing: border-box; /* 1 */
318
    padding: 0; /* 2 */
318
    padding: 0; /* 2 */
319
}
319
}
320
320
321
/*
321
/*
322
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
322
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
323
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
323
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome.
324
 *    (include `-moz` to future-proof).
325
 */
324
 */
326
325
327
input[type="search"] {
326
input[type="search"] {
328
    -webkit-appearance: textfield; /* 1 */
327
    -webkit-appearance: textfield; /* 1 */
329
    -moz-box-sizing: content-box;
328
    box-sizing: content-box; /* 2 */
330
    -webkit-box-sizing: content-box; /* 2 */
331
    box-sizing: content-box;
332
}
329
}
333
330
334
/*
331
/*
335
 * Removes inner padding and search cancel button in Safari 5 and Chrome
332
 * Removes inner padding and search cancel button in Safari 5 and Chrome
336
 * on OS X.
333
 * on OS X.
337
 */
334
 */
338
335
339
input[type="search"]::-webkit-search-cancel-button,
336
input[type="search"]::-webkit-search-cancel-button,
 Lines 367-375   textarea { Link Here 
367
364
368
/*
365
/*
369
 * Remove most spacing between table cells.
366
 * Remove most spacing between table cells.
370
 */
367
 */
371
368
372
table {
369
table {
373
    border-collapse: collapse;
370
    border-collapse: collapse;
374
    border-spacing: 0;
371
    border-spacing: 0;
375
}
372
}
(-)a/testing/xpcshell/node-http2/node_modules/http2-protocol/doc/docco.css (-5 / +1 lines)
Line     Link Here 
 Lines 129-149   ul.sections { Link Here 
129
129
130
/*
130
/*
131
  Force border-box so that % widths fit the parent
131
  Force border-box so that % widths fit the parent
132
  container without overlap because of margin/padding.
132
  container without overlap because of margin/padding.
133
133
134
  More Info : http://www.quirksmode.org/css/box.html
134
  More Info : http://www.quirksmode.org/css/box.html
135
*/
135
*/
136
ul.sections > li > div {
136
ul.sections > li > div {
137
  -moz-box-sizing: border-box;    /* firefox */
137
  box-sizing: border-box;
138
  -ms-box-sizing: border-box;     /* ie */
139
  -webkit-box-sizing: border-box; /* webkit */
140
  -khtml-box-sizing: border-box;  /* konqueror */
141
  box-sizing: border-box;         /* css3 */
142
}
138
}
143
139
144
140
145
/*---------------------- Jump Page -----------------------------*/
141
/*---------------------- Jump Page -----------------------------*/
146
#jump_to, #jump_page {
142
#jump_to, #jump_page {
147
  margin: 0;
143
  margin: 0;
148
  background: white;
144
  background: white;
149
  -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
145
  -webkit-box-shadow: 0 0 25px #777; -moz-box-shadow: 0 0 25px #777;
(-)a/testing/xpcshell/node-http2/node_modules/http2-protocol/doc/public/stylesheets/normalize.css (-6 / +3 lines)
Line     Link Here 
 Lines 315-339   input[disabled] { Link Here 
315
input[type="checkbox"],
315
input[type="checkbox"],
316
input[type="radio"] {
316
input[type="radio"] {
317
    box-sizing: border-box; /* 1 */
317
    box-sizing: border-box; /* 1 */
318
    padding: 0; /* 2 */
318
    padding: 0; /* 2 */
319
}
319
}
320
320
321
/*
321
/*
322
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
322
 * 1. Addresses `appearance` set to `searchfield` in Safari 5 and Chrome.
323
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome
323
 * 2. Addresses `box-sizing` set to `border-box` in Safari 5 and Chrome.
324
 *    (include `-moz` to future-proof).
325
 */
324
 */
326
325
327
input[type="search"] {
326
input[type="search"] {
328
    -webkit-appearance: textfield; /* 1 */
327
    -webkit-appearance: textfield; /* 1 */
329
    -moz-box-sizing: content-box;
328
    box-sizing: content-box; /* 2 */
330
    -webkit-box-sizing: content-box; /* 2 */
331
    box-sizing: content-box;
332
}
329
}
333
330
334
/*
331
/*
335
 * Removes inner padding and search cancel button in Safari 5 and Chrome
332
 * Removes inner padding and search cancel button in Safari 5 and Chrome
336
 * on OS X.
333
 * on OS X.
337
 */
334
 */
338
335
339
input[type="search"]::-webkit-search-cancel-button,
336
input[type="search"]::-webkit-search-cancel-button,
 Lines 367-375   textarea { Link Here 
367
364
368
/*
365
/*
369
 * Remove most spacing between table cells.
366
 * Remove most spacing between table cells.
370
 */
367
 */
371
368
372
table {
369
table {
373
    border-collapse: collapse;
370
    border-collapse: collapse;
374
    border-spacing: 0;
371
    border-spacing: 0;
375
}
372
}
(-)a/toolkit/content/textbox.css (-2 / +2 lines)
Line     Link Here 
 Lines 4-27    Link Here 
4
4
5
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
5
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
6
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
6
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
7
7
8
html|*.textbox-input {
8
html|*.textbox-input {
9
  -moz-appearance: none !important;
9
  -moz-appearance: none !important;
10
  text-align: inherit;
10
  text-align: inherit;
11
  text-shadow: inherit;
11
  text-shadow: inherit;
12
  -moz-box-sizing: border-box;
12
  box-sizing: border-box;
13
  -moz-box-flex: 1;
13
  -moz-box-flex: 1;
14
}
14
}
15
15
16
html|*.textbox-textarea {
16
html|*.textbox-textarea {
17
  -moz-appearance: none !important;
17
  -moz-appearance: none !important;
18
  text-shadow: inherit;
18
  text-shadow: inherit;
19
  -moz-box-sizing: border-box;
19
  box-sizing: border-box;
20
  -moz-box-flex: 1;
20
  -moz-box-flex: 1;
21
}
21
}
22
22
23
/*
23
/*
24
html|*.textbox-input::-moz-placeholder,
24
html|*.textbox-input::-moz-placeholder,
25
html|*.textbox-textarea::-moz-placeholder {
25
html|*.textbox-textarea::-moz-placeholder {
26
  text-align: left;
26
  text-align: left;
27
  direction: ltr;
27
  direction: ltr;
(-)a/toolkit/content/xul.css (-1 / +1 lines)
Line     Link Here 
 Lines 13-29    Link Here 
13
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
13
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */
14
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
14
@namespace html url("http://www.w3.org/1999/xhtml"); /* namespace for HTML elements */
15
@namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
15
@namespace xbl url("http://www.mozilla.org/xbl"); /* namespace for XBL elements */
16
16
17
* {
17
* {
18
  -moz-user-focus: ignore;
18
  -moz-user-focus: ignore;
19
  -moz-user-select: none;
19
  -moz-user-select: none;
20
  display: -moz-box;
20
  display: -moz-box;
21
  -moz-box-sizing: border-box;
21
  box-sizing: border-box;
22
}
22
}
23
23
24
:root {
24
:root {
25
  text-rendering: optimizeLegibility;
25
  text-rendering: optimizeLegibility;
26
  -moz-binding: url("chrome://global/content/bindings/general.xml#root-element");
26
  -moz-binding: url("chrome://global/content/bindings/general.xml#root-element");
27
}
27
}
28
28
29
:root:-moz-locale-dir(rtl) {
29
:root:-moz-locale-dir(rtl) {
(-)a/toolkit/themes/linux/mozapps/extensions/extensions.css (-1 / +1 lines)
Line     Link Here 
 Lines 649-665    Link Here 
649
}
649
}
650
650
651
#detail-screenshot[loading] {
651
#detail-screenshot[loading] {
652
  background-image: url("chrome://global/skin/icons/loading_16.png");
652
  background-image: url("chrome://global/skin/icons/loading_16.png");
653
  background-position: 50% 50%;
653
  background-position: 50% 50%;
654
  background-repeat: no-repeat;
654
  background-repeat: no-repeat;
655
  border: 1px threedshadow solid;
655
  border: 1px threedshadow solid;
656
  border-radius: 5px;
656
  border-radius: 5px;
657
  -moz-box-sizing: border-box;
657
  box-sizing: border-box;
658
}
658
}
659
659
660
#detail-screenshot[loading="error"] {
660
#detail-screenshot[loading="error"] {
661
  background-image: url("chrome://global/skin/media/error.png");
661
  background-image: url("chrome://global/skin/media/error.png");
662
}
662
}
663
663
664
#detail-desc-container {
664
#detail-desc-container {
665
  margin-bottom: 2em;
665
  margin-bottom: 2em;
(-)a/toolkit/themes/linux/mozapps/extensions/selectAddons.css (-2 / +2 lines)
Line     Link Here 
 Lines 65-81    Link Here 
65
65
66
.select-cell {
66
.select-cell {
67
  -moz-box-align: center;
67
  -moz-box-align: center;
68
  -moz-box-pack: start;
68
  -moz-box-pack: start;
69
}
69
}
70
70
71
#select-header .select-cell {
71
#select-header .select-cell {
72
  -moz-appearance: treeheadercell;
72
  -moz-appearance: treeheadercell;
73
  -moz-box-sizing: border-box;
73
  box-sizing: border-box;
74
}
74
}
75
75
76
.select-keep {
76
.select-keep {
77
  -moz-box-pack: center;
77
  -moz-box-pack: center;
78
}
78
}
79
79
80
.select-keep .checkbox-label-box {
80
.select-keep .checkbox-label-box {
81
  display: none;
81
  display: none;
 Lines 91-107    Link Here 
91
91
92
#select-grid separator {
92
#select-grid separator {
93
  display: none;
93
  display: none;
94
}
94
}
95
95
96
.addon-name,
96
.addon-name,
97
.addon-action-message,
97
.addon-action-message,
98
.addon-action-update {
98
.addon-action-update {
99
  -moz-box-sizing: border-box;
99
  box-sizing: border-box;
100
  margin: 0;
100
  margin: 0;
101
  padding-top: 1px;
101
  padding-top: 1px;
102
  padding-bottom: 2px;
102
  padding-bottom: 2px;
103
  -moz-padding-start: 6px;
103
  -moz-padding-start: 6px;
104
  -moz-padding-end: 5px;
104
  -moz-padding-end: 5px;
105
}
105
}
106
106
107
.addon:not([active]) .addon-name,
107
.addon:not([active]) .addon-name,
(-)a/toolkit/themes/osx/mozapps/extensions/selectAddons.css (-2 / +2 lines)
Line     Link Here 
 Lines 60-76    Link Here 
60
#select-grid checkbox {
60
#select-grid checkbox {
61
  margin-top: 0;
61
  margin-top: 0;
62
  margin-bottom: 0;
62
  margin-bottom: 0;
63
}
63
}
64
64
65
.select-cell {
65
.select-cell {
66
  -moz-box-align: center;
66
  -moz-box-align: center;
67
  -moz-box-pack: start;
67
  -moz-box-pack: start;
68
  -moz-box-sizing: border-box;
68
  box-sizing: border-box;
69
}
69
}
70
70
71
#select-header {
71
#select-header {
72
  background-color: Window !important;
72
  background-color: Window !important;
73
}
73
}
74
74
75
#select-header .select-cell {
75
#select-header .select-cell {
76
  -moz-appearance: treeheadercell;
76
  -moz-appearance: treeheadercell;
 Lines 93-109    Link Here 
93
93
94
#select-grid separator {
94
#select-grid separator {
95
  display: none;
95
  display: none;
96
}
96
}
97
97
98
.addon-name,
98
.addon-name,
99
.addon-action-message,
99
.addon-action-message,
100
.addon-action-update {
100
.addon-action-update {
101
  -moz-box-sizing: border-box;
101
  box-sizing: border-box;
102
  margin: 0;
102
  margin: 0;
103
  padding: 2px 6px;
103
  padding: 2px 6px;
104
}
104
}
105
105
106
.addon:not([active]) .addon-name,
106
.addon:not([active]) .addon-name,
107
.addon:not([active]) .addon-action-message,
107
.addon:not([active]) .addon-action-message,
108
.addon:not([active]) .addon-action-update {
108
.addon:not([active]) .addon-action-update {
109
  color: GrayText;
109
  color: GrayText;
(-)a/toolkit/themes/shared/plugins/pluginProblem.css (-1 / +1 lines)
Line     Link Here 
 Lines 16-32    Link Here 
16
  background-color: rgb(72,72,72);
16
  background-color: rgb(72,72,72);
17
  color: white;
17
  color: white;
18
  -moz-user-select: none;
18
  -moz-user-select: none;
19
  position: relative;
19
  position: relative;
20
}
20
}
21
21
22
.hoverBox {
22
.hoverBox {
23
  display: table-cell;
23
  display: table-cell;
24
  -moz-box-sizing: border-box;
24
  box-sizing: border-box;
25
  padding: 5px;
25
  padding: 5px;
26
  vertical-align: middle;
26
  vertical-align: middle;
27
  width: 100%;
27
  width: 100%;
28
  height: 100%;
28
  height: 100%;
29
}
29
}
30
:-moz-handler-vulnerable-updatable .hoverBox:active,
30
:-moz-handler-vulnerable-updatable .hoverBox:active,
31
:-moz-handler-vulnerable-no-update .hoverBox:active,
31
:-moz-handler-vulnerable-no-update .hoverBox:active,
32
:-moz-handler-clicktoplay .hoverBox:active {
32
:-moz-handler-clicktoplay .hoverBox:active {
(-)a/toolkit/themes/windows/mozapps/extensions/selectAddons.css (-2 / +2 lines)
Line     Link Here 
 Lines 59-75    Link Here 
59
}
59
}
60
60
61
.select-cell {
61
.select-cell {
62
  -moz-box-align: center;
62
  -moz-box-align: center;
63
  -moz-box-pack: start;
63
  -moz-box-pack: start;
64
}
64
}
65
65
66
#select-header .select-cell {
66
#select-header .select-cell {
67
  -moz-box-sizing: border-box;
67
  box-sizing: border-box;
68
}
68
}
69
69
70
#select-header .select-keep,
70
#select-header .select-keep,
71
#select-header .select-icon,
71
#select-header .select-icon,
72
#select-header .select-name,
72
#select-header .select-name,
73
#select-header .select-action {
73
#select-header .select-action {
74
  background-image: linear-gradient(#D6E5F5 0%, Window 100%);
74
  background-image: linear-gradient(#D6E5F5 0%, Window 100%);
75
  background-size: 1px 100%;
75
  background-size: 1px 100%;
 Lines 97-113    Link Here 
97
97
98
.select-keep .checkbox-label-box {
98
.select-keep .checkbox-label-box {
99
  display: none;
99
  display: none;
100
}
100
}
101
101
102
.addon-name,
102
.addon-name,
103
.addon-action-message,
103
.addon-action-message,
104
.addon-action-update {
104
.addon-action-update {
105
  -moz-box-sizing: border-box;
105
  box-sizing: border-box;
106
  margin: 0;
106
  margin: 0;
107
  padding-top: 1px;
107
  padding-top: 1px;
108
  padding-bottom: 2px;
108
  padding-bottom: 2px;
109
  -moz-padding-start: 6px;
109
  -moz-padding-start: 6px;
110
  -moz-padding-end: 5px;
110
  -moz-padding-end: 5px;
111
}
111
}
112
112
113
#select-grid separator {
113
#select-grid separator {
(-)a/widget/reftests/progressbar-fallback-default-style-ref.html (-1 / +1 lines)
Line     Link Here 
 Lines 24-40    Link Here 
24
      /**
24
      /**
25
       * The purpose of this test is to not show the native style.
25
       * The purpose of this test is to not show the native style.
26
       * -moz-appearance: progresschunk;
26
       * -moz-appearance: progresschunk;
27
       */
27
       */
28
28
29
      height: 100%;
29
      height: 100%;
30
      width: 100%;
30
      width: 100%;
31
31
32
      -moz-box-sizing: border-box;
32
      box-sizing: border-box;
33
33
34
      /* Default style in case of there is -moz-appearance: none; */
34
      /* Default style in case of there is -moz-appearance: none; */
35
      background-color: #0064b4;
35
      background-color: #0064b4;
36
    }
36
    }
37
37
38
    div.progress-element { padding: 5px; }
38
    div.progress-element { padding: 5px; }
39
    body > div:nth-child(1)  { -moz-appearance: none; }
39
    body > div:nth-child(1)  { -moz-appearance: none; }
40
    body > div:nth-child(2) > .progress-bar { -moz-appearance: none; }
40
    body > div:nth-child(2) > .progress-bar { -moz-appearance: none; }

Return to bug 243412