diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-pseudo/reference/active-selection-027-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-pseudo/reference/active-selection-027-ref.html | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-pseudo/reference/active-selection-027-ref.html b/testing/web-platform/tests/css/css-pseudo/reference/active-selection-027-ref.html new file mode 100644 index 0000000000..565e2cac80 --- /dev/null +++ b/testing/web-platform/tests/css/css-pseudo/reference/active-selection-027-ref.html @@ -0,0 +1,36 @@ +<!DOCTYPE html> + + <meta charset="UTF-8"> + + <title>CSS Reftest Reference</title> + + <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> + + <link rel="stylesheet" href="../support/highlights.css"> + <style> + div + { + font-size: 300%; + } + + span + { + background-color: yellow; + } + + span#first + { + color: purple; + } + + span#second + { + color: green; + } + </style> + + <p>Test passes if both "selected text" have a yellow background, if the glyphs of "1st selected text" are purple and if the glyphs of "2nd selected text" are green. + + <div class="highlight_reftest"><span id="first">1st selected text</span></div> + + <div class="highlight_reftest"><span id="second">2nd selected text</span></div> |