diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/reference/contain-layout-ink-overflow-019-ref.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/reference/contain-layout-ink-overflow-019-ref.html | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/reference/contain-layout-ink-overflow-019-ref.html b/testing/web-platform/tests/css/css-contain/reference/contain-layout-ink-overflow-019-ref.html new file mode 100644 index 0000000000..7ec1d1bf8e --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/reference/contain-layout-ink-overflow-019-ref.html @@ -0,0 +1,31 @@ +<!DOCTYPE html> + + <meta charset="UTF-8"> + + <title>CSS Reference Test</title> + + <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> + + <style> + div#parent + { + height: 100px; + width: 100px; + overflow: scroll; + } + + div#child + { + background-color: green; + height: 100px; + width: 100px; + } + </style> + + <body onload="document.getElementById('parent').scrollLeft = 100; document.getElementById('parent').scrollTop = 125;"> + + <p>Test passes if there is a filled green square <strong>with 2 scroll bars</strong> and if there is <strong>no red</strong>. + + <div id="parent"> + <div id="child"></div> + </div> |