Skip to content

Commit

Permalink
Moving a bunch of css3 border-image and background-size
Browse files Browse the repository at this point in the history
tests into their better and more appropriate
css-backgrounds-3 folder(s); their associated
reference files and support files should
have been moved or copied and appropriatedly
linked.

--HG--
rename : css21/background-size-cover-contain-001.xht => css-backgrounds-3/background-size/background-size-cover-contain-001.xht
rename : css21/background-size-cover-contain-002.xht => css-backgrounds-3/background-size/background-size-cover-contain-002.xht
rename : css21/support/200x200-red.png => css-backgrounds-3/background-size/support/200x200-red.png
rename : css21/support/50x50-green.png => css-backgrounds-3/background-size/support/50x50-green.png
rename : css21/border-image-017.xht => css-backgrounds-3/border-image-017.xht
rename : css21/border-image-018.xht => css-backgrounds-3/border-image-018.xht
rename : css21/border-image-019.xht => css-backgrounds-3/border-image-019.xht
rename : css21/border-image-020.xht => css-backgrounds-3/border-image-020.xht
rename : css21/border-image-slice-001.xht => css-backgrounds-3/border-image-slice-001.xht
rename : css21/border-image-slice-002.xht => css-backgrounds-3/border-image-slice-002.xht
rename : css21/border-image-slice-003.xht => css-backgrounds-3/border-image-slice-003.xht
rename : css21/support/outline-5px-10px-15px-20px-green.png => css-backgrounds-3/support/outline-5px-10px-15px-20px-green.png
  • Loading branch information
Gérard Talbot committed Jun 3, 2014
1 parent 3c850bb commit f03fa10
Show file tree
Hide file tree
Showing 12 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size" title="3.9. Sizing Images: the 'background-size' property" />
<link rel="match" href="reference/ref-filled-green-100px-square.xht" />
<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />

<meta name="flags" content="image" />
<meta name="assert" content="When 'background-size' is 'cover', then the background-image is scaled, while preserving its intrinsic aspect ratio (it is 1:1 in this test), to the smallest size such that both its width and its height can completely cover the background positioning area. When 'background-size' is 'contain', then the background-image is scaled, while preserving its intrinsic aspect ratio (it is 1:1 in this test), to the largest size such that both its width and its height can fit inside the background positioning area. In this test, the 2 background-images should be scaled to become 100px by 100px." />
Expand All @@ -22,10 +22,10 @@
height: 150px;
padding: 25px;
width: 50px;
/*
/*
background positioning area is 100px wide by 200px tall.
The largest size that can fit inside it with a 1:1 ratio
is 100px by 100px. So, the background image should be
The largest size that can fit inside it with a 1:1 ratio
is 100px by 100px. So, the background image should be
scaled to 100px by 100px.
*/
}
Expand All @@ -41,11 +41,11 @@
padding: 25px;
position: relative;
width: 50px;
/*
background positioning area to cover is 100px wide by
50px tall. The smallest size that can completely cover
it with a 1:1 ratio is 100px by 100px. So, the

/*
background positioning area to cover is 100px wide by
50px tall. The smallest size that can completely cover
it with a 1:1 ratio is 100px by 100px. So, the
background image should be scaled to 100px by 100px.
*/
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" />
<link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size" title="3.9. Sizing Images: the 'background-size' property" />
<link rel="match" href="reference/ref-filled-green-100px-square.xht" />
<link rel="match" href="../reference/ref-filled-green-100px-square.xht" />

<meta name="flags" content="image" />
<meta name="assert" content="When 'background-size' is 'cover', then the background-image is scaled, while preserving its intrinsic aspect ratio (it is 1:1 in this test), to the smallest size such that both its width and its height can completely cover the background positioning area. When 'background-size' is 'contain', then the background-image is scaled, while preserving its intrinsic aspect ratio (it is 1:1 in this test), to the largest size such that both its width and its height can fit inside the background positioning area. In this test, the 2 background-images should be scaled to become 100px by 100px." />
Expand All @@ -22,10 +22,10 @@
height: 50px;
padding: 25px;
width: 150px;
/*
/*
background positioning area is 200px wide by 100px tall.
The largest size that can fit inside it with a 1:1 ratio
is 100px by 100px. So, the background image should be
The largest size that can fit inside it with a 1:1 ratio
is 100px by 100px. So, the background image should be
scaled to 100px by 100px.
*/
}
Expand All @@ -41,11 +41,11 @@
padding: 25px;
position: relative;
width: 0px;
/*
background positioning area to cover is 50px wide by
100px tall. The smallest size that can completely cover
it with a 1:1 ratio is 100px by 100px. So, the

/*
background positioning area to cover is 50px wide by
100px tall. The smallest size that can completely cover
it with a 1:1 ratio is 100px by 100px. So, the
background image should be scaled to 100px by 100px.
*/
}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit f03fa10

Please sign in to comment.