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/support | |
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/support')
-rw-r--r-- | tests/wpt/css-tests/css-grid-1_dev/html/support/100x100-green.png | bin | 343 -> 0 bytes | |||
-rw-r--r-- | tests/wpt/css-tests/css-grid-1_dev/html/support/100x50-green.png | bin | 207 -> 0 bytes | |||
-rw-r--r-- | tests/wpt/css-tests/css-grid-1_dev/html/support/200x200-green.png | bin | 461 -> 0 bytes | |||
-rw-r--r-- | tests/wpt/css-tests/css-grid-1_dev/html/support/50x100-green.png | bin | 202 -> 0 bytes | |||
-rw-r--r-- | tests/wpt/css-tests/css-grid-1_dev/html/support/testing-utils.js | 37 |
5 files changed, 0 insertions, 37 deletions
diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/support/100x100-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/support/100x100-green.png Binary files differdeleted file mode 100644 index 3883542392f..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/support/100x100-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/support/100x50-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/support/100x50-green.png Binary files differdeleted file mode 100644 index 9dae3116bbf..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/support/100x50-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/support/200x200-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/support/200x200-green.png Binary files differdeleted file mode 100644 index 7a47c0e5e7a..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/support/200x200-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/support/50x100-green.png b/tests/wpt/css-tests/css-grid-1_dev/html/support/50x100-green.png Binary files differdeleted file mode 100644 index 28546987889..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/support/50x100-green.png +++ /dev/null diff --git a/tests/wpt/css-tests/css-grid-1_dev/html/support/testing-utils.js b/tests/wpt/css-tests/css-grid-1_dev/html/support/testing-utils.js deleted file mode 100644 index 202c865b15e..00000000000 --- a/tests/wpt/css-tests/css-grid-1_dev/html/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 - } -})(); |