diff options
Diffstat (limited to 'testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html')
-rw-r--r-- | testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html b/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html new file mode 100644 index 0000000000..e0f4e383a5 --- /dev/null +++ b/testing/web-platform/tests/css/compositing/mix-blend-mode/mix-blend-mode-paragraph.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> +<html> + <head> + <title>CSS Test: Paragraph element with mix-blend-mode.</title> + <link rel="author" title="Mihai Tica" href="mailto:mitica@adobe.com"> + <link rel="help" href="https://drafts.fxtf.org/compositing-1/#mix-blend-mode"> + <meta name="assert" content="Test checks that test a paragraph element blends with the parent element."> + <meta name="fuzzy" content="0-1;0-10"> + <link rel="reviewer" title="Rik Cabanier" href="mailto:cabanier@adobe.com"> + <link rel="reviewer" title="Mirela Budaes" href="mailto:mbudaes@adobe.com"> + <link rel="match" href="reference/mix-blend-mode-paragraph-ref.html"> + <style type="text/css"> + div { + width: 100px; + height: 100px; + background: #FF0; + } + + #blender { + mix-blend-mode: difference; + color: #F00; + } + </style> + </head> + <body> + <p>Test passes if the paragraph text is drawn with green.</p> + <div> + <p id="blender">This should be drawn with green.</p> + </div> + </body> +</html> |