mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Test with fixes for background repeat: spaced
Test the interaction between background-repeat: spaced and CSS borders. Fix tile_image_axis() function.
This commit is contained in:
parent
3b3d4a9853
commit
cf12e27364
16 changed files with 144 additions and 90 deletions
|
@ -96765,6 +96765,18 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/gradient-repeat-spaced-with-borders.html": [
|
||||
[
|
||||
"/css/css-backgrounds/background-repeat/gradient-repeat-spaced-with-borders.html",
|
||||
[
|
||||
[
|
||||
"/css/css-backgrounds/background-repeat/reference/gradient-repeat-spaced-with-borders.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-backgrounds/background-size-002.html": [
|
||||
[
|
||||
"/css/css-backgrounds/background-size-002.html",
|
||||
|
@ -228194,6 +228206,11 @@
|
|||
{}
|
||||
]
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/reference/gradient-repeat-spaced-with-borders.html": [
|
||||
[
|
||||
{}
|
||||
]
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/reference/support/rectangle-96x60.png": [
|
||||
[
|
||||
{}
|
||||
|
@ -463978,6 +463995,10 @@
|
|||
"0a631e1bd4a8b410edd28a51675207f591e04a55",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/gradient-repeat-spaced-with-borders.html": [
|
||||
"2880f6e6ab270572d9279d04ca196bfeae30a261",
|
||||
"reftest"
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/reference/background-repeat-no-repeat.xht": [
|
||||
"3e5eecf9416348440b6d23dc7a817de5ed97ede7",
|
||||
"support"
|
||||
|
@ -464002,6 +464023,10 @@
|
|||
"0e0e06ed0f62fbcca2f5a087e807bf2ac74b1ad6",
|
||||
"support"
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/reference/gradient-repeat-spaced-with-borders.html": [
|
||||
"b6e92428d5562a83424ef050f3c57dfc128a95a2",
|
||||
"support"
|
||||
],
|
||||
"css/css-backgrounds/background-repeat/reference/support/rectangle-96x60.png": [
|
||||
"36050bffda9382cfd978dc82a2f0244a535a6a46",
|
||||
"support"
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
[background-position-applies-to-009.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[background-position-applies-to-012.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[background-position-applies-to-013.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[background-position-applies-to-015.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[margin-shorthand-001.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[margin-shorthand-002.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[margin-shorthand-003.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[margin-shorthand-004.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[padding-shorthand-001.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[padding-shorthand-002.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[padding-shorthand-003.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -1,3 +0,0 @@
|
|||
[padding-shorthand-004.xht]
|
||||
type: reftest
|
||||
expected: FAIL
|
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Tiled gradient with spaces is repeated behind the border.</title>
|
||||
<link rel="match" href="reference/gradient-repeat-spaced-with-borders.html">
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#valdef-background-repeat-space">
|
||||
<style>
|
||||
#foo {
|
||||
width: 65px;
|
||||
height: 65px;
|
||||
border: solid 35px transparent;
|
||||
background: radial-gradient(transparent 50%, #36c 50%);
|
||||
background-size: 30px 30px;
|
||||
background-repeat: space;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="foo"></div>
|
||||
</body>
|
|
@ -0,0 +1,15 @@
|
|||
<!DOCTYPE html>
|
||||
<meta charset="utf-8">
|
||||
<title>Spaced Gradient</title>
|
||||
<style>
|
||||
#foo {
|
||||
width: calc(4 * 30px + 3 * 5px);
|
||||
height: calc(4 * 30px + 3 * 5px);
|
||||
background: radial-gradient(transparent 50%, #36c 50%);
|
||||
background-size: 30px 30px;
|
||||
background-repeat: space;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="foo"></div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue