Title: [231898] trunk/LayoutTests
- Revision
- 231898
- Author
- commit-qu...@webkit.org
- Date
- 2018-05-17 08:27:37 -0700 (Thu, 17 May 2018)
Log Message
Remove cssom-remove-shorthand-property.html test
https://bugs.webkit.org/show_bug.cgi?id=185727
Patch by Rob Buis <rb...@igalia.com> on 2018-05-17
Reviewed by Frédéric Wang.
Exact same test is contained in WPT:
cssom/cssom-setProperty-shorthand.html
* fast/css/cssom-remove-shorthand-property-expected.txt: Removed.
* fast/css/cssom-remove-shorthand-property.html: Removed.
Modified Paths
Removed Paths
Diff
Modified: trunk/LayoutTests/ChangeLog (231897 => 231898)
--- trunk/LayoutTests/ChangeLog 2018-05-17 15:24:00 UTC (rev 231897)
+++ trunk/LayoutTests/ChangeLog 2018-05-17 15:27:37 UTC (rev 231898)
@@ -1,3 +1,16 @@
+2018-05-17 Rob Buis <rb...@igalia.com>
+
+ Remove cssom-remove-shorthand-property.html test
+ https://bugs.webkit.org/show_bug.cgi?id=185727
+
+ Reviewed by Frédéric Wang.
+
+ Exact same test is contained in WPT:
+ cssom/cssom-setProperty-shorthand.html
+
+ * fast/css/cssom-remove-shorthand-property-expected.txt: Removed.
+ * fast/css/cssom-remove-shorthand-property.html: Removed.
+
2018-05-17 Ms2ger <ms2...@igalia.com>
[GTK][WPE] Test gardening
Deleted: trunk/LayoutTests/fast/css/cssom-remove-shorthand-property-expected.txt (231897 => 231898)
--- trunk/LayoutTests/fast/css/cssom-remove-shorthand-property-expected.txt 2018-05-17 15:24:00 UTC (rev 231897)
+++ trunk/LayoutTests/fast/css/cssom-remove-shorthand-property-expected.txt 2018-05-17 15:27:37 UTC (rev 231898)
@@ -1,47 +0,0 @@
-Tests that shorthand properties can be removed via CSSOM.
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-
-PASS canSetProperty('font') is true
-PASS canRemoveProperty('font') is true
-PASS canSetProperty('border-top') is true
-PASS canRemoveProperty('border-top') is true
-PASS canSetProperty('border-right') is true
-PASS canRemoveProperty('border-right') is true
-PASS canSetProperty('border-bottom') is true
-PASS canRemoveProperty('border-bottom') is true
-PASS canSetProperty('border-left') is true
-PASS canRemoveProperty('border-left') is true
-PASS canSetProperty('border') is true
-PASS canRemoveProperty('border') is true
-PASS canSetProperty('border-color') is true
-PASS canRemoveProperty('border-color') is true
-PASS canSetProperty('border-style') is true
-PASS canRemoveProperty('border-style') is true
-PASS canSetProperty('border-width') is true
-PASS canRemoveProperty('border-width') is true
-PASS canSetProperty('background-position') is true
-PASS canRemoveProperty('background-position') is true
-PASS canSetProperty('background-repeat') is true
-PASS canRemoveProperty('background-repeat') is true
-PASS canSetProperty('border-spacing') is true
-PASS canRemoveProperty('border-spacing') is true
-PASS canSetProperty('list-style') is true
-PASS canRemoveProperty('list-style') is true
-PASS canSetProperty('margin') is true
-PASS canRemoveProperty('margin') is true
-PASS canSetProperty('outline') is true
-PASS canRemoveProperty('outline') is true
-PASS canSetProperty('padding') is true
-PASS canRemoveProperty('padding') is true
-PASS canSetProperty('background') is true
-PASS canRemoveProperty('background') is true
-PASS canSetProperty('overflow') is true
-PASS canRemoveProperty('overflow') is true
-PASS canSetProperty('border-radius') is true
-PASS canRemoveProperty('border-radius') is true
-PASS successfullyParsed is true
-
-TEST COMPLETE
-
Deleted: trunk/LayoutTests/fast/css/cssom-remove-shorthand-property.html (231897 => 231898)
--- trunk/LayoutTests/fast/css/cssom-remove-shorthand-property.html 2018-05-17 15:24:00 UTC (rev 231897)
+++ trunk/LayoutTests/fast/css/cssom-remove-shorthand-property.html 2018-05-17 15:27:37 UTC (rev 231898)
@@ -1,56 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<meta charset="utf-8">
-<script src=""
-</head>
-<body>
-<script>
-
-shorthandProperties = [
- "font",
- "border-top",
- "border-right",
- "border-bottom",
- "border-left",
- "border",
- "border-color",
- "border-style",
- "border-width",
- "background-position",
- "background-repeat",
- "border-spacing",
- "list-style",
- "margin",
- "outline",
- "padding",
- "background",
- "overflow",
- "border-radius"
-];
-
-element = document.createElement('span');
-
-function canSetProperty(propertyName) {
- element.style.setProperty(propertyName, 'initial');
- return element.style.getPropertyValue(propertyName) == 'initial';
-}
-
-function canRemoveProperty(propertyName) {
- element.style.removeProperty(propertyName);
- return element.style.getPropertyValue(propertyName) != 'initial';
-}
-
-description("Tests that shorthand properties can be removed via CSSOM.");
-
-for (i = 0; i < shorthandProperties.length; ++i) {
- var propertyName = shorthandProperties[i];
-
- shouldBe("canSetProperty('" + propertyName + "')", "true");
- shouldBe("canRemoveProperty('" + propertyName + "')", "true");
-}
-
-</script>
-<script src=""
-</body>
-</html>
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes