diff options
Diffstat (limited to 'src/test/ref/overflow_position_abs_inside_normal_a.html')
-rw-r--r-- | src/test/ref/overflow_position_abs_inside_normal_a.html | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/test/ref/overflow_position_abs_inside_normal_a.html b/src/test/ref/overflow_position_abs_inside_normal_a.html new file mode 100644 index 00000000000..aa9a3f11b7b --- /dev/null +++ b/src/test/ref/overflow_position_abs_inside_normal_a.html @@ -0,0 +1,32 @@ +<html> + <title> + `overflow: hidden` on #second has no effect on #abs because its CB is #first. + </title> + <head> + <style> + #first { + position: relative; + } + #second { + height: 100px; + width: 100px; + background: red; + overflow: hidden; + } + #abs { + position: absolute; + height: 200px; + width: 200px; + background: green; + } + </style> + </head> + <body> + <div id="first"> + <div id="second"> + <div id="abs"> + </div> + </div> + </div> + </body> +</html> |