Update test background-repeat-round-001 based on Gerard's review feedback

Fri, 09 Nov 2012 10:14:15 +0800

author
Zhiqiang Zhang <zhiqiang.zhang@intel.com>
date
Fri, 09 Nov 2012 10:14:15 +0800
changeset 4747
2263f88caae8
parent 4746
bbb722a68ed0
child 4748
db1edd9075e2

Update test background-repeat-round-001 based on Gerard's review feedback

contributors/intel/submitted/css3-background/background-repeat-round-001.html file | annotate | diff | comparison | revisions
     1.1 --- a/contributors/intel/submitted/css3-background/background-repeat-round-001.html	Thu Nov 08 19:24:11 2012 -0500
     1.2 +++ b/contributors/intel/submitted/css3-background/background-repeat-round-001.html	Fri Nov 09 10:14:15 2012 +0800
     1.3 @@ -1,13 +1,13 @@
     1.4  <!DOCTYPE html>
     1.5  <html>
     1.6    <head>
     1.7 -    <title>CSS Backgrounds and Borders Test: background-repeat - one 'round' value</title>
     1.8 +    <title>CSS Backgrounds and Borders Test: background-repeat - one round keyword value</title>
     1.9      <link rel="author" title="Intel" href="http://www.intel.com" />
    1.10      <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-repeat" />
    1.11      <meta name="flags" content="image" />
    1.12      <meta name="assert" content="Check if 'background-repeat' is 'round', then the width and height of the corresponding background image is rescaled so that they fit a whole number of times (2 in this test) in the background positioning area. Therefore the used width and height of the background image in this test should be 110px." />
    1.13      <style>
    1.14 -        #test {
    1.15 +        div {
    1.16              background-color: red;
    1.17              background-image: url(support/cat.png);  /* 98px by 99px */
    1.18              background-repeat: round;  /* round round */
    1.19 @@ -15,7 +15,7 @@
    1.20              width: 220px;
    1.21              
    1.22              /* 
    1.23 -            background positioning area is 220px wide by 220px tall.
    1.24 +            Background positioning area is 220px wide by 220px tall.
    1.25              So, the height of the image is rounded to 110px, [220px / rounded (220px / 99px)]
    1.26              and the width of the image is rounded to 110px, [220px / rounded (220px / 98px)].
    1.27              */
    1.28 @@ -23,7 +23,7 @@
    1.29      </style>
    1.30    </head>
    1.31    <body>
    1.32 -    <p>Test passes if there is a 2x2 cat image and <strong>no red</strong>.</p>
    1.33 -    <div id="test"></div>
    1.34 +    <p>Test passes if there is 2 rows of 2 cats and if there is no clipped (sliced) cat and <strong>no red</strong>.</p>
    1.35 +    <div></div>
    1.36    </body>
    1.37 -</html>
    1.38 \ No newline at end of file
    1.39 +</html>

mercurial