diff options
author | Josh Matthews <josh@joshmatthews.net> | 2017-11-01 18:17:08 -0400 |
---|---|---|
committer | Josh Matthews <josh@joshmatthews.net> | 2017-11-02 09:22:26 -0400 |
commit | 12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6 (patch) | |
tree | 982bef2092a4a03855f51022c56460a546d5bce8 /tests/wpt/css-tests/css-grid-1_dev/html/reference | |
parent | 00940911c5755651df7038c7bf4b51c77a44c225 (diff) | |
download | servo-12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6.tar.gz servo-12d22f6bd217ecd02868ab30f8b1cae8bad5d4e6.zip |
Remove all outdated CSS tests.
Diffstat (limited to 'tests/wpt/css-tests/css-grid-1_dev/html/reference')
19 files changed, 0 insertions, 653 deletions
diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/display-grid-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/display-grid-ref.htm deleted file mode 100644 index 519705e912e..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/display-grid-ref.htm +++ /dev/null @@ -1,64 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Grid Layout: Reference File</title> - <link href="mailto:swainet@126.com" rel="author" title="swain"> - <link href="mailto:shendayang@baidu.com" rel="reviewer" title="Dayang Shen"> <!-- 2013-09-17 --> - <style type="text/css"> - #container { - position:relative; - width:400px; - height:100px; - } - - .error { - position:absolute; - top:0; - left:0; - height:100%; - width:100%; - z-index:-1; - } - - #table { - width:100%; - height:100%; - border-collapse:collapse; - } - - #table td { - padding:0; - vertical-align:top; - } - - #table td:first-child { - width:100px; - } - - #table tr:last-child td { - height:30px; - } - </style> -</head> -<body> -<p>Test passes if there are 4 green rectangles and no red.</p> - -<div id="container"> - <div class="error"> - <table id="table"> - <tbody> - <tr> - <td style="background-color:green">cell1</td> - <td style="background-color:limegreen">cell2</td> - </tr> - <tr> - <td style="background-color:limegreen">cell3</td> - <td style="background-color:green">cell4</td> - </tr> - </tbody> - </table> - </div> -</div> - - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/display-inline-grid-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/display-inline-grid-ref.htm deleted file mode 100644 index 107814c9a45..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/display-inline-grid-ref.htm +++ /dev/null @@ -1,62 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Grid Layout: Reference File</title> - <link href="mailto:swainet@126.com" rel="author" title="swain"> - <link href="mailto:shendayang@baidu.com" rel="reviewer" title="Dayang Shen"> <!-- 2013-09-17 --> - <style type="text/css"> - #container { - position:relative; - } - - #table { - width:400px; - height:100px; - border-collapse:collapse; - } - - #table td { - padding:0; - vertical-align:top; - } - - #table td:first-child { - width:100px; - } - - #table tr:last-child td { - height:30px; - } - - #table-wrapper { - display:inline-block; - clear:right; - } - - span { - vertical-align:top; - } - </style> -</head> -<body> -<p>Test passes if there are 4 green rectangles and no red.</p> - -<div id="container"> - <div id="table-wrapper"> - <table id="table"> - <tbody> - <tr> - <td style="background-color:green">cell1</td> - <td style="background-color:limegreen">cell2</td> - </tr> - <tr> - <td style="background-color:limegreen">cell3</td> - <td style="background-color:green">cell4</td> - </tr> - </tbody> - </table> - </div> - <span>Inline</span> -</div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/fr-unit-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/fr-unit-ref.htm deleted file mode 100644 index aa6ef99939b..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/fr-unit-ref.htm +++ /dev/null @@ -1,63 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS3 Grid Layout: Reference File</title> - <link href="mailto:swainet@126.com" rel="author" title="swain"> - <link href="mailto:shendayang@baidu.com" rel="reviewer" title="Dayang Shen"> <!-- 2013-09-22 --> - <style type="text/css"> - #container { - position:relative; - width:400px; - height:100px; - } - - .error { - position:absolute; - top:0; - left:0; - height:100%; - width:100%; - z-index:-1; - } - - #table { - width:100%; - height:100%; - border-collapse:collapse; - } - - #table td { - padding:0; - vertical-align:top; - } - - #table td:first-child { - width:100px; - } - - #table tr:first-child td { - height:30px; - } - </style> -</head> -<body> -<p>Test passes if there is a green square and no red.</p> - -<div id="container"> - <div class="error"> - <table id="table"> - <tbody> - <tr> - <td>cell1</td> - <td>cell2</td> - </tr> - <tr> - <td>cell3</td> - <td style="background-color:green">cell4</td> - </tr> - </tbody> - </table> - </div> -</div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/fr-unit-with-percentage-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/fr-unit-with-percentage-ref.htm deleted file mode 100644 index aa6ef99939b..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/fr-unit-with-percentage-ref.htm +++ /dev/null @@ -1,63 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS3 Grid Layout: Reference File</title> - <link href="mailto:swainet@126.com" rel="author" title="swain"> - <link href="mailto:shendayang@baidu.com" rel="reviewer" title="Dayang Shen"> <!-- 2013-09-22 --> - <style type="text/css"> - #container { - position:relative; - width:400px; - height:100px; - } - - .error { - position:absolute; - top:0; - left:0; - height:100%; - width:100%; - z-index:-1; - } - - #table { - width:100%; - height:100%; - border-collapse:collapse; - } - - #table td { - padding:0; - vertical-align:top; - } - - #table td:first-child { - width:100px; - } - - #table tr:first-child td { - height:30px; - } - </style> -</head> -<body> -<p>Test passes if there is a green square and no red.</p> - -<div id="container"> - <div class="error"> - <table id="table"> - <tbody> - <tr> - <td>cell1</td> - <td>cell2</td> - </tr> - <tr> - <td>cell3</td> - <td style="background-color:green">cell4</td> - </tr> - </tbody> - </table> - </div> -</div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-2x2-blue-yellow-lime-magenta.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-2x2-blue-yellow-lime-magenta.htm deleted file mode 100644 index e00b74435c6..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-2x2-blue-yellow-lime-magenta.htm +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Grid Layout Test: Reference file 2x2 grid and cells with the following colors: blue, yellow, lime and magenta</title> - <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> - <style type="text/css"> - div { - font: 50px/1 Ahem; - } - - #blue { - color: blue; - } - - #yellow { - color: yellow; - } - - #lime { - color: lime; - } - - #magenta { - color: magenta; - } - </style> - </head> - <body> - <p>Test passes if there are four filled squares with the same size and <strong>no red</strong>.</p> - <p>Blue and yellow squares in the first line; lime and magenta squares in the second line (exactly in this order).</p> - - <div> - <span id="blue">B</span><span id="yellow">Y</span> - <br> - <span id="lime">L</span><span id="magenta">M</span> - </div> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-filled-blue-yellow-green-overlapped-100px-squares.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-filled-blue-yellow-green-overlapped-100px-squares.htm deleted file mode 100644 index 9c7e815d68f..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-filled-blue-yellow-green-overlapped-100px-squares.htm +++ /dev/null @@ -1,47 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Grid Layout Test: Reference file 3 overlapped squares the following colors: blue, yellow and green</title> - <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> - <style type="text/css"> - #main { - position: relative; - } - - #main div { - width: 100px; - height: 100px; - } - - .blue { - background-color: blue; - position: absolute; - left: 0px; - top: 0px; - } - - .yellow { - background-color: yellow; - position: absolute; - left: 25px; - top: 25px; - } - - .green { - background-color: green; - position: absolute; - left: 50px; - top: 50px; - } - </style> - </head> - <body> - <p>Test passes if there are 3 filled squares with the same size, and <strong>green</strong> is overlapping <strong>yellow</strong> which is overlapping <strong>blue</strong>.</p> - - <div id="main"> - <div class="blue"></div> - <div class="yellow"></div> - <div class="green"></div> - </div> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-first-letter-green-margin-no-collapse-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-first-letter-green-margin-no-collapse-ref.htm deleted file mode 100644 index bd721eba8b2..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-first-letter-green-margin-no-collapse-ref.htm +++ /dev/null @@ -1,23 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Grid Layout Test: Reference file text first letter should be green and margins do not collapse</title> - <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> - <style type="text/css"> - p { - /* Prevent collapsing body and paragraph margins. */ - float: left; - } - - .green { - color: green; - } - </style> - </head> - <body> - <p> - <span class="green">T</span>he <strong>first letter</strong> of this paragraph, and only that one, should be <strong>green</strong>. - In addition, body and paragraph margins should <strong>not collapse</strong>. - </p> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-auto-tracks-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-auto-tracks-ref.htm deleted file mode 100644 index a88356c0a64..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-auto-tracks-ref.htm +++ /dev/null @@ -1,45 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Grid Layout Reference</title> - <link href="mailto:myst.dg@gmail.com" rel="author" title="Leo Deng"> - <style> - body { - margin: 0; - padding: 0; - border: 0 none; - } - #caseTitle { - margin: 10px; - height: 40px; - } - #grid { - margin: 0; - width: 300px; - } - .a { - background: blue; - width: 100px; - float: left; - } - .b { - background: yellow; - width: 50px; - float: left; - } - .c { - background: pink; - width: 100px; - clear: both; - float: left; - } - </style> - </head> - <body> - <p id="caseTitle">The test passes if it has the same visual effect as reference.</p> - <div id="grid"> - <div class="a"> </div> - <div class="b"> </div> - <div class="c"> </div> - </div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-basic-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-basic-ref.htm deleted file mode 100644 index f2e52b43399..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-basic-ref.htm +++ /dev/null @@ -1,38 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Grid Layout Reference</title> - <link href="mailto:myst.dg@gmail.com" rel="author" title="Leo Deng"> - <style> - body { - margin: 0; - padding: 0; - border: 0 none; - } - #caseTitle { - margin: 10px; - height: 40px; - } - #grid { - margin: 0; - width: 150px; - } - .a { - background: blue; - width: 100px; - float:left - } - .b { - background: yellow; - width: 50px; - float:left; - } - </style> - </head> - <body> - <p id="caseTitle">The test passes if it has the same visual effect as reference.</p> - <div id="grid"> - <div class="a"> </div> - <div class="b"> </div> - </div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-repeat-notation-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-repeat-notation-ref.htm deleted file mode 100644 index 519d53b13f4..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-repeat-notation-ref.htm +++ /dev/null @@ -1,55 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Grid Layout Reference</title> - <link href="mailto:myst.dg@gmail.com" rel="author" title="Leo Deng"> - <style> - body { - margin: 0; - padding: 0; - } - #caseTitle { - margin: 10px; - height: 40px; - } - #grid { - width: 450px; - position: relative; - } - .a { - background: blue; - width: 100px; - float:left - } - .b { - background: yellow; - width: 100px; - float:left - } - .c { - background: orange; - width: 100px; - float:left - } - .d { - background: cyan; - width: 100px; - float:left - } - .e { - background: pink; - width: 50px; - float:left - } - </style> - </head> - <body> - <p id="caseTitle">The test passes if it has the same visual effect as reference.</p> - <div id="grid"> - <div class="a"> </div> - <div class="b"> </div> - <div class="c"> </div> - <div class="d"> </div> - <div class="e"> </div> - </div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-z-order-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-z-order-ref.htm deleted file mode 100644 index 1b93e0f49dd..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-layout-z-order-ref.htm +++ /dev/null @@ -1,39 +0,0 @@ -<!DOCTYPE html> -<html><head> - <title>CSS Grid Layout Reference</title> - <link href="mailto:myst.dg@gmail.com" rel="author" title="Leo Deng"> - <style> - body { - margin: 0; - padding: 0; - border: 0 none; - } - #caseTitle { - margin: 10px; - height: 40px; - } - #grid { - margin: 0; - width: 150px; - color:white; - } - .a { - background: blue; - width: 100px; - float:left - } - .b { - background: yellow; - width: 50px; - float:left; - } - </style> - </head> - <body> - <p id="caseTitle">The test passes if it has the same visual effect as reference.</p> - <div id="grid"> - <div class="a">up</div> - <div class="b"> </div> - </div> - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-support-grid-auto-columns-rows-001-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-support-grid-auto-columns-rows-001-ref.htm deleted file mode 100644 index 823debe54b3..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-support-grid-auto-columns-rows-001-ref.htm +++ /dev/null @@ -1,43 +0,0 @@ -<!DOCTYPE html> -<html><head> - <meta charset="utf-8"> - <title>CSS Grid Layout Test: Support for 'grid-auto-columns' and 'grid-auto-rows' properties</title> - <link href="mailto:hello@jxs.pt" rel="author" title="Joao Oliveira"> - <style> - #grid { - position: relative; - } - .position { - position: absolute; - top: 0; - left: 0; - } - #first-column-first-row { - width: 30px; - height: 30px; - background-color: purple; - } - #third-column-first-and-second-rows { - left: 60px; - width: 30px; - height: 60px; - background-color: orange - } - #first-and-second-columns-second-row { - top: 30px; - width: 60px; - height: 30px; - background-color: blue; - } - </style> - </head> - <body> - <p>The test passes if it has the same visual effect as reference.</p> - <div id="grid"> - <div id="first-column-first-row" class="position"></div> - <div id="third-column-first-and-second-rows" class="position"></div> - <div id="first-and-second-columns-second-row" class="position"></div> - </div> - - -</body></html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-text-green-margin-no-collapse-ref.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-text-green-margin-no-collapse-ref.htm deleted file mode 100644 index 70cc6e6ec52..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/grid-text-green-margin-no-collapse-ref.htm +++ /dev/null @@ -1,17 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Grid Layout Test: Reference file text should be green and margins do not collapse</title> - <link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com"> - <style type="text/css"> - p { - color: green; - /* Prevent collapsing body and paragraph margins. */ - float: left; - } - </style> - </head> - <body> - <p>This text should be <strong>green</strong> and body and paragraph margins should <strong>not collapse</strong>.</p> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/ref-filled-green-100px-square.htm b/tests/wpt/css-tests/css-grid-1_dev/html/reference/ref-filled-green-100px-square.htm deleted file mode 100644 index 04df34eb50c..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/ref-filled-green-100px-square.htm +++ /dev/null @@ -1,19 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> - <head> - <title>CSS Reftest Reference</title> - <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"> - <style type="text/css"> - div - { - background-color: green; - height: 100px; - width: 100px; - } - </style> - </head> - <body> - <p>Test passes if there is a filled green square and <strong>no red</strong>.</p> - <div></div> - </body> -</html>
\ No newline at end of file diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/100x100-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/100x100-green.png Binary files differdeleted file mode 100644 index 3883542392f..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/100x100-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/100x50-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/100x50-green.png Binary files differdeleted file mode 100644 index 9dae3116bbf..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/100x50-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/200x200-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/200x200-green.png Binary files differdeleted file mode 100644 index 7a47c0e5e7a..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/200x200-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/50x100-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/50x100-green.png Binary files differdeleted file mode 100644 index 28546987889..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/50x100-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/testing-utils.js b/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/testing-utils.js deleted file mode 100644 index 202c865b15e..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/reference/support/testing-utils.js +++ /dev/null @@ -1,37 +0,0 @@ -var TestingUtils = (function() { - - function checkGridTemplateColumns(element, value) { - assert_in_array(getComputedStyle(element).gridTemplateColumns, value, "gridTemplateColumns"); - } - - function checkGridTemplateRows(element, value) { - assert_in_array(getComputedStyle(element).gridTemplateRows, value, "gridTemplateRows"); - } - - function testGridTemplateColumnsRows(gridId, columnsStyle, rowsStyle, columnsComputedValue, rowsComputedValue) { - test(function() { - var grid = document.getElementById(gridId); - grid.style.gridTemplateColumns = columnsStyle; - grid.style.gridTemplateRows = rowsStyle; - checkGridTemplateColumns(grid, columnsComputedValue); - checkGridTemplateRows(grid, rowsComputedValue); - }, "'" + gridId + "' with: grid-template-columns: " + columnsStyle + "; and grid-template-rows: " + rowsStyle + ";"); - } - - function checkGridTemplateAreas(element, value) { - assert_in_array(getComputedStyle(element).gridTemplateAreas, value, "gridTemplateAreas"); - } - - function testGridTemplateAreas(gridId, style, value) { - test(function() { - var grid = document.getElementById(gridId); - grid.style.gridTemplateAreas = style; - checkGridTemplateAreas(grid, value); - }, "'" + gridId + "' with: grid-template-areas: " + style + ";"); - } - - return { - testGridTemplateColumnsRows: testGridTemplateColumnsRows, - testGridTemplateAreas: testGridTemplateAreas - } -})(); |