diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-color/t32-opacity-clamping-1.0-b.xht')
-rw-r--r-- | testing/web-platform/tests/css/css-color/t32-opacity-clamping-1.0-b.xht | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/t32-opacity-clamping-1.0-b.xht b/testing/web-platform/tests/css/css-color/t32-opacity-clamping-1.0-b.xht new file mode 100644 index 0000000000..60504ec62a --- /dev/null +++ b/testing/web-platform/tests/css/css-color/t32-opacity-clamping-1.0-b.xht @@ -0,0 +1,29 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> + <head> + <title>CSS Test: opacity</title> + <link rel="author" title="L. David Baron" href="https://dbaron.org/" /> + <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" /> + <link rel="help" href="http://www.w3.org/TR/css3-color/#transparency" /> + <link rel="match" href="t32-opacity-clamping-1.0-b-ref.html" /> + <meta name="assert" content="Opacity values greater than 1.0 are clamped to 1.0" /> + <style type="text/css"><![CDATA[ + /* make sure clamped rather than a parser error */ + #two, #three, #four, #five, #six { opacity: 0.0; } + + #two { opacity: 1.0; } + #three { opacity: 1.1; } + #four { opacity: 1.9; } + #five { opacity: 30; } + #six { opacity: 7439.79; } + ]]></style> + </head> + <body> + <p id="one">There should be six lines of text on this page, all the same color. [1 of 6]</p> + <p id="two">There should be six lines of text on this page, all the same color. [2 of 6]</p> + <p id="three">There should be six lines of text on this page, all the same color. [3 of 6]</p> + <p id="four">There should be six lines of text on this page, all the same color. [4 of 6]</p> + <p id="five">There should be six lines of text on this page, all the same color. [5 of 6]</p> + <p id="six">There should be six lines of text on this page, all the same color. [6 of 6]</p> + </body> +</html> |