Improve tests background-size-003~004

Mon, 15 Oct 2012 19:26:28 +0800

author
Zhiqiang Zhang <zhiqiang.zhang@intel.com>
date
Mon, 15 Oct 2012 19:26:28 +0800
changeset 4308
397604280e79
parent 4307
c47d02866527
child 4309
82f17faff014

Improve tests background-size-003~004

contributors/intel/submitted/css3-background/background-size-003.html file | annotate | diff | comparison | revisions
contributors/intel/submitted/css3-background/background-size-004.html file | annotate | diff | comparison | revisions
     1.1 --- a/contributors/intel/submitted/css3-background/background-size-003.html	Mon Oct 15 18:59:16 2012 +0800
     1.2 +++ b/contributors/intel/submitted/css3-background/background-size-003.html	Mon Oct 15 19:26:28 2012 +0800
     1.3 @@ -5,7 +5,7 @@
     1.4      <link rel="author" title="Intel" href="http://www.intel.com" />
     1.5      <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size" />
     1.6      <meta name="flags" content="image" />
     1.7 -    <meta name="assert" content="Check if 'background-size' is 'cover' that it scales the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area" />
     1.8 +    <meta name="assert" content="Check if 'background-size' is 'cover' that it scales the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area" />
     1.9      <style>
    1.10          div {
    1.11              position: absolute;
    1.12 @@ -15,7 +15,7 @@
    1.13              height: 138px;
    1.14              left: 6px;
    1.15              top: 6px;
    1.16 -            width: 138px;
    1.17 +            width: 148px;
    1.18          }
    1.19          #test {
    1.20              background-image: url(support/60x60-green.png);
     2.1 --- a/contributors/intel/submitted/css3-background/background-size-004.html	Mon Oct 15 18:59:16 2012 +0800
     2.2 +++ b/contributors/intel/submitted/css3-background/background-size-004.html	Mon Oct 15 19:26:28 2012 +0800
     2.3 @@ -5,7 +5,7 @@
     2.4      <link rel="author" title="Intel" href="http://www.intel.com" />
     2.5      <link rel="help" href="http://www.w3.org/TR/css3-background/#the-background-size" />
     2.6      <meta name="flags" content="image" />
     2.7 -    <meta name="assert" content="Check if 'background-size' is 'contain' that it scales the image, while preserving its intrinsic aspect ratio (if any), to the smallest size such that both its width and its height can completely cover the background positioning area" />
     2.8 +    <meta name="assert" content="Check if 'background-size' is 'contain' that it scale the image, while preserving its intrinsic aspect ratio (if any), to the largest size such that both its width and its height can fit inside the background positioning area" />
     2.9      <style>
    2.10          div {
    2.11              position: absolute;
    2.12 @@ -15,7 +15,7 @@
    2.13              height: 138px;
    2.14              left: 6px;
    2.15              top: 6px;
    2.16 -            width: 148px;
    2.17 +            width: 138px;
    2.18          }
    2.19          #test {
    2.20              background-image: url(support/60x60-green.png);

mercurial