mirror of
https://github.com/servo/servo.git
synced 2025-08-23 22:35:33 +01:00
Update web-platform-tests to revision a4df0fa7be958c11e80caf57fd36c935d11a2a34
This commit is contained in:
parent
4aad79f9d2
commit
a6792ec098
21 changed files with 465 additions and 98 deletions
|
@ -8,19 +8,18 @@
|
|||
.flexBaselineCheck {
|
||||
display: flex;
|
||||
border: 1px solid black;
|
||||
height: 70px;
|
||||
}
|
||||
.flexBaselineCheck > * {
|
||||
border: 2px solid teal;
|
||||
|
||||
/* In the testcase, the (baseline-aligned) items should all have their
|
||||
bottom borders aligned with the 50px-tall canvas. In other words, their
|
||||
bottom borders should all be 20px away from the bottom of their flex
|
||||
container. Here in the reference case, we just use "flex-end" alignment
|
||||
plus a hardcoded 20px margin-bottom to produce a precise reference
|
||||
for what that should look like. */
|
||||
bottom borders should all be aligned at the bottom of their flex
|
||||
container, separated from the bottom by only by their margin-end
|
||||
distance. Here in the reference case, we just use "flex-end" alignment
|
||||
(plus the same amount of margin) to produce a precise reference for what
|
||||
that should look like. */
|
||||
align-self: flex-end;
|
||||
margin-bottom: 20px;
|
||||
margin: 2px;
|
||||
}
|
||||
canvas {
|
||||
background: purple;
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
.flexBaselineCheck {
|
||||
display: flex;
|
||||
border: 1px solid black;
|
||||
height: 70px;
|
||||
}
|
||||
.flexBaselineCheck > * {
|
||||
contain: layout;
|
||||
border: 2px solid teal;
|
||||
align-self: baseline;
|
||||
margin: 2px;
|
||||
}
|
||||
canvas {
|
||||
background: purple;
|
||||
|
|
|
@ -48,3 +48,10 @@
|
|||
== contain-layout-ignored-cases-no-principal-box-003.html contain-layout-ignored-cases-no-principal-box-003-ref.html
|
||||
== contain-layout-suppress-baseline-001.html contain-layout-suppress-baseline-001-ref.html
|
||||
== contain-layout-suppress-baseline-002.html contain-layout-suppress-baseline-002-ref.html
|
||||
|
||||
# The following lines are duplicates of other lines from further up in this
|
||||
# manifest. They're listed again here so we can re-run these tests with
|
||||
# column-span enabled. These lines can be removed once the pref becomes
|
||||
# default-enabled (Bug 1426010).
|
||||
== contain-size-multicol-002.html contain-size-multicol-002-ref.html
|
||||
== contain-size-multicol-003.html contain-size-multicol-003-ref.html
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue