diff options
Diffstat (limited to 'tests/auto/widgets/qwebengineframe/resources')
-rw-r--r-- | tests/auto/widgets/qwebengineframe/resources/image.png | bin | 0 -> 14743 bytes | |||
-rw-r--r-- | tests/auto/widgets/qwebengineframe/resources/style.css | 1 | ||||
-rw-r--r-- | tests/auto/widgets/qwebengineframe/resources/test1.html | 1 | ||||
-rw-r--r-- | tests/auto/widgets/qwebengineframe/resources/test2.html | 1 | ||||
-rw-r--r-- | tests/auto/widgets/qwebengineframe/resources/testiframe.html | 53 | ||||
-rw-r--r-- | tests/auto/widgets/qwebengineframe/resources/testiframe2.html | 20 |
6 files changed, 76 insertions, 0 deletions
diff --git a/tests/auto/widgets/qwebengineframe/resources/image.png b/tests/auto/widgets/qwebengineframe/resources/image.png Binary files differnew file mode 100644 index 000000000..8d703640c --- /dev/null +++ b/tests/auto/widgets/qwebengineframe/resources/image.png diff --git a/tests/auto/widgets/qwebengineframe/resources/style.css b/tests/auto/widgets/qwebengineframe/resources/style.css new file mode 100644 index 000000000..c05b747f1 --- /dev/null +++ b/tests/auto/widgets/qwebengineframe/resources/style.css @@ -0,0 +1 @@ +#idP {color: red !important} diff --git a/tests/auto/widgets/qwebengineframe/resources/test1.html b/tests/auto/widgets/qwebengineframe/resources/test1.html new file mode 100644 index 000000000..b323f966e --- /dev/null +++ b/tests/auto/widgets/qwebengineframe/resources/test1.html @@ -0,0 +1 @@ +<html><body><p>Some text 1</p></body></html> diff --git a/tests/auto/widgets/qwebengineframe/resources/test2.html b/tests/auto/widgets/qwebengineframe/resources/test2.html new file mode 100644 index 000000000..63ac1f6ec --- /dev/null +++ b/tests/auto/widgets/qwebengineframe/resources/test2.html @@ -0,0 +1 @@ +<html><body> <p>Some text 2</p></body></html> diff --git a/tests/auto/widgets/qwebengineframe/resources/testiframe.html b/tests/auto/widgets/qwebengineframe/resources/testiframe.html new file mode 100644 index 000000000..4b0e30ca5 --- /dev/null +++ b/tests/auto/widgets/qwebengineframe/resources/testiframe.html @@ -0,0 +1,53 @@ +<html> +<head> +<title></title> +<style type="text/css"> +<!-- +#header { + background: #0f0; + position: absolute; + top: 0px; + left: 0px; + width: 800px; + height: 100px; +} +#content1 { + background: #ff0; + position: absolute; + top: 101px; + left: 0px; + width: 400px; + height: 400px; + overflow: scroll; +} +#content2 { + background: #ff7; + position: absolute; + top: 101px; + left: 401px; + width: 400px; + height: 400px; +} +#footer { + background: #0f0; + position: absolute; + top: 502px; + left: 0px; + width: 800px; + height: 200px; +} +--> +</style> +</head> +<body> +<div id="header"></div> +<div id="content1">You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible. +You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible. +You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible. +You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible. +You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible. +You can use the overflow property when you want to have better control of the layout. Try to change the overflow property to: visible, hidden, auto, or inherit and see what happens. The default value is visible.</div> +<iframe id="content2" name="control" src="testiframe2.html"> </iframe> +<div id="footer"></div> +</body> +</html>
\ No newline at end of file diff --git a/tests/auto/widgets/qwebengineframe/resources/testiframe2.html b/tests/auto/widgets/qwebengineframe/resources/testiframe2.html new file mode 100644 index 000000000..8957a5d8a --- /dev/null +++ b/tests/auto/widgets/qwebengineframe/resources/testiframe2.html @@ -0,0 +1,20 @@ +<html> +<head> +<title></title> +<style type="text/css"> +<!-- +#content { + background: #fff; + position: absolute; + top: 0px; + left: 0px; + width: 800px; + height: 800px; +} +--> +</style> +</head> +<body> +<div id="content"> </div> +</body> +</html>
\ No newline at end of file |