Fixed the precision issues in the background-color-* tests as agreed upon here:

Mon, 07 Jan 2013 16:07:31 -0800

author
Rebecca Hauck <rhauck@adobe.com>
date
Mon, 07 Jan 2013 16:07:31 -0800
changeset 4924
e29cb8ff4c58
parent 4885
e670693cf354
child 4925
07a09b293a40

Fixed the precision issues in the background-color-* tests as agreed upon here:

http://lists.w3.org/Archives/Public/public-css-testsuite/2012Dec/0018.html

Summary of changes:

- background-color-049,054,070,075,090,095,110,115 - added a second ref file to match whether a UA rounds fractional color values up or down.
- background-color-052,053,073,074,093,094,113,114 - changed 50% to 40% to remove the fractional color values & converted to reftests
- all: change div & font size from 1in to 100px because the 1in was not a pixel perfect match (ran in WebKit test harness)

approved/css2.1/src/backgrounds/background-color-049-020202-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-049-030303-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-049.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-052-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-052.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-053.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-054-fcfcfc-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-054-fdfdfd-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-054.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-070-020000-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-070-030000-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-070.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-073-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-073.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-074.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-075-fc0000-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-075-fd0000-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-075.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-090-000200-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-090-000300-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-090.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-093-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-093.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-094.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-095-00fc00-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-095-00fd00-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-095.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-110-000002-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-110-000003-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-110.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-113-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-113.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-114.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-115-0000fc-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-115-0000fd-ref.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/background-color-115.xht file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/000003_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/000066_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/0000fd_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/000300_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/006600_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/00fd00_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/030000_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/030303_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/660000_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/666666_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/fd0000_color.png file | annotate | diff | comparison | revisions
approved/css2.1/src/backgrounds/support/fdfdfd_color.png file | annotate | diff | comparison | revisions
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/approved/css2.1/src/backgrounds/background-color-049-020202-ref.xht	Mon Jan 07 16:07:31 2013 -0800
     1.3 @@ -0,0 +1,29 @@
     1.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 +<head>
     1.7 +    <title>CSS Reftest Reference</title>
     1.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
     1.9 +    <meta name="flags" content="image" />
    1.10 +    <style>
    1.11 +          img
    1.12 +          {
    1.13 +          height: 100px;
    1.14 +          vertical-align: top;
    1.15 +          width: 100px;
    1.16 +          }
    1.17 +    </style>
    1.18 +</head>
    1.19 +<body>
    1.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    1.21 +
    1.22 +  <div>
    1.23 +    <img alt="Image download support must be enabled" src="support/020202_color.png" />
    1.24 +  </div>
    1.25 +
    1.26 +  <div>
    1.27 +    <br />
    1.28 +    <img alt="Image download support must be enabled" src="support/020202_color.png" />
    1.29 +  </div>
    1.30 +
    1.31 + </body>
    1.32 +</html>
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/approved/css2.1/src/backgrounds/background-color-049-030303-ref.xht	Mon Jan 07 16:07:31 2013 -0800
     2.3 @@ -0,0 +1,29 @@
     2.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     2.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     2.6 +<head>
     2.7 +    <title>CSS Reftest Reference</title>
     2.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
     2.9 +    <meta name="flags" content="image" />
    2.10 +    <style>
    2.11 +          img
    2.12 +          {
    2.13 +          height: 100px;
    2.14 +          vertical-align: top;
    2.15 +          width: 100px;
    2.16 +          }
    2.17 +    </style>
    2.18 +</head>
    2.19 +<body>
    2.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    2.21 +
    2.22 +  <div>
    2.23 +    <img alt="Image download support must be enabled" src="support/030303_color.png" />
    2.24 +  </div>
    2.25 +
    2.26 +  <div>
    2.27 +    <br />
    2.28 +    <img alt="Image download support must be enabled" src="support/030303_color.png" />
    2.29 +  </div>
    2.30 +
    2.31 + </body>
    2.32 +</html>
    2.33 \ No newline at end of file
     3.1 --- a/approved/css2.1/src/backgrounds/background-color-049.xht	Mon Dec 10 12:42:05 2012 -0800
     3.2 +++ b/approved/css2.1/src/backgrounds/background-color-049.xht	Mon Jan 07 16:07:31 2013 -0800
     3.3 @@ -5,27 +5,30 @@
     3.4          <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
     3.5          <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
     3.6          <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
     3.7 -
     3.8 -        <meta name="flags" content="image" />
     3.9 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
    3.10 +        <link rel="match" href="background-color-049-020202-ref.xht" />
    3.11 +        <link rel="match" href="background-color-049-030303-ref.xht" />
    3.12 +        <meta name="flags" content="ahem" />
    3.13          <meta name="assert" content="Background-color is set to rgb(1%, 1%, 1%)." />
    3.14          <style type="text/css">
    3.15 -            img, #test
    3.16 -            {
    3.17 -                height: 1in;
    3.18 -                width: 1in;
    3.19 -            }
    3.20              #test
    3.21              {
    3.22                  background-color: rgb(1%, 1%, 1%);
    3.23 +                height: 100px;
    3.24 +                width: 100px;
    3.25 +            }
    3.26 +            #reference
    3.27 +            {
    3.28 +                color: rgb(1%, 1%, 1%);
    3.29 +                font: 100px/1 Ahem;
    3.30              }
    3.31          </style>
    3.32      </head>
    3.33      <body>
    3.34          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    3.35          <div id="test"></div>
    3.36 -        <div id="reference">
    3.37 -            <br />
    3.38 -            <img alt="#020202 color swatch" src="support/020202_color.png" />
    3.39 -        </div>
    3.40 +        <br/>
    3.41 +        <div id="reference">X</div>
    3.42      </body>
    3.43 -</html>
    3.44 \ No newline at end of file
    3.45 +</html>
    3.46 +
     4.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     4.2 +++ b/approved/css2.1/src/backgrounds/background-color-052-ref.xht	Mon Jan 07 16:07:31 2013 -0800
     4.3 @@ -0,0 +1,29 @@
     4.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     4.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     4.6 +<head>
     4.7 +    <title>CSS Reftest Reference</title>
     4.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
     4.9 +    <meta name="flags" content="image" />
    4.10 +    <style>
    4.11 +          img
    4.12 +          {
    4.13 +          height: 100px;
    4.14 +          vertical-align: top;
    4.15 +          width: 100px;
    4.16 +          }
    4.17 +    </style>
    4.18 +</head>
    4.19 +<body>
    4.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    4.21 +
    4.22 +  <div>
    4.23 +    <img alt="Image download support must be enabled" src="support/666666_color.png" />
    4.24 +  </div>
    4.25 +
    4.26 +  <div>
    4.27 +    <br />
    4.28 +    <img alt="Image download support must be enabled" src="support/666666_color.png" />
    4.29 +  </div>
    4.30 +
    4.31 + </body>
    4.32 +</html>
    4.33 \ No newline at end of file
     5.1 --- a/approved/css2.1/src/backgrounds/background-color-052.xht	Mon Dec 10 12:42:05 2012 -0800
     5.2 +++ b/approved/css2.1/src/backgrounds/background-color-052.xht	Mon Jan 07 16:07:31 2013 -0800
     5.3 @@ -1,30 +1,34 @@
     5.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     5.5  <html xmlns="http://www.w3.org/1999/xhtml">
     5.6      <head>
     5.7 -        <title>CSS Test: Background-color set to rgb() using percentages with a nominal value, rgb(50%, 50%, 50%)</title>
     5.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
     5.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    5.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
    5.11 -        <meta name="flags" content="image" />
    5.12 -        <meta name="assert" content="Background-color is set to rgb(50%, 50%, 50%)." />
    5.13 +        <title>CSS Test: Background-color set to rgb() using percentages with a nominal value, rgb(40%, 40%, 40%)</title>
    5.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
    5.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
    5.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
    5.17 +        <link rel="match" href="background-color-052-ref.xht"/>
    5.18 +        <meta name="flags" content="ahem"/>
    5.19 +        <meta name="assert" content="Background-color is set to rgb(40%, 40%, 40%)."/>
    5.20          <style type="text/css">
    5.21 -            img, #test
    5.22 +            #test, #reference
    5.23              {
    5.24 -                height: 1in;
    5.25 -                width: 1in;
    5.26 +               height: 100px;
    5.27 +               width: 100px;
    5.28              }
    5.29              #test
    5.30              {
    5.31 -                background-color: rgb(50%, 50%, 50%);
    5.32 +                background-color: rgb(40%, 40%, 40%);
    5.33 +            }
    5.34 +            #reference
    5.35 +            {
    5.36 +                color: rgb(40%, 40%, 40%);
    5.37 +                font: 100px/1 Ahem;
    5.38              }
    5.39          </style>
    5.40      </head>
    5.41      <body>
    5.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    5.43          <div id="test"></div>
    5.44 -        <div id="reference">
    5.45 -            <br />
    5.46 -            <img alt="#7f7f7f color swatch" src="support/7f7f7f_color.png" />
    5.47 -        </div>
    5.48 +        <br />
    5.49 +        <div id="reference">X</div>
    5.50      </body>
    5.51  </html>
    5.52 \ No newline at end of file
     6.1 --- a/approved/css2.1/src/backgrounds/background-color-053.xht	Mon Dec 10 12:42:05 2012 -0800
     6.2 +++ b/approved/css2.1/src/backgrounds/background-color-053.xht	Mon Jan 07 16:07:31 2013 -0800
     6.3 @@ -1,30 +1,34 @@
     6.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     6.5  <html xmlns="http://www.w3.org/1999/xhtml">
     6.6      <head>
     6.7 -        <title>CSS Test: Background-color set to rgb() using percentages with a nominal value and a plus sign, rgb(+50%, +50%, +50%)</title>
     6.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
     6.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    6.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
    6.11 -        <meta name="flags" content="image" />
    6.12 -        <meta name="assert" content="Background-color is set to rgb(+50%, +50%, +50%)." />
    6.13 +        <title>CSS Test: Background-color set to rgb() using percentages with a nominal value and a plus sign, rgb(+40%, +40%, +40%)</title>
    6.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
    6.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
    6.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
    6.17 +        <meta name="flags" content="ahem"/>
    6.18 +        <link rel="match" href="background-color-052-ref.xht"/>
    6.19 +        <meta name="assert" content="Background-color is set to rgb(+40%, +40%, +40%)."/>
    6.20          <style type="text/css">
    6.21 -            img, #test
    6.22 +            #test, #reference
    6.23              {
    6.24 -                height: 1in;
    6.25 -                width: 1in;
    6.26 +               height: 100px;
    6.27 +               width: 100px;
    6.28              }
    6.29              #test
    6.30              {
    6.31 -                background-color: rgb(+50%, +50%, +50%);
    6.32 +                background-color: rgb(+40%, +40%, +40%);
    6.33 +            }
    6.34 +            #reference
    6.35 +            {
    6.36 +                color: rgb(+40%, +40%, +40%);
    6.37 +                font: 100px/1 Ahem;
    6.38              }
    6.39          </style>
    6.40      </head>
    6.41      <body>
    6.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    6.43          <div id="test"></div>
    6.44 -        <div id="reference">
    6.45 -            <br />
    6.46 -            <img alt="#7f7f7f color swatch" src="support/7f7f7f_color.png" />
    6.47 -        </div>
    6.48 +        <br />
    6.49 +        <div id="reference">X</div>
    6.50      </body>
    6.51  </html>
    6.52 \ No newline at end of file
     7.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     7.2 +++ b/approved/css2.1/src/backgrounds/background-color-054-fcfcfc-ref.xht	Mon Jan 07 16:07:31 2013 -0800
     7.3 @@ -0,0 +1,37 @@
     7.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     7.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     7.6 +<head>
     7.7 +    <title>CSS Reftest Reference</title>
     7.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
     7.9 +    <meta name="flags" content="image"/>
    7.10 +    <style>
    7.11 +          body
    7.12 +          {
    7.13 +            background-color: black;
    7.14 +          }
    7.15 +          p
    7.16 +          {
    7.17 +            color: white;
    7.18 +          }
    7.19 +          img
    7.20 +          {
    7.21 +          height: 100px;
    7.22 +          vertical-align: top;
    7.23 +          width: 100px;
    7.24 +          }
    7.25 +    </style>
    7.26 +</head>
    7.27 +<body>
    7.28 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    7.29 +
    7.30 +  <div>
    7.31 +    <img alt="Image download support must be enabled" src="support/fcfcfc_color.png"/>
    7.32 +  </div>
    7.33 +
    7.34 +  <div>
    7.35 +    <br />
    7.36 +    <img alt="Image download support must be enabled" src="support/fcfcfc_color.png"/>
    7.37 +  </div>
    7.38 +
    7.39 + </body>
    7.40 +</html>
    7.41 \ No newline at end of file
     8.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     8.2 +++ b/approved/css2.1/src/backgrounds/background-color-054-fdfdfd-ref.xht	Mon Jan 07 16:07:31 2013 -0800
     8.3 @@ -0,0 +1,37 @@
     8.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     8.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     8.6 +<head>
     8.7 +    <title>CSS Reftest Reference</title>
     8.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
     8.9 +    <meta name="flags" content="image" />
    8.10 +    <style>
    8.11 +          body
    8.12 +          {
    8.13 +            background-color: black;
    8.14 +          }
    8.15 +          p
    8.16 +          {
    8.17 +            color: white;
    8.18 +          }
    8.19 +          img
    8.20 +          {
    8.21 +          height: 100px;
    8.22 +          vertical-align: top;
    8.23 +          width: 100px;
    8.24 +          }
    8.25 +    </style>
    8.26 +</head>
    8.27 +<body>
    8.28 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    8.29 +
    8.30 +  <div>
    8.31 +    <img alt="Image download support must be enabled" src="support/fdfdfd_color.png" />
    8.32 +  </div>
    8.33 +
    8.34 +  <div>
    8.35 +    <br />
    8.36 +    <img alt="Image download support must be enabled" src="support/fdfdfd_color.png" />
    8.37 +  </div>
    8.38 +
    8.39 + </body>
    8.40 +</html>
    8.41 \ No newline at end of file
     9.1 --- a/approved/css2.1/src/backgrounds/background-color-054.xht	Mon Dec 10 12:42:05 2012 -0800
     9.2 +++ b/approved/css2.1/src/backgrounds/background-color-054.xht	Mon Jan 07 16:07:31 2013 -0800
     9.3 @@ -2,12 +2,14 @@
     9.4  <html xmlns="http://www.w3.org/1999/xhtml">
     9.5      <head>
     9.6          <title>CSS Test: Background-color set to rgb() using percentages with a maximum minus one value, rgb(99%, 99%, 99%)</title>
     9.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
     9.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
     9.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
    9.10 -
    9.11 -        <meta name="flags" content="image" />
    9.12 -        <meta name="assert" content="Background-color is set to rgb(99%, 99%, 99%)." />
    9.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
    9.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
    9.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
    9.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
    9.17 +        <link rel="match" href="background-color-054-fcfcfc-ref.xht"/>
    9.18 +        <link rel="match" href="background-color-054-fdfdfd-ref.xht"/>
    9.19 +        <meta name="flags" content="ahem"/>
    9.20 +        <meta name="assert" content="Background-color is set to rgb(99%, 99%, 99%)."/>
    9.21          <style type="text/css">
    9.22              body
    9.23              {
    9.24 @@ -17,23 +19,26 @@
    9.25              {
    9.26                  color: white;
    9.27              }
    9.28 -            img, #test
    9.29 -            {
    9.30 -                height: 1in;
    9.31 -                width: 1in;
    9.32 -            }
    9.33              #test
    9.34              {
    9.35                  background-color: rgb(99%, 99%, 99%);
    9.36              }
    9.37 +            #test, #reference
    9.38 +            {
    9.39 +                height: 100px;
    9.40 +                width: 100px;
    9.41 +            }
    9.42 +            #reference
    9.43 +            {
    9.44 +                color: rgb(99%, 99%, 99%);
    9.45 +                font: 100px/1 Ahem;
    9.46 +            }
    9.47          </style>
    9.48      </head>
    9.49      <body>
    9.50          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
    9.51          <div id="test"></div>
    9.52 -        <div id="reference">
    9.53 -            <br />
    9.54 -            <img alt="#fcfcfc color swatch" src="support/fcfcfc_color.png" />
    9.55 -        </div>
    9.56 +        <br />
    9.57 +        <div id="reference">X</div>
    9.58      </body>
    9.59  </html>
    9.60 \ No newline at end of file
    10.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    10.2 +++ b/approved/css2.1/src/backgrounds/background-color-070-020000-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    10.3 @@ -0,0 +1,29 @@
    10.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    10.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    10.6 +<head>
    10.7 +    <title>CSS Reftest Reference</title>
    10.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    10.9 +    <meta name="flags" content="image"/>
   10.10 +    <style>
   10.11 +          img
   10.12 +          {
   10.13 +          height: 100px;
   10.14 +          vertical-align: top;
   10.15 +          width: 100px;
   10.16 +          }
   10.17 +    </style>
   10.18 +</head>
   10.19 +<body>
   10.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   10.21 +
   10.22 +  <div>
   10.23 +    <img alt="Image download support must be enabled" src="support/020000_color.png"/>
   10.24 +  </div>
   10.25 +
   10.26 +  <div>
   10.27 +    <br />
   10.28 +    <img alt="Image download support must be enabled" src="support/020000_color.png"/>
   10.29 +  </div>
   10.30 +
   10.31 + </body>
   10.32 +</html>
   10.33 \ No newline at end of file
    11.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    11.2 +++ b/approved/css2.1/src/backgrounds/background-color-070-030000-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    11.3 @@ -0,0 +1,29 @@
    11.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    11.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    11.6 +<head>
    11.7 +    <title>CSS Reftest Reference</title>
    11.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    11.9 +    <meta name="flags" content="image" />
   11.10 +    <style>
   11.11 +          img
   11.12 +          {
   11.13 +          height: 100px;
   11.14 +          vertical-align: top;
   11.15 +          width: 100px;
   11.16 +          }
   11.17 +    </style>
   11.18 +</head>
   11.19 +<body>
   11.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   11.21 +
   11.22 +  <div>
   11.23 +    <img alt="Image download support must be enabled" src="support/030000_color.png" />
   11.24 +  </div>
   11.25 +
   11.26 +  <div>
   11.27 +    <br />
   11.28 +    <img alt="Image download support must be enabled" src="support/030000_color.png" />
   11.29 +  </div>
   11.30 +
   11.31 + </body>
   11.32 +</html>
   11.33 \ No newline at end of file
    12.1 --- a/approved/css2.1/src/backgrounds/background-color-070.xht	Mon Dec 10 12:42:05 2012 -0800
    12.2 +++ b/approved/css2.1/src/backgrounds/background-color-070.xht	Mon Jan 07 16:07:31 2013 -0800
    12.3 @@ -2,30 +2,35 @@
    12.4  <html xmlns="http://www.w3.org/1999/xhtml">
    12.5      <head>
    12.6          <title>CSS Test: Background-color set to rgb() using percentages with red set to the minimum plus one value, rgb(1%, 0%, 0%)</title>
    12.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    12.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    12.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   12.10 -
   12.11 -        <meta name="flags" content="image" />
   12.12 -        <meta name="assert" content="Background-color is set to rgb(1%, 0%, 0%)." />
   12.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   12.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   12.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   12.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
   12.17 +        <link rel="match" href="background-color-070-020000-ref.xht"/>
   12.18 +        <link rel="match" href="background-color-070-030000-ref.xht"/>
   12.19 +        <meta name="flags" content="ahem"/>
   12.20 +        <meta name="assert" content="Background-color is set to rgb(1%, 0%, 0%)."/>
   12.21          <style type="text/css">
   12.22 -            img, #test
   12.23 +            #test, #reference
   12.24              {
   12.25 -                height: 1in;
   12.26 -                width: 1in;
   12.27 +                height: 100px;
   12.28 +                width: 100px;
   12.29              }
   12.30              #test
   12.31              {
   12.32                  background-color: rgb(1%, 0%, 0%);
   12.33              }
   12.34 +            #reference
   12.35 +            {
   12.36 +                color: rgb(1%, 0%, 0%);
   12.37 +                font: 100px/1 Ahem;
   12.38 +            }
   12.39          </style>
   12.40      </head>
   12.41      <body>
   12.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   12.43          <div id="test"></div>
   12.44 -        <div id="reference">
   12.45 -            <br />
   12.46 -            <img alt="#020000 color swatch" src="support/020000_color.png" />
   12.47 -        </div>
   12.48 +        <br />
   12.49 +        <div id="reference">X</div>
   12.50      </body>
   12.51  </html>
   12.52 \ No newline at end of file
    13.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    13.2 +++ b/approved/css2.1/src/backgrounds/background-color-073-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    13.3 @@ -0,0 +1,29 @@
    13.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    13.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    13.6 +<head>
    13.7 +    <title>CSS Reftest Reference</title>
    13.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    13.9 +    <meta name="flags" content="image"/>
   13.10 +    <style>
   13.11 +          img
   13.12 +          {
   13.13 +          height: 100px;
   13.14 +          vertical-align: top;
   13.15 +          width: 100px;
   13.16 +          }
   13.17 +    </style>
   13.18 +</head>
   13.19 +<body>
   13.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   13.21 +
   13.22 +  <div>
   13.23 +    <img alt="Image download support must be enabled" src="support/660000_color.png"/>
   13.24 +  </div>
   13.25 +
   13.26 +  <div>
   13.27 +    <br />
   13.28 +    <img alt="Image download support must be enabled" src="support/660000_color.png"/>
   13.29 +  </div>
   13.30 +
   13.31 + </body>
   13.32 +</html>
   13.33 \ No newline at end of file
    14.1 --- a/approved/css2.1/src/backgrounds/background-color-073.xht	Mon Dec 10 12:42:05 2012 -0800
    14.2 +++ b/approved/css2.1/src/backgrounds/background-color-073.xht	Mon Jan 07 16:07:31 2013 -0800
    14.3 @@ -1,30 +1,34 @@
    14.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    14.5  <html xmlns="http://www.w3.org/1999/xhtml">
    14.6      <head>
    14.7 -        <title>CSS Test: Background-color set to rgb() using percentages with red set to a nominal value, rgb(50%, 0%, 0%)</title>
    14.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    14.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
   14.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   14.11 -        <meta name="flags" content="image" />
   14.12 -        <meta name="assert" content="Background-color is set to rgb(50%, 0%, 0%)." />
   14.13 +        <title>CSS Test: Background-color set to rgb() using percentages with red set to a nominal value, rgb(40%, 0%, 0%)</title>
   14.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   14.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   14.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   14.17 +        <meta name="flags" content="ahem"/>
   14.18 +        <link rel="match" href="background-color-073-ref.xht"/>
   14.19 +        <meta name="assert" content="Background-color is set to rgb(40%, 0%, 0%)."/>
   14.20          <style type="text/css">
   14.21 -            img, #test
   14.22 +            #test, #reference
   14.23              {
   14.24 -                height: 1in;
   14.25 -                width: 1in;
   14.26 +               height: 100px;
   14.27 +               width: 100px;
   14.28              }
   14.29              #test
   14.30              {
   14.31 -                background-color: rgb(50%, 0%, 0%);
   14.32 +                background-color: rgb(40%, 0%, 0%);
   14.33 +            }
   14.34 +            #reference
   14.35 +            {
   14.36 +                color: rgb(40%, 0%, 0%);
   14.37 +                font: 100px/1 Ahem;
   14.38              }
   14.39          </style>
   14.40      </head>
   14.41      <body>
   14.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   14.43          <div id="test"></div>
   14.44 -        <div id="reference">
   14.45 -            <br />
   14.46 -            <img alt="#7f0000 color swatch" src="support/7f0000_color.png" />
   14.47 -        </div>
   14.48 +        <br />
   14.49 +        <div id="reference">X</div>
   14.50      </body>
   14.51  </html>
   14.52 \ No newline at end of file
    15.1 --- a/approved/css2.1/src/backgrounds/background-color-074.xht	Mon Dec 10 12:42:05 2012 -0800
    15.2 +++ b/approved/css2.1/src/backgrounds/background-color-074.xht	Mon Jan 07 16:07:31 2013 -0800
    15.3 @@ -1,30 +1,34 @@
    15.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    15.5  <html xmlns="http://www.w3.org/1999/xhtml">
    15.6      <head>
    15.7 -        <title>CSS Test: Background-color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+50%, 0%, 0%)</title>
    15.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    15.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
   15.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   15.11 -        <meta name="flags" content="image" />
   15.12 -        <meta name="assert" content="Background-color is set to rgb(+50%, 0%, 0%)." />
   15.13 +        <title>CSS Test: Background-color set to rgb() using percentages with red set to a nominal value with a plus sign, rgb(+40%, 0%, 0%)</title>
   15.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   15.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   15.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   15.17 +        <meta name="flags" content="ahem"/>
   15.18 +        <link rel="match" href="background-color-073-ref.xht"/>>
   15.19 +        <meta name="assert" content="Background-color is set to rgb(+40%, 0%, 0%)."/>
   15.20          <style type="text/css">
   15.21 -            img, #test
   15.22 +            #test, #reference
   15.23              {
   15.24 -                height: 1in;
   15.25 -                width: 1in;
   15.26 +               height: 100px;
   15.27 +               width: 100px;
   15.28              }
   15.29              #test
   15.30              {
   15.31 -                background-color: rgb(+50%, 0%, 0%);
   15.32 +                background-color: rgb(+40%, 0%, 0%);
   15.33 +            }
   15.34 +            #reference
   15.35 +            {
   15.36 +                color: rgb(+40%, 0%, 0%);
   15.37 +                font: 100px/1 Ahem;
   15.38              }
   15.39          </style>
   15.40      </head>
   15.41      <body>
   15.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   15.43          <div id="test"></div>
   15.44 -        <div id="reference">
   15.45 -            <br />
   15.46 -            <img alt="#7f0000 color swatch" src="support/7f0000_color.png" />
   15.47 -        </div>
   15.48 +        <br />
   15.49 +        <div id="reference">X</div>
   15.50      </body>
   15.51  </html>
   15.52 \ No newline at end of file
    16.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    16.2 +++ b/approved/css2.1/src/backgrounds/background-color-075-fc0000-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    16.3 @@ -0,0 +1,29 @@
    16.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    16.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    16.6 +<head>
    16.7 +    <title>CSS Reftest Reference</title>
    16.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    16.9 +    <meta name="flags" content="image"/>
   16.10 +    <style>
   16.11 +          img
   16.12 +          {
   16.13 +          height: 100px;
   16.14 +          vertical-align: top;
   16.15 +          width: 100px;
   16.16 +          }
   16.17 +    </style>
   16.18 +</head>
   16.19 +<body>
   16.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   16.21 +
   16.22 +  <div>
   16.23 +    <img alt="Image download support must be enabled" src="support/fc0000_color.png"/>
   16.24 +  </div>
   16.25 +
   16.26 +  <div>
   16.27 +    <br />
   16.28 +    <img alt="Image download support must be enabled" src="support/fc0000_color.png"/>
   16.29 +  </div>
   16.30 +
   16.31 + </body>
   16.32 +</html>
   16.33 \ No newline at end of file
    17.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    17.2 +++ b/approved/css2.1/src/backgrounds/background-color-075-fd0000-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    17.3 @@ -0,0 +1,29 @@
    17.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    17.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    17.6 +<head>
    17.7 +    <title>CSS Reftest Reference</title>
    17.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    17.9 +    <meta name="flags" content="image" />
   17.10 +    <style>
   17.11 +          img
   17.12 +          {
   17.13 +          height: 100px;
   17.14 +          vertical-align: top;
   17.15 +          width: 100px;
   17.16 +          }
   17.17 +    </style>
   17.18 +</head>
   17.19 +<body>
   17.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   17.21 +
   17.22 +  <div>
   17.23 +    <img alt="Image download support must be enabled" src="support/fd0000_color.png" />
   17.24 +  </div>
   17.25 +
   17.26 +  <div>
   17.27 +    <br />
   17.28 +    <img alt="Image download support must be enabled" src="support/fd0000_color.png" />
   17.29 +  </div>
   17.30 +
   17.31 + </body>
   17.32 +</html>
   17.33 \ No newline at end of file
    18.1 --- a/approved/css2.1/src/backgrounds/background-color-075.xht	Mon Dec 10 12:42:05 2012 -0800
    18.2 +++ b/approved/css2.1/src/backgrounds/background-color-075.xht	Mon Jan 07 16:07:31 2013 -0800
    18.3 @@ -2,30 +2,35 @@
    18.4  <html xmlns="http://www.w3.org/1999/xhtml">
    18.5      <head>
    18.6          <title>CSS Test: Background-color set to rgb() using percentages with red set to a maximum minus one value, rgb(99%, 0%, 0%)</title>
    18.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    18.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    18.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   18.10 -
   18.11 -        <meta name="flags" content="image" />
   18.12 -        <meta name="assert" content="Background-color is set to rgb(99%, 0%, 0%)." />
   18.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   18.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   18.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   18.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
   18.17 +        <link rel="match" href="background-color-075-fc0000-ref.xht"/>
   18.18 +        <link rel="match" href="background-color-075-fd0000-ref.xht"/>
   18.19 +        <meta name="flags" content="ahem"/>
   18.20 +        <meta name="assert" content="Background-color is set to rgb(99%, 0%, 0%)."/>
   18.21          <style type="text/css">
   18.22 -            img, #test
   18.23 +            #test, #reference
   18.24              {
   18.25 -                height: 1in;
   18.26 -                width: 1in;
   18.27 +                height: 100px;
   18.28 +                width: 100px;
   18.29              }
   18.30              #test
   18.31              {
   18.32                  background-color: rgb(99%, 0%, 0%);
   18.33              }
   18.34 +            #reference
   18.35 +            {
   18.36 +                color: rgb(99%, 0%, 0%);
   18.37 +                font: 100px/1 Ahem;
   18.38 +            }
   18.39          </style>
   18.40      </head>
   18.41      <body>
   18.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   18.43          <div id="test"></div>
   18.44 -        <div id="reference">
   18.45 -            <br />
   18.46 -            <img alt="#fc0000 color swatch" src="support/fc0000_color.png" />
   18.47 -        </div>
   18.48 +        <br />
   18.49 +        <div id="reference">X</div>
   18.50      </body>
   18.51  </html>
   18.52 \ No newline at end of file
    19.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    19.2 +++ b/approved/css2.1/src/backgrounds/background-color-090-000200-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    19.3 @@ -0,0 +1,29 @@
    19.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    19.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    19.6 +<head>
    19.7 +    <title>CSS Reftest Reference</title>
    19.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    19.9 +    <meta name="flags" content="image"/>
   19.10 +    <style>
   19.11 +          img
   19.12 +          {
   19.13 +          height: 100px;
   19.14 +          vertical-align: top;
   19.15 +          width: 100px;
   19.16 +          }
   19.17 +    </style>
   19.18 +</head>
   19.19 +<body>
   19.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   19.21 +
   19.22 +  <div>
   19.23 +    <img alt="Image download support must be enabled" src="support/000200_color.png"/>
   19.24 +  </div>
   19.25 +
   19.26 +  <div>
   19.27 +    <br />
   19.28 +    <img alt="Image download support must be enabled" src="support/000200_color.png"/>
   19.29 +  </div>
   19.30 +
   19.31 + </body>
   19.32 +</html>
   19.33 \ No newline at end of file
    20.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    20.2 +++ b/approved/css2.1/src/backgrounds/background-color-090-000300-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    20.3 @@ -0,0 +1,29 @@
    20.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    20.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    20.6 +<head>
    20.7 +    <title>CSS Reftest Reference</title>
    20.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    20.9 +    <meta name="flags" content="image" />
   20.10 +    <style>
   20.11 +          img
   20.12 +          {
   20.13 +          height: 100px;
   20.14 +          vertical-align: top;
   20.15 +          width: 100px;
   20.16 +          }
   20.17 +    </style>
   20.18 +</head>
   20.19 +<body>
   20.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   20.21 +
   20.22 +  <div>
   20.23 +    <img alt="Image download support must be enabled" src="support/000300_color.png" />
   20.24 +  </div>
   20.25 +
   20.26 +  <div>
   20.27 +    <br />
   20.28 +    <img alt="Image download support must be enabled" src="support/000300_color.png" />
   20.29 +  </div>
   20.30 +
   20.31 + </body>
   20.32 +</html>
   20.33 \ No newline at end of file
    21.1 --- a/approved/css2.1/src/backgrounds/background-color-090.xht	Mon Dec 10 12:42:05 2012 -0800
    21.2 +++ b/approved/css2.1/src/backgrounds/background-color-090.xht	Mon Jan 07 16:07:31 2013 -0800
    21.3 @@ -2,30 +2,35 @@
    21.4  <html xmlns="http://www.w3.org/1999/xhtml">
    21.5      <head>
    21.6          <title>CSS Test: Background-color set to rgb() using percentages with green set to the minimum plus one value, rgb(0%, 1%, 0%)</title>
    21.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    21.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    21.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   21.10 -
   21.11 -        <meta name="flags" content="image" />
   21.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 1%, 0%)." />
   21.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   21.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   21.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   21.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
   21.17 +        <link rel="match" href="background-color-090-000200-ref.xht"/>
   21.18 +        <link rel="match" href="background-color-090-000300-ref.xht"/>
   21.19 +        <meta name="flags" content="image"/>
   21.20 +        <meta name="assert" content="Background-color is set to rgb(0%, 1%, 0%)."/>
   21.21          <style type="text/css">
   21.22 -            img, #test
   21.23 +            #test, #reference
   21.24              {
   21.25 -                height: 1in;
   21.26 -                width: 1in;
   21.27 +                height: 100px;
   21.28 +                width: 100px;
   21.29              }
   21.30              #test
   21.31              {
   21.32                  background-color: rgb(0%, 1%, 0%);
   21.33              }
   21.34 +            #reference
   21.35 +            {
   21.36 +                color: rgb(0%, 1%, 0%);
   21.37 +                font: 100px/1 Ahem;
   21.38 +            }
   21.39          </style>
   21.40      </head>
   21.41      <body>
   21.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   21.43          <div id="test"></div>
   21.44 -        <div id="reference">
   21.45 -            <br />
   21.46 -            <img alt="#000 color swatch" src="support/000200_color.png" />
   21.47 -        </div>
   21.48 +        <br />
   21.49 +        <div id="reference">X</div>
   21.50      </body>
   21.51  </html>
   21.52 \ No newline at end of file
    22.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    22.2 +++ b/approved/css2.1/src/backgrounds/background-color-093-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    22.3 @@ -0,0 +1,29 @@
    22.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    22.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    22.6 +<head>
    22.7 +    <title>CSS Reftest Reference</title>
    22.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    22.9 +    <meta name="flags" content="image"/>
   22.10 +    <style>
   22.11 +          img
   22.12 +          {
   22.13 +          height: 100px;
   22.14 +          vertical-align: top;
   22.15 +          width: 100px;
   22.16 +          }
   22.17 +    </style>
   22.18 +</head>
   22.19 +<body>
   22.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   22.21 +
   22.22 +  <div>
   22.23 +    <img alt="Image download support must be enabled" src="support/006600_color.png"/>
   22.24 +  </div>
   22.25 +
   22.26 +  <div>
   22.27 +    <br />
   22.28 +    <img alt="Image download support must be enabled" src="support/006600_color.png"/>
   22.29 +  </div>
   22.30 +
   22.31 + </body>
   22.32 +</html>
   22.33 \ No newline at end of file
    23.1 --- a/approved/css2.1/src/backgrounds/background-color-093.xht	Mon Dec 10 12:42:05 2012 -0800
    23.2 +++ b/approved/css2.1/src/backgrounds/background-color-093.xht	Mon Jan 07 16:07:31 2013 -0800
    23.3 @@ -1,30 +1,34 @@
    23.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    23.5  <html xmlns="http://www.w3.org/1999/xhtml">
    23.6      <head>
    23.7 -        <title>CSS Test: Background-color set to rgb() using percentages with green set to a nominal value, rgb(0%, 50%, 0%)</title>
    23.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    23.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
   23.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   23.11 -        <meta name="flags" content="image" />
   23.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 50%, 0%)." />
   23.13 +        <title>CSS Test: Background-color set to rgb() using percentages with green set to a nominal value, rgb(0%, 40%, 0%)</title>
   23.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   23.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   23.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   23.17 +        <meta name="flags" content="ahem"/>
   23.18 +        <link rel="match" href="background-color-093-ref.xht"/>
   23.19 +        <meta name="assert" content="Background-color is set to rgb(0%, 40%, 0%)."/>
   23.20          <style type="text/css">
   23.21 -            img, #test
   23.22 +            #test, #reference
   23.23              {
   23.24 -                height: 1in;
   23.25 -                width: 1in;
   23.26 +                height: 100px;
   23.27 +                width: 100px;
   23.28              }
   23.29              #test
   23.30              {
   23.31 -                background-color: rgb(0%, 50%, 0%);
   23.32 +                background-color: rgb(0%, 40%, 0%);
   23.33 +            }
   23.34 +            #reference
   23.35 +            {
   23.36 +                color: rgb(0%, 40%, 0%);
   23.37 +                font: 100px/1 Ahem;
   23.38              }
   23.39          </style>
   23.40      </head>
   23.41      <body>
   23.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   23.43          <div id="test"></div>
   23.44 -        <div id="reference">
   23.45 -            <br />
   23.46 -            <img alt="#007f00 color swatch" src="support/007f00_color.png" />
   23.47 -        </div>
   23.48 +        <br />
   23.49 +        <div id="reference">X</div>
   23.50      </body>
   23.51  </html>
   23.52 \ No newline at end of file
    24.1 --- a/approved/css2.1/src/backgrounds/background-color-094.xht	Mon Dec 10 12:42:05 2012 -0800
    24.2 +++ b/approved/css2.1/src/backgrounds/background-color-094.xht	Mon Jan 07 16:07:31 2013 -0800
    24.3 @@ -1,30 +1,34 @@
    24.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    24.5  <html xmlns="http://www.w3.org/1999/xhtml">
    24.6      <head>
    24.7 -        <title>CSS Test: Background-color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +50%, 0%)</title>
    24.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    24.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
   24.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   24.11 -        <meta name="flags" content="image" />
   24.12 -        <meta name="assert" content="Background-color is set to rgb(0%, +50%, 0%)." />
   24.13 +        <title>CSS Test: Background-color set to rgb() using percentages with green set to a nominal value with a plus sign, rgb(0%, +40%, 0%)</title>
   24.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   24.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   24.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   24.17 +        <meta name="flags" content="ahem"/>
   24.18 +        <link rel="match" href="background-color-093-ref.xht"/>
   24.19 +        <meta name="assert" content="Background-color is set to rgb(0%, +40%, 0%)."/>
   24.20          <style type="text/css">
   24.21 -            img, #test
   24.22 +            #test, #reference
   24.23              {
   24.24 -                height: 1in;
   24.25 -                width: 1in;
   24.26 +                height: 100px;
   24.27 +                width: 100px;
   24.28              }
   24.29              #test
   24.30              {
   24.31 -                background-color: rgb(0%, +50%, 0%);
   24.32 +                background-color: rgb(0%, +40%, 0%);
   24.33 +            }
   24.34 +            #reference
   24.35 +            {
   24.36 +                color: rgb(0%, +40%, 0%);
   24.37 +                font: 100px/1 Ahem;
   24.38              }
   24.39          </style>
   24.40      </head>
   24.41      <body>
   24.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   24.43          <div id="test"></div>
   24.44 -        <div id="reference">
   24.45 -            <br />
   24.46 -            <img alt="#007f00 color swatch" src="support/007f00_color.png" />
   24.47 -        </div>
   24.48 +        <br />
   24.49 +        <div id="reference">X</div>
   24.50      </body>
   24.51  </html>
   24.52 \ No newline at end of file
    25.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    25.2 +++ b/approved/css2.1/src/backgrounds/background-color-095-00fc00-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    25.3 @@ -0,0 +1,29 @@
    25.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    25.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    25.6 +<head>
    25.7 +    <title>CSS Reftest Reference</title>
    25.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    25.9 +    <meta name="flags" content="image"/>
   25.10 +    <style>
   25.11 +          img
   25.12 +          {
   25.13 +          height: 100px;
   25.14 +          vertical-align: top;
   25.15 +          width: 100px;
   25.16 +          }
   25.17 +    </style>
   25.18 +</head>
   25.19 +<body>
   25.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   25.21 +
   25.22 +  <div>
   25.23 +    <img alt="Image download support must be enabled" src="support/00fc00_color.png"/>
   25.24 +  </div>
   25.25 +
   25.26 +  <div>
   25.27 +    <br />
   25.28 +    <img alt="Image download support must be enabled" src="support/00fc00_color.png"/>
   25.29 +  </div>
   25.30 +
   25.31 + </body>
   25.32 +</html>
   25.33 \ No newline at end of file
    26.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    26.2 +++ b/approved/css2.1/src/backgrounds/background-color-095-00fd00-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    26.3 @@ -0,0 +1,29 @@
    26.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    26.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    26.6 +<head>
    26.7 +    <title>CSS Reftest Reference</title>
    26.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    26.9 +    <meta name="flags" content="image" />
   26.10 +    <style>
   26.11 +          img
   26.12 +          {
   26.13 +          height: 100px;
   26.14 +          vertical-align: top;
   26.15 +          width: 100px;
   26.16 +          }
   26.17 +    </style>
   26.18 +</head>
   26.19 +<body>
   26.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   26.21 +
   26.22 +  <div>
   26.23 +    <img alt="Image download support must be enabled" src="support/00fd00_color.png" />
   26.24 +  </div>
   26.25 +
   26.26 +  <div>
   26.27 +    <br />
   26.28 +    <img alt="Image download support must be enabled" src="support/00fd00_color.png" />
   26.29 +  </div>
   26.30 +
   26.31 + </body>
   26.32 +</html>
   26.33 \ No newline at end of file
    27.1 --- a/approved/css2.1/src/backgrounds/background-color-095.xht	Mon Dec 10 12:42:05 2012 -0800
    27.2 +++ b/approved/css2.1/src/backgrounds/background-color-095.xht	Mon Jan 07 16:07:31 2013 -0800
    27.3 @@ -2,30 +2,35 @@
    27.4  <html xmlns="http://www.w3.org/1999/xhtml">
    27.5      <head>
    27.6          <title>CSS Test: Background-color set to rgb() using percentages with green set to a maximum minus one value, rgb(0%, 99%, 0%)</title>
    27.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    27.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    27.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   27.10 -
   27.11 -        <meta name="flags" content="image" />
   27.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 99%, 0%)." />
   27.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   27.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   27.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   27.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
   27.17 +        <link rel="match" href="background-color-095-00fc00-ref.xht"/>
   27.18 +        <link rel="match" href="background-color-095-00fd00-ref.xht"/>
   27.19 +        <meta name="flags" content="ahem"/>
   27.20 +        <meta name="assert" content="Background-color is set to rgb(0%, 99%, 0%)."/>
   27.21          <style type="text/css">
   27.22 -            img, #test
   27.23 +            #test, #reference
   27.24              {
   27.25 -                height: 1in;
   27.26 -                width: 1in;
   27.27 +                height: 100px;
   27.28 +                width: 100px;
   27.29              }
   27.30              #test
   27.31              {
   27.32                  background-color: rgb(0%, 99%, 0%);
   27.33              }
   27.34 +            #reference
   27.35 +            {
   27.36 +                color: rgb(0%, 99%, 0%);
   27.37 +                font: 100px/1 Ahem;
   27.38 +            }
   27.39          </style>
   27.40      </head>
   27.41      <body>
   27.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   27.43          <div id="test"></div>
   27.44 -        <div id="reference">
   27.45 -            <br />
   27.46 -            <img alt="#00fc00 color swatch" src="support/00fc00_color.png" />
   27.47 -        </div>
   27.48 +        <br />
   27.49 +        <div id="reference">X</div>
   27.50      </body>
   27.51  </html>
   27.52 \ No newline at end of file
    28.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    28.2 +++ b/approved/css2.1/src/backgrounds/background-color-110-000002-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    28.3 @@ -0,0 +1,29 @@
    28.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    28.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    28.6 +<head>
    28.7 +    <title>CSS Reftest Reference</title>
    28.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    28.9 +    <meta name="flags" content="image"/>
   28.10 +    <style>
   28.11 +          img
   28.12 +          {
   28.13 +          height: 100px;
   28.14 +          vertical-align: top;
   28.15 +          width: 100px;
   28.16 +          }
   28.17 +    </style>
   28.18 +</head>
   28.19 +<body>
   28.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   28.21 +
   28.22 +  <div>
   28.23 +    <img alt="Image download support must be enabled" src="support/000002_color.png"/>
   28.24 +  </div>
   28.25 +
   28.26 +  <div>
   28.27 +    <br />
   28.28 +    <img alt="Image download support must be enabled" src="support/000002_color.png"/>
   28.29 +  </div>
   28.30 +
   28.31 + </body>
   28.32 +</html>
   28.33 \ No newline at end of file
    29.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    29.2 +++ b/approved/css2.1/src/backgrounds/background-color-110-000003-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    29.3 @@ -0,0 +1,29 @@
    29.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    29.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    29.6 +<head>
    29.7 +    <title>CSS Reftest Reference</title>
    29.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    29.9 +    <meta name="flags" content="image" />
   29.10 +    <style>
   29.11 +          img
   29.12 +          {
   29.13 +          height: 100px;
   29.14 +          vertical-align: top;
   29.15 +          width: 100px;
   29.16 +          }
   29.17 +    </style>
   29.18 +</head>
   29.19 +<body>
   29.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   29.21 +
   29.22 +  <div>
   29.23 +    <img alt="Image download support must be enabled" src="support/000003_color.png" />
   29.24 +  </div>
   29.25 +
   29.26 +  <div>
   29.27 +    <br />
   29.28 +    <img alt="Image download support must be enabled" src="support/000003_color.png" />
   29.29 +  </div>
   29.30 +
   29.31 + </body>
   29.32 +</html>
   29.33 \ No newline at end of file
    30.1 --- a/approved/css2.1/src/backgrounds/background-color-110.xht	Mon Dec 10 12:42:05 2012 -0800
    30.2 +++ b/approved/css2.1/src/backgrounds/background-color-110.xht	Mon Jan 07 16:07:31 2013 -0800
    30.3 @@ -2,30 +2,35 @@
    30.4  <html xmlns="http://www.w3.org/1999/xhtml">
    30.5      <head>
    30.6          <title>CSS Test: Background-color set to rgb() using percentages with blue set to the minimum plus one value, rgb(0%, 0%, 1%)</title>
    30.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    30.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    30.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   30.10 -
   30.11 -        <meta name="flags" content="image" />
   30.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 0%, 1%)." />
   30.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   30.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   30.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   30.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
   30.17 +        <link rel="match" href="background-color-110-000002-ref.xht"/>
   30.18 +        <link rel="match" href="background-color-110-000003-ref.xht"/>
   30.19 +        <meta name="flags" content="ahem"/>
   30.20 +        <meta name="assert" content="Background-color is set to rgb(0%, 0%, 1%)."/>
   30.21          <style type="text/css">
   30.22 -            img, #test
   30.23 +            #test, #reference
   30.24              {
   30.25 -                height: 1in;
   30.26 -                width: 1in;
   30.27 +                height: 100px;
   30.28 +                width: 100px;
   30.29              }
   30.30              #test
   30.31              {
   30.32                  background-color: rgb(0%, 0%, 1%);
   30.33              }
   30.34 +            #reference
   30.35 +            {
   30.36 +                color: rgb(0%, 0%, 1%);
   30.37 +                font: 100px/1 Ahem;
   30.38 +            }
   30.39          </style>
   30.40      </head>
   30.41      <body>
   30.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   30.43          <div id="test"></div>
   30.44 -        <div id="reference">
   30.45 -            <br />
   30.46 -            <img alt="#000002 color swatch" src="support/000002_color.png" />
   30.47 -        </div>
   30.48 +        <br />
   30.49 +        <div id="reference">X</div>
   30.50      </body>
   30.51  </html>
   30.52 \ No newline at end of file
    31.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    31.2 +++ b/approved/css2.1/src/backgrounds/background-color-113-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    31.3 @@ -0,0 +1,29 @@
    31.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    31.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    31.6 +<head>
    31.7 +    <title>CSS Reftest Reference</title>
    31.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    31.9 +    <meta name="flags" content="image"/>
   31.10 +    <style>
   31.11 +          img
   31.12 +          {
   31.13 +          height: 100px;
   31.14 +          vertical-align: top;
   31.15 +          width: 100px;
   31.16 +          }
   31.17 +    </style>
   31.18 +</head>
   31.19 +<body>
   31.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   31.21 +
   31.22 +  <div>
   31.23 +    <img alt="Image download support must be enabled" src="support/000066_color.png"/>
   31.24 +  </div>
   31.25 +
   31.26 +  <div>
   31.27 +    <br />
   31.28 +    <img alt="Image download support must be enabled" src="support/000066_color.png"/>
   31.29 +  </div>
   31.30 +
   31.31 + </body>
   31.32 +</html>
   31.33 \ No newline at end of file
    32.1 --- a/approved/css2.1/src/backgrounds/background-color-113.xht	Mon Dec 10 12:42:05 2012 -0800
    32.2 +++ b/approved/css2.1/src/backgrounds/background-color-113.xht	Mon Jan 07 16:07:31 2013 -0800
    32.3 @@ -1,30 +1,34 @@
    32.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    32.5  <html xmlns="http://www.w3.org/1999/xhtml">
    32.6      <head>
    32.7 -        <title>CSS Test: Background-color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 50%)</title>
    32.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    32.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
   32.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   32.11 -        <meta name="flags" content="image" />
   32.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 0%, 50%)." />
   32.13 +        <title>CSS Test: Background-color set to rgb() using percentages with blue set to a nominal value, rgb(0%, 0%, 40%)</title>
   32.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   32.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   32.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   32.17 +        <meta name="flags" content="ahem"/>
   32.18 +        <link rel="match" href="background-color-113-ref.xht"/>
   32.19 +        <meta name="assert" content="Background-color is set to rgb(0%, 0%, 40%)."/>
   32.20          <style type="text/css">
   32.21 -            img, #test
   32.22 +            #test, #reference
   32.23              {
   32.24 -                height: 1in;
   32.25 -                width: 1in;
   32.26 +                height: 100px;
   32.27 +                width: 100px;
   32.28              }
   32.29              #test
   32.30              {
   32.31 -                background-color: rgb(0%, 0%, 50%);
   32.32 +                background-color: rgb(0%, 0%, 40%);
   32.33 +            }
   32.34 +            #reference
   32.35 +            {
   32.36 +                color: rgb(0%, 0%, 40%);
   32.37 +                font: 100px/1 Ahem;
   32.38              }
   32.39          </style>
   32.40      </head>
   32.41      <body>
   32.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   32.43          <div id="test"></div>
   32.44 -        <div id="reference">
   32.45 -            <br />
   32.46 -            <img alt="#00007f color swatch" src="support/00007f_color.png" />
   32.47 -        </div>
   32.48 +        <br />
   32.49 +        <div id="reference">X</div>
   32.50      </body>
   32.51  </html>
   32.52 \ No newline at end of file
    33.1 --- a/approved/css2.1/src/backgrounds/background-color-114.xht	Mon Dec 10 12:42:05 2012 -0800
    33.2 +++ b/approved/css2.1/src/backgrounds/background-color-114.xht	Mon Jan 07 16:07:31 2013 -0800
    33.3 @@ -1,30 +1,34 @@
    33.4  <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    33.5  <html xmlns="http://www.w3.org/1999/xhtml">
    33.6      <head>
    33.7 -        <title>CSS Test: Background-color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +50%)</title>
    33.8 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    33.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
   33.10 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   33.11 -        <meta name="flags" content="image" />
   33.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 0%, +50%)." />
   33.13 +        <title>CSS Test: Background-color set to rgb() using percentages with blue set to a nominal value with a plus sign, rgb(0%, 0%, +40%)</title>
   33.14 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   33.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   33.16 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   33.17 +        <meta name="flags" content="ahem"/>
   33.18 +        <link rel="match" href="background-color-113-ref.xht"/>
   33.19 +        <meta name="assert" content="Background-color is set to rgb(0%, 0%, +40%)."/>
   33.20          <style type="text/css">
   33.21 -            img, #test
   33.22 +            #test, #reference
   33.23              {
   33.24 -                height: 1in;
   33.25 -                width: 1in;
   33.26 +                height: 100px;
   33.27 +                width: 100px;
   33.28              }
   33.29              #test
   33.30              {
   33.31 -                background-color: rgb(0%, 0%, +50%);
   33.32 +                background-color: rgb(0%, 0%, +40%);
   33.33 +            }
   33.34 +            #reference
   33.35 +            {
   33.36 +                color: rgb(0%, 0%, +40%);
   33.37 +                font: 100px/1 Ahem;
   33.38              }
   33.39          </style>
   33.40      </head>
   33.41      <body>
   33.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   33.43          <div id="test"></div>
   33.44 -        <div id="reference">
   33.45 -            <br />
   33.46 -            <img alt="#00007f color swatch" src="support/00007f_color.png" />
   33.47 -        </div>
   33.48 +        <br />
   33.49 +        <div id="reference">X</div>
   33.50      </body>
   33.51  </html>
   33.52 \ No newline at end of file
    34.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    34.2 +++ b/approved/css2.1/src/backgrounds/background-color-115-0000fc-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    34.3 @@ -0,0 +1,29 @@
    34.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    34.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    34.6 +<head>
    34.7 +    <title>CSS Reftest Reference</title>
    34.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    34.9 +    <meta name="flags" content="image"/>
   34.10 +    <style>
   34.11 +          img
   34.12 +          {
   34.13 +          height: 100px;
   34.14 +          vertical-align: top;
   34.15 +          width: 100px;
   34.16 +          }
   34.17 +    </style>
   34.18 +</head>
   34.19 +<body>
   34.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   34.21 +
   34.22 +  <div>
   34.23 +    <img alt="Image download support must be enabled" src="support/0000fc_color.png"/>
   34.24 +  </div>
   34.25 +
   34.26 +  <div>
   34.27 +    <br />
   34.28 +    <img alt="Image download support must be enabled" src="support/0000fc_color.png"/>
   34.29 +  </div>
   34.30 +
   34.31 + </body>
   34.32 +</html>
   34.33 \ No newline at end of file
    35.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
    35.2 +++ b/approved/css2.1/src/backgrounds/background-color-115-0000fd-ref.xht	Mon Jan 07 16:07:31 2013 -0800
    35.3 @@ -0,0 +1,29 @@
    35.4 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
    35.5 +<html xmlns="http://www.w3.org/1999/xhtml">
    35.6 +<head>
    35.7 +    <title>CSS Reftest Reference</title>
    35.8 +    <link rel="author" title="Rebecca Hauck" href="mailto:rhauck@adobe.com"/>
    35.9 +    <meta name="flags" content="image" />
   35.10 +    <style>
   35.11 +          img
   35.12 +          {
   35.13 +          height: 100px;
   35.14 +          vertical-align: top;
   35.15 +          width: 100px;
   35.16 +          }
   35.17 +    </style>
   35.18 +</head>
   35.19 +<body>
   35.20 +  <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   35.21 +
   35.22 +  <div>
   35.23 +    <img alt="Image download support must be enabled" src="support/0000fd_color.png" />
   35.24 +  </div>
   35.25 +
   35.26 +  <div>
   35.27 +    <br />
   35.28 +    <img alt="Image download support must be enabled" src="support/0000fd_color.png" />
   35.29 +  </div>
   35.30 +
   35.31 + </body>
   35.32 +</html>
   35.33 \ No newline at end of file
    36.1 --- a/approved/css2.1/src/backgrounds/background-color-115.xht	Mon Dec 10 12:42:05 2012 -0800
    36.2 +++ b/approved/css2.1/src/backgrounds/background-color-115.xht	Mon Jan 07 16:07:31 2013 -0800
    36.3 @@ -2,30 +2,35 @@
    36.4  <html xmlns="http://www.w3.org/1999/xhtml">
    36.5      <head>
    36.6          <title>CSS Test: Background-color set to rgb() using percentages with blue set to a maximum minus one value, rgb(0%, 0%, 99%)</title>
    36.7 -        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
    36.8 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color" />
    36.9 -        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties" />
   36.10 -
   36.11 -        <meta name="flags" content="image" />
   36.12 -        <meta name="assert" content="Background-color is set to rgb(0%, 0%, 99%)." />
   36.13 +        <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
   36.14 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#propdef-background-color"/>
   36.15 +        <link rel="help" href="http://www.w3.org/TR/CSS21/colors.html#background-properties"/>
   36.16 +        <!-- This test has 2 reference files to match rounding fractional color values up or down -->
   36.17 +        <link rel="match" href="background-color-115-0000fc-ref.xht"/>
   36.18 +        <link rel="match" href="background-color-115-0000fd-ref.xht"/>
   36.19 +        <meta name="flags" content="ahem"/>
   36.20 +        <meta name="assert" content="Background-color is set to rgb(0%, 0%, 99%)."/>
   36.21          <style type="text/css">
   36.22 -            img, #test
   36.23 +            #test, #reference
   36.24              {
   36.25 -                height: 1in;
   36.26 -                width: 1in;
   36.27 +                height: 100px;
   36.28 +                width: 100px;
   36.29              }
   36.30              #test
   36.31              {
   36.32                  background-color: rgb(0%, 0%, 99%);
   36.33              }
   36.34 +            #reference
   36.35 +            {
   36.36 +                color: rgb(0%, 0%, 99%);
   36.37 +                font: 100px/1 Ahem;
   36.38 +            }
   36.39          </style>
   36.40      </head>
   36.41      <body>
   36.42          <p>Test passes if there are 2 squares with the <strong>same color</strong>.</p>
   36.43          <div id="test"></div>
   36.44 -        <div id="reference">
   36.45 -            <br />
   36.46 -            <img alt="#0000fc color swatch" src="support/0000fc_color.png" />
   36.47 -        </div>
   36.48 +        <br />
   36.49 +        <div id="reference">X</div>
   36.50      </body>
   36.51  </html>
   36.52 \ No newline at end of file
    37.1 Binary file approved/css2.1/src/backgrounds/support/000003_color.png has changed
    38.1 Binary file approved/css2.1/src/backgrounds/support/000066_color.png has changed
    39.1 Binary file approved/css2.1/src/backgrounds/support/0000fd_color.png has changed
    40.1 Binary file approved/css2.1/src/backgrounds/support/000300_color.png has changed
    41.1 Binary file approved/css2.1/src/backgrounds/support/006600_color.png has changed
    42.1 Binary file approved/css2.1/src/backgrounds/support/00fd00_color.png has changed
    43.1 Binary file approved/css2.1/src/backgrounds/support/030000_color.png has changed
    44.1 Binary file approved/css2.1/src/backgrounds/support/030303_color.png has changed
    45.1 Binary file approved/css2.1/src/backgrounds/support/660000_color.png has changed
    46.1 Binary file approved/css2.1/src/backgrounds/support/666666_color.png has changed
    47.1 Binary file approved/css2.1/src/backgrounds/support/fd0000_color.png has changed
    48.1 Binary file approved/css2.1/src/backgrounds/support/fdfdfd_color.png has changed

mercurial