summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html')
-rw-r--r--testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html b/testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html
new file mode 100644
index 0000000000..c5beee9359
--- /dev/null
+++ b/testing/web-platform/tests/css/css-position/containing-block-change-button-ref.html
@@ -0,0 +1,21 @@
+<!doctype html>
+<meta charset="utf-8">
+<style>
+ #button {
+ width: 400px;
+ height: 400px;
+ margin: 100px;
+ padding: 0;
+ border: 0;
+ background-color: purple;
+ vertical-align: top;
+ }
+ #button > div {
+ width: 100px;
+ height: 100px;
+ background-color: green;
+ }
+</style>
+<button id="button">
+ <div></div>
+</button>