summaryrefslogtreecommitdiff
path: root/Source/WebKit/qt/tests/qgraphicswebview/resources
diff options
context:
space:
mode:
Diffstat (limited to 'Source/WebKit/qt/tests/qgraphicswebview/resources')
-rw-r--r--Source/WebKit/qt/tests/qgraphicswebview/resources/greendiv.html8
-rw-r--r--Source/WebKit/qt/tests/qgraphicswebview/resources/input_types.html8
-rw-r--r--Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_right.html45
-rw-r--r--Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_up.html46
-rw-r--r--Source/WebKit/qt/tests/qgraphicswebview/resources/scrolltest_page.html6
5 files changed, 0 insertions, 113 deletions
diff --git a/Source/WebKit/qt/tests/qgraphicswebview/resources/greendiv.html b/Source/WebKit/qt/tests/qgraphicswebview/resources/greendiv.html
deleted file mode 100644
index 2f7fa97ca..000000000
--- a/Source/WebKit/qt/tests/qgraphicswebview/resources/greendiv.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<body style="background-color: white">
- <div id="1" style="width: 50%; height: 50%; background-color: green"/>
- <script>
- function resizeDiv() {
- document.getElementById("1").setAttribute("style", "width: 150%; height: 150%; background-color: green");
- }
- </script>
-</body>
diff --git a/Source/WebKit/qt/tests/qgraphicswebview/resources/input_types.html b/Source/WebKit/qt/tests/qgraphicswebview/resources/input_types.html
deleted file mode 100644
index 18ab314bf..000000000
--- a/Source/WebKit/qt/tests/qgraphicswebview/resources/input_types.html
+++ /dev/null
@@ -1,8 +0,0 @@
-<html><body>
-<input type='text' maxlength='20' style='position: absolute; left: 10px; top: 0px; height: 50px; width: 100px;'/><br>
-<input type='password' style='position: absolute; left: 10px; top: 50px; height: 50px; width: 100px;'/><br>
-<input type='tel' style='position: absolute; left: 10px; top: 100px; height: 50px; width: 100px;'/><br>
-<input type='number' style='position: absolute; left: 10px; top: 150px; height: 50px; width: 100px;'/><br>
-<input type='email' style='position: absolute; left: 10px; top: 200px; height: 50px; width: 100px;'/><br>
-<input type='url' style='position: absolute; left: 10px; top: 250px; height: 50px; width: 100px;'/><br>"
-</body></html> \ No newline at end of file
diff --git a/Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_right.html b/Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_right.html
deleted file mode 100644
index bc592fbde..000000000
--- a/Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_right.html
+++ /dev/null
@@ -1,45 +0,0 @@
-<html>
- <body style="margin: 0">
- <canvas width="100" height="100"></canvas>
- </body>
-</html>
-<script>
- var canvas = document.getElementsByTagName("canvas")[0];
- gl = canvas.getContext("experimental-webgl");
- gl.clearColor(0.0, 1.0, 0.0, 1.0);
- gl.viewport(0, 0, canvas.width, canvas.height);
-
- var vertexShader = gl.createShader(gl.VERTEX_SHADER);
- gl.shaderSource(vertexShader, "attribute vec4 vPosition;\nvoid main() { gl_Position = vPosition; }");
- gl.compileShader(vertexShader);
-
- var fragmentShader = gl.createShader(gl.FRAGMENT_SHADER);
- gl.shaderSource(fragmentShader, "void main() { gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); }");
- gl.compileShader(fragmentShader);
-
- var shaderProgram = gl.createProgram();
- gl.attachShader(shaderProgram, vertexShader);
- gl.attachShader(shaderProgram, fragmentShader);
- gl.bindAttribLocation(shaderProgram, 0, "vPosition");
- gl.linkProgram(shaderProgram);
-
- gl.useProgram(shaderProgram);
-
- var buffer = gl.createBuffer();
- gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
-
- var vertices = [-1.0, -1.0,
- 0.0, 0.0,
- -1.0, 1.0];
- var seedX = -1.0;
- var seedY = 1.0;
- vertices
- gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(vertices), gl.STATIC_DRAW);
-
-
- gl.vertexAttribPointer(0, 2, gl.FLOAT, false, 0, 0);
- gl.enableVertexAttribArray(0);
- gl.clear(gl.COLOR_BUFFER_BIT);
- gl.drawArrays(gl.TRIANGLES, 0, 3);
- gl.flush();
-</script>
diff --git a/Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_up.html b/Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_up.html
deleted file mode 100644
index 474a56d3f..000000000
--- a/Source/WebKit/qt/tests/qgraphicswebview/resources/pointing_up.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<html>
- <body style="margin: 0">
- <canvas width="100" height="100"></canvas>
- </body>
-</html>
-<script>
- var canvas = document.getElementsByTagName("canvas")[0];
- gl = canvas.getContext("experimental-webgl");
- gl.clearColor(0.0, 1.0, 0.0, 1.0);
- gl.viewport(0, 0, canvas.width, canvas.height);
-
- var vertexShader = gl.createShader(gl.VERTEX_SHADER);
- gl.shaderSource(vertexShader, "attribute vec4 vPosition;\nvoid main() { gl_Position = vPosition; }");
- gl.compileShader(vertexShader);
-
- var fragmentShader = gl.createShader(gl.FRAGMENT_SHADER);
- gl.shaderSource(fragmentShader, "void main() { gl_FragColor = vec4(1.0, 0.0, 0.0, 1.0); }");
- gl.compileShader(fragmentShader);
-
- var shaderProgram = gl.createProgram();
- gl.attachShader(shaderProgram, vertexShader);
- gl.attachShader(shaderProgram, fragmentShader);
- gl.bindAttribLocation(shaderProgram, 0, "vPosition");
- gl.linkProgram(shaderProgram);
-
- gl.useProgram(shaderProgram);
-
- var buffer = gl.createBuffer();
- gl.bindBuffer(gl.ARRAY_BUFFER, buffer);
-
- var vertices = [-1.0, -1.0,
- 0.0, 0.0,
- 1.0, -1.0];
- var seedX = -1.0;
- var seedY = 1.0;
- vertices
- gl.bufferData(gl.ARRAY_BUFFER, new Float32Array(vertices), gl.STATIC_DRAW);
-
-
- gl.vertexAttribPointer(0, 2, gl.FLOAT, false, 0, 0);
- gl.enableVertexAttribArray(0);
- gl.clear(gl.COLOR_BUFFER_BIT);
- gl.drawArrays(gl.TRIANGLES, 0, 3);
- gl.flush();
- gl.finish();
-</script>
diff --git a/Source/WebKit/qt/tests/qgraphicswebview/resources/scrolltest_page.html b/Source/WebKit/qt/tests/qgraphicswebview/resources/scrolltest_page.html
deleted file mode 100644
index 18fcbbebe..000000000
--- a/Source/WebKit/qt/tests/qgraphicswebview/resources/scrolltest_page.html
+++ /dev/null
@@ -1,6 +0,0 @@
-<html>
-<head><title>Scrolling test</title></head>
-<body>
- <div style="width: 1000px; height: 1000px; background-color: green"/>
-</body>
-</html>