mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision cf261625e2d230ab219eec966f4abe26e3401b64
This commit is contained in:
parent
11a89bcc47
commit
8f98acd0e7
297 changed files with 3396 additions and 1555 deletions
1
tests/wpt/web-platform-tests/css/css-scrollbars/OWNERS
Normal file
1
tests/wpt/web-platform-tests/css/css-scrollbars/OWNERS
Normal file
|
@ -0,0 +1 @@
|
|||
@tantek
|
|
@ -0,0 +1,19 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
body {
|
||||
scrollbar-track-color: blue;
|
||||
scrollbar-face-color: yellow;
|
||||
}
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#inner {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="inner"></div>
|
||||
</body>
|
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<style>
|
||||
html {
|
||||
scrollbar-track-color: blue;
|
||||
scrollbar-face-color: yellow;
|
||||
}
|
||||
html, body {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
#inner {
|
||||
width: 400px;
|
||||
height: 400px;
|
||||
}
|
||||
</style>
|
||||
<div id="inner"></div>
|
|
@ -0,0 +1,21 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: unstyled scrollbars</title>
|
||||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
|
||||
<style>
|
||||
#outer {
|
||||
border: 1px solid black;
|
||||
width: 200px; height: 200px;
|
||||
overflow: scroll;
|
||||
}
|
||||
#inner {
|
||||
width: 400px; height: 400px;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if the scrollbars in the following box are NOT styled:</p>
|
||||
<div id="outer">
|
||||
<div id="inner">
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: scrollbar style on body element should not be propagated to the viewport</title>
|
||||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
|
||||
<link rel="match" href="viewport-scrollbar-body-ref.html">
|
||||
<style>
|
||||
iframe {
|
||||
border: 1px solid black;
|
||||
width: 200px; height: 200px;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if the scrollbars in the following box are NOT styled:</p>
|
||||
<iframe src="support/viewport-scrollbar-body-frame.html"></iframe>
|
|
@ -0,0 +1,23 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Reference: styled scrollbars</title>
|
||||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
|
||||
<style>
|
||||
#outer {
|
||||
border: 1px solid black;
|
||||
width: 200px; height: 200px;
|
||||
overflow: scroll;
|
||||
scrollbar-track-color: blue;
|
||||
scrollbar-face-color: yellow;
|
||||
}
|
||||
#inner {
|
||||
width: 400px; height: 400px;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if the scrollbars in the following box are styled:</p>
|
||||
<div id="outer">
|
||||
<div id="inner">
|
||||
</div>
|
||||
</div>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="UTF-8">
|
||||
<title>CSS Test: scrollbar style on root element should be propagated to the viewport</title>
|
||||
<link rel="author" title="Xidorn Quan" href="https://www.upsuper.org">
|
||||
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-scrollbars-1/#scrollbar-color-properties">
|
||||
<link rel="match" href="viewport-scrollbar-ref.html">
|
||||
<style>
|
||||
iframe {
|
||||
border: 1px solid black;
|
||||
width: 200px; height: 200px;
|
||||
}
|
||||
</style>
|
||||
<p>Test passes if the scrollbars in the following box are styled:</p>
|
||||
<iframe src="support/viewport-scrollbar-frame.html"></iframe>
|
Loading…
Add table
Add a link
Reference in a new issue