From: Leif Åstrand Date: Thu, 19 Apr 2012 13:39:09 +0000 (+0300) Subject: Add test for detecting scrollbar quirks in different browsers X-Git-Tag: 7.0.0.alpha2~15 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=16050f4905997dfbe8e843239bc282a68c11b2ef;p=vaadin-framework.git Add test for detecting scrollbar quirks in different browsers --- diff --git a/WebContent/statictestfiles/browserfeatures/fullHeightScrollbar.html b/WebContent/statictestfiles/browserfeatures/fullHeightScrollbar.html new file mode 100644 index 0000000000..2e280da64e --- /dev/null +++ b/WebContent/statictestfiles/browserfeatures/fullHeightScrollbar.html @@ -0,0 +1,59 @@ + + + + + + + + +

This test is used to verify how browsers take horizontal scrollbars into account when calculating 100% height and what happens when scrolling is no longer needed. This test tells which browsers need which workarounds for related features.

+ +

Basic situation. +

+

+ +

+Situation with position: absolute on the inner element. +

+

+ + + + + diff --git a/tests/testbench/com/vaadin/tests/browserfeatures/FullHeightScrollbar.html b/tests/testbench/com/vaadin/tests/browserfeatures/FullHeightScrollbar.html new file mode 100644 index 0000000000..37fee35746 --- /dev/null +++ b/tests/testbench/com/vaadin/tests/browserfeatures/FullHeightScrollbar.html @@ -0,0 +1,47 @@ + + + + + + +New Test + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
New Test
open/statictestfiles/browserfeatures/fullHeightScrollbar.html
screenCapture1-withScrolling
mouseClickdisableScrolling34,7
screenCapture2-withoutScrolling
mouseClicktriggerReflow34,7
screenCapture3-afterReflow
+ +