diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-color/inline-opacity-float-child.html')
-rw-r--r-- | testing/web-platform/tests/css/css-color/inline-opacity-float-child.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-color/inline-opacity-float-child.html b/testing/web-platform/tests/css/css-color/inline-opacity-float-child.html new file mode 100644 index 0000000000..98afcbcc2d --- /dev/null +++ b/testing/web-platform/tests/css/css-color/inline-opacity-float-child.html @@ -0,0 +1,10 @@ +<!DOCTYPE html> +<link rel="help" href="http://www.w3.org/TR/css3-color/#transparency"> +<link rel="match" href="../reference/ref-filled-green-100px-square.xht"> +<meta name="assert" content="Opacity on an inline element should apply on float child."> +<p>Test passes if there is a filled green square and <strong>no red</strong>.</p> +<div style="width: 100px; height: 100px; background: green"> + <span style="opacity: 0"> + <div style="width: 100px; height: 100px; float: left; background: red"></div> + </span> +</div> |