mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 424249088dd679888e07bd315dd8ebc98ccf323a
This commit is contained in:
parent
4ad08fff04
commit
bca3835607
93 changed files with 1641 additions and 291 deletions
|
@ -31,6 +31,9 @@
|
|||
scroll-snap-align: center; }
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -32,6 +32,9 @@
|
|||
scroll-snap-align: center; }
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -28,6 +28,9 @@
|
|||
#target { scroll-margin: 2em 0 1em; } /* snap area is exact fit for snapport */
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -30,6 +30,9 @@
|
|||
#target { scroll-margin: 2em 0 1em; } /* snap area is exact fit for snapport */
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -27,6 +27,9 @@
|
|||
.container { scroll-padding: 2em 0 1em; } /* snap area is exact fit for snapport */
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -29,6 +29,9 @@
|
|||
.container { scroll-padding: 2em 0 1em; } /* snap area is exact fit for snapport */
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -33,6 +33,8 @@
|
|||
/* Try to foil the UA */
|
||||
.foilup { margin-bottom: -1em; scroll-snap-align: start; }
|
||||
.foildn { margin-top: -1em; scroll-snap-align: end; }
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -35,6 +35,9 @@
|
|||
/* Try to foil the UA */
|
||||
.foilup { margin-bottom: -1em; scroll-snap-align: start; }
|
||||
.foildn { margin-top: -1em; scroll-snap-align: end; }
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div id='instructions'>Test passes if there is a green stripe across the second quarter of the box below and no red.</div>
|
||||
|
|
|
@ -19,7 +19,9 @@
|
|||
scroll-snap-align: center; }
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
}
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div></div>
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
#target { scroll-margin: 2em 0 1em; } /* snap area is exact fit for snapport */
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
}
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div></div>
|
||||
|
|
|
@ -17,7 +17,9 @@
|
|||
html { scroll-padding: 2em 0 1em; } /* snap area is exact fit for snapport */
|
||||
#stripe { background: green; } /* color part of the snap area */
|
||||
.fail { color: red; } /* make failing more obvious */
|
||||
}
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div></div>
|
||||
|
|
|
@ -25,6 +25,9 @@
|
|||
/* Try to foil the UA */
|
||||
.foilup { margin-bottom: -1em; scroll-snap-align: start; }
|
||||
.foildn { margin-top: -1em; scroll-snap-align: end; }
|
||||
|
||||
/* emulate `scrollbar-width: none` for browsers that don't support it yet */
|
||||
::-webkit-scrollbar { display: none; }
|
||||
</style>
|
||||
|
||||
<div></div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue