Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions css/css-flexbox/flex-basis-intrinsics-001.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
</div>

<div class=flexbox>
<div class=flex-item style="flex-basis: -moz-fit-content; flex-basis: fit-content;" data-expected-width=75>
<div class=flex-item style="flex-basis: fit-content;" data-expected-width=75>
<div class=inline-block></div><div class=inline-block></div>
</div>
</div>
Expand All @@ -67,7 +67,7 @@
</div>

<div class=flexbox style="flex-flow: column;">
<div class=flex-item style="flex-basis: -moz-fit-content; flex-basis: fit-content;" data-expected-height=100>
<div class=flex-item style="flex-basis: fit-content;" data-expected-height=100>
<div class=inline-block></div><div class=inline-block></div>
</div>
</div>
Expand All @@ -85,7 +85,7 @@
</div>

<div class=flexbox>
<div class="flex-item ortho-item" style="flex-basis: -moz-fit-content; flex-basis: fit-content;" data-expected-width=100>
<div class="flex-item ortho-item" style="flex-basis: fit-content;" data-expected-width=100>
<div class=inline-block></div><div class=inline-block></div>
</div>
</div>
Expand All @@ -103,7 +103,7 @@
</div>

<div class=flexbox style="flex-flow: column;">
<div class="flex-item ortho-item" style="flex-basis: -moz-fit-content; flex-basis: fit-content;" data-expected-height=75>
<div class="flex-item ortho-item" style="flex-basis: fit-content;" data-expected-height=75>
<div class=inline-block></div><div class=inline-block></div>
</div>
</div>
Expand Down
12 changes: 0 additions & 12 deletions css/css-flexbox/flex-minimum-width-flex-items-014.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,32 +6,20 @@
<style>
.min-content {
width: 10px;
min-width: -webkit-min-content;
min-width: -moz-min-content;
min-width: -ie-min-content;
min-width: -o-min-content;
min-width: min-content;
outline: 2px solid;
display: flex;
flex-wrap: wrap;
}
.max-content {
width: 10px;
min-width: -webkit-max-content;
min-width: -moz-max-content;
min-width: -ie-max-content;
min-width: -o-max-content;
min-width: max-content;
outline: 2px solid;
display: flex;
flex-wrap: wrap;
}
.fit-content {
width: 10px;
min-width: -webkit-fit-content;
min-width: -moz-fit-content;
min-width: -ie-fit-content;
min-width: -o-fit-content;
min-width: fit-content;
outline: 2px solid;
display: flex;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
}
.item1 {
width: fit-content;
width: -moz-fit-content;
margin: 0px auto;
}
.item2 {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
background: green;
}
.fit-content {
width: -moz-fit-content;
width: fit-content;
}
</style>
Expand Down
4 changes: 2 additions & 2 deletions css/css-sizing/aspect-ratio/intrinsic-size-011.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@

<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>

<div style="height: 50px; width: -moz-fit-content; width: fit-content;"></div>
<div style="height: 50px; width: fit-content;"></div>
<!-- fit-content in the block axis is treated as auto -->
<div style="height: -moz-fit-content; height: fit-content; width: 100px;"></div>
<div style="height: fit-content; width: 100px;"></div>
4 changes: 0 additions & 4 deletions css/css-sizing/clone-intrinsic-size-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@
white-space: pre;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/clone-intrinsic-size.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@
border: 5px solid blue;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
2 changes: 0 additions & 2 deletions css/css-sizing/clone-nowrap-intrinsic-size-bidi-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
white-space: pre;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/clone-nowrap-intrinsic-size-bidi.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@
white-space: nowrap;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
2 changes: 0 additions & 2 deletions css/css-sizing/clone-nowrap-intrinsic-size-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
white-space: pre;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/clone-nowrap-intrinsic-size.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@
white-space: nowrap;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
margin: auto;
bottom: 10px;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
margin: auto;
top: 10px;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
1 change: 0 additions & 1 deletion css/css-sizing/div-fit-content-auto-margin.tentative.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
background-color: black;
margin: auto;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
1 change: 0 additions & 1 deletion css/css-sizing/div-fit-content-block-size.tentative.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
inset: 0;
background-color: black;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
margin: auto;
left: 10px;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
margin: auto;
right: 10px;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
writing-mode: vertical-rl;
margin: auto;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
border: 5px solid red;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
inset: 0;
background-color: black;
position: absolute;
block-size: -moz-fit-content;
block-size: fit-content;
inline-size: 100px;
writing-mode: vertical-rl;
Expand Down
3 changes: 1 addition & 2 deletions css/css-sizing/range-percent-intrinsic-size-1-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
input.mi {
min-width: 0;
max-width: 100%;
width: -moz-max-content;
width: max-content;
background: lime;
}
Expand Down Expand Up @@ -120,7 +119,7 @@
<input type="range" class="mi n">
</div></div>

<div style="width:30px"><div style="width:-moz-max-content;width:max-content">
<div style="width:30px"><div style="width:max-content">
<input type="range" class="mi n" style="width:50%">
</div></div>

Expand Down
2 changes: 0 additions & 2 deletions css/css-sizing/range-percent-intrinsic-size-1.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,12 @@

input.i {
width: 50%;
min-width: -moz-min-content;
min-width: min-content;
background: lime;
}

input.mi {
max-width: 50%;
min-width: -moz-min-content;
min-width: min-content;
background: lime;
}
Expand Down
4 changes: 1 addition & 3 deletions css/css-sizing/range-percent-intrinsic-size-2.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,17 @@

input.b {
height: 50%;
min-height: -moz-min-content;
min-height: min-content;
background: lime;
}

input.mb {
max-height: 50%;
min-height: -moz-min-content;
min-height: min-content;
background: lime;
}

input.b.min-auto, input.mb.min-auto, {
input.b.min-auto, input.mb.min-auto {
min-height: auto;
}

Expand Down
4 changes: 1 addition & 3 deletions css/css-sizing/range-percent-intrinsic-size-2a.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,17 @@

input.b {
height: 50%;
min-height: -moz-min-content;
min-height: min-content;
background: lime;
}

input.mb {
max-height: 50%;
min-height: -moz-min-content;
min-height: min-content;
background: lime;
}

input.b.min-auto, input.mb.min-auto, {
input.b.min-auto, input.mb.min-auto {
min-height: auto;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/slice-intrinsic-size-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,9 @@
white-space: pre;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/slice-intrinsic-size.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,9 @@
border: 5px solid blue;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
2 changes: 0 additions & 2 deletions css/css-sizing/slice-nowrap-intrinsic-size-bidi-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
white-space: pre;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/slice-nowrap-intrinsic-size-bidi.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@
white-space: nowrap;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
2 changes: 0 additions & 2 deletions css/css-sizing/slice-nowrap-intrinsic-size-ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@
white-space: pre;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}

Expand Down
4 changes: 0 additions & 4 deletions css/css-sizing/slice-nowrap-intrinsic-size.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,9 @@
white-space: nowrap;
}
.max > div {
width: -moz-max-content;
width: -webkit-max-content;
width: max-content;
}
.min > div {
width: -moz-min-content;
width: -webkit-min-content;
width: min-content;
}

Expand Down
Loading