mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Remove remnants of old reftest system
Back in 2012, Brian wrote a reftest system using Firefox via Selenium to generate comparison images. This seems like a pretty cool idea, but we didn't maintain it and important pieces are now missing. Let's remove it from the working tree to avoid confusion with the current reftest system, and I'll open a ticket about revisiting this idea. One pair of old reftest files seems usable as a new reftest and that move is included in this commit.
This commit is contained in:
parent
c277d25506
commit
2f2df09303
15 changed files with 30 additions and 110 deletions
|
@ -1,31 +0,0 @@
|
|||
# Copyright 2013 The Servo Project Developers. See the COPYRIGHT
|
||||
# file at the top-level directory of this distribution.
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 <LICENSE-APACHE or
|
||||
# http://www.apache.org/licenses/LICENSE-2.0> or the MIT license
|
||||
# <LICENSE-MIT or http://opensource.org/licenses/MIT>, at your
|
||||
# option. This file may not be copied, modified, or distributed
|
||||
# except according to those terms.
|
||||
|
||||
import sys, os
|
||||
from selenium import webdriver
|
||||
|
||||
input = sys.argv[1]
|
||||
output = sys.argv[2]
|
||||
|
||||
input = os.path.abspath(input)
|
||||
output = os.path.abspath(output)
|
||||
|
||||
input = "file://" + input
|
||||
|
||||
print input
|
||||
print output
|
||||
|
||||
driver = webdriver.Firefox()
|
||||
|
||||
driver.set_window_size(800, 1000)
|
||||
driver.get(input)
|
||||
|
||||
screenshot = driver.get_screenshot_as_file(output)
|
||||
|
||||
driver.quit()
|
|
@ -1,5 +0,0 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<body>
|
||||
</body>
|
||||
</html>
|
Binary file not shown.
Before Width: | Height: | Size: 4 KiB |
|
@ -1,14 +0,0 @@
|
|||
<!-- ignore -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="height_width.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="start">
|
||||
<div class="whole"></div>
|
||||
<div class="half"></div>
|
||||
<div class="quarter"></div>
|
||||
<div class="eighth"></div>
|
||||
<div class="sixteenth"></div>
|
||||
<div class="thirtysecond"></div>
|
||||
</div>
|
||||
</body>
|
|
@ -1,14 +0,0 @@
|
|||
<!-- ignore -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="height_compute.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="start">
|
||||
<div class="half"></div>
|
||||
<div class="quarter"></div>
|
||||
<div class="eighth"></div>
|
||||
<div class="sixteenth"></div>
|
||||
<div class="thirtysecond"></div>
|
||||
<div class="sixtyfourth"></div>
|
||||
</div>
|
||||
</body>
|
|
@ -1,15 +0,0 @@
|
|||
<!-- ignore -->
|
||||
<head>
|
||||
<link rel="stylesheet" href="reset.css" />
|
||||
<link rel="stylesheet" href="height_compute_reset.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="start">
|
||||
<div class="half"></div>
|
||||
<div class="quarter"></div>
|
||||
<div class="eighth"></div>
|
||||
<div class="sixteenth"></div>
|
||||
<div class="thirtysecond"></div>
|
||||
<div class="sixtyfourth"></div>
|
||||
</div>
|
||||
</body>
|
|
@ -1,10 +0,0 @@
|
|||
div {display : inline}
|
||||
div div {width : 120px}
|
||||
.start {background-color : gray; height : 500px}
|
||||
.whole {background-color : red; height : 100%}
|
||||
.half {background-color : rgb(250, 125, 0); height : 50%}
|
||||
.quarter {background-color : yellow; height : 25%}
|
||||
.eighth {background-color : green; height : 12.5%}
|
||||
.sixteenth {background-color : blue; height : 6.25%}
|
||||
.thirtysecond {background-color : purple; height : 3.125%}
|
||||
|
|
@ -1 +0,0 @@
|
|||
body { margin: 0px }
|
|
@ -1,2 +0,0 @@
|
|||
body {margin : 0px}
|
||||
.box {background-color : green; height : 400px; width : 400px}
|
|
@ -1,6 +0,0 @@
|
|||
<head>
|
||||
<link rel="stylesheet" href="square.css" />
|
||||
</head>
|
||||
<body>
|
||||
<div class="box"></div>
|
||||
</body>
|
|
@ -1,12 +0,0 @@
|
|||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>test</title>
|
||||
<link rel="stylesheet" href="simple-reset.css" />
|
||||
</head>
|
||||
<body>
|
||||
<img src="boxes.png" width="640" height="480"/>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -35,3 +35,4 @@
|
|||
== block_image.html 500x300_green.html
|
||||
# == simple_iframe.html simple_iframe_ref.html -- disabled due to iframe crashiness
|
||||
== object_element_a.html object_element_b.html
|
||||
== height_compute_reset.html height_compute.html
|
||||
|
|
|
@ -1,3 +1,5 @@
|
|||
<head>
|
||||
<style type="text/css">
|
||||
body {margin : 0px}
|
||||
.start {background-color : gray; height : 600px}
|
||||
.half {background-color : red; height : 50%}
|
||||
|
@ -6,3 +8,15 @@ body {margin : 0px}
|
|||
.sixteenth {background-color : green; height : 6.25%}
|
||||
.thirtysecond {background-color : blue; height : 3.125%}
|
||||
.sixtyfourth {background-color : purple; height : 1.5625%}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="start">
|
||||
<div class="half"></div>
|
||||
<div class="quarter"></div>
|
||||
<div class="eighth"></div>
|
||||
<div class="sixteenth"></div>
|
||||
<div class="thirtysecond"></div>
|
||||
<div class="sixtyfourth"></div>
|
||||
</div>
|
||||
</body>
|
|
@ -1,3 +1,6 @@
|
|||
<head>
|
||||
<link rel="stylesheet" href="reset.css" />
|
||||
<style type="text/css">
|
||||
.start {background-color : gray; height : 600px}
|
||||
.half {background-color : red; height : 50%}
|
||||
.quarter {background-color : rgb(250, 125, 0); height : 25%}
|
||||
|
@ -5,3 +8,15 @@
|
|||
.sixteenth {background-color : green; height : 6.25%}
|
||||
.thirtysecond {background-color : blue; height : 3.125%}
|
||||
.sixtyfourth {background-color : purple; height : 1.5625%}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="start">
|
||||
<div class="half"></div>
|
||||
<div class="quarter"></div>
|
||||
<div class="eighth"></div>
|
||||
<div class="sixteenth"></div>
|
||||
<div class="thirtysecond"></div>
|
||||
<div class="sixtyfourth"></div>
|
||||
</div>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue