From fb0c59ae9f48ec86b689ac654d7afb5ed4e0c877 Mon Sep 17 00:00:00 2001 From: "Carsten \"Tomcat\" Book" Date: Thu, 14 Apr 2016 08:57:38 +0200 Subject: [PATCH] Backed out changeset 2d26ad2b9a09 (bug 759568) --- layout/inspector/tests/test_bug877690.html | 2 +- layout/style/test/property_database.js | 28 ---------------------- 2 files changed, 1 insertion(+), 29 deletions(-) diff --git a/layout/inspector/tests/test_bug877690.html b/layout/inspector/tests/test_bug877690.html index f0681a39401a..e6271a4369fb 100644 --- a/layout/inspector/tests/test_bug877690.html +++ b/layout/inspector/tests/test_bug877690.html @@ -94,7 +94,7 @@ function do_test() { "snow", "springgreen", "steelblue", "tan", "teal", "thistle", "tomato", "transparent", "turquoise", "violet", "wheat", "white", "whitesmoke", "yellow", "yellowgreen", "no-repeat", "repeat", "repeat-x", "repeat-y", "fixed", "scroll", "local", "center", "top", "bottom", "left", "right", - "border-box", "padding-box", "content-box", "border-box", "padding-box", "content-box", "text", "contain", + "border-box", "padding-box", "content-box", "border-box", "padding-box", "content-box", "contain", "cover", "rgb", "hsl", "rgba", "hsla", "none", "-moz-element", "-moz-image-rect", "url", "linear-gradient", "radial-gradient", "repeating-linear-gradient", "repeating-radial-gradient", "-moz-linear-gradient", "-moz-radial-gradient", "-moz-repeating-linear-gradient", "-moz-repeating-radial-gradient" ]; diff --git a/layout/style/test/property_database.js b/layout/style/test/property_database.js index fd1b2d09cc03..5d11a71c992d 100644 --- a/layout/style/test/property_database.js +++ b/layout/style/test/property_database.js @@ -2229,10 +2229,6 @@ var gCSSProperties = { /* error inside functions */ "-moz-image-rect(url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAIAAAD8GO2jAAAAKElEQVR42u3NQQ0AAAgEoNP+nTWFDzcoQE1udQQCgUAgEAgEAsGTYAGjxAE/G/Q2tQAAAABJRU5ErkJggg==), rubbish, 50%, 30%, 0) transparent", "-moz-element(#a rubbish) black", - "text", - "text border-box", - "content-box text text", - "padding-box text url(404.png) text", ] }, "background-attachment": { @@ -7396,30 +7392,6 @@ if (IsCSSPropertyPrefEnabled("layout.css.text-emphasis.enabled")) { }; } -if (IsCSSPropertyPrefEnabled("layout.css.background-clip-text.enabled")) { - gCSSProperties["background-clip"].other_values.push( - "text", - "content-box, text", - "text, border-box", - "text, text" - ); - gCSSProperties["background"].other_values.push( - "url(404.png) green padding-box text", - "content-box text url(404.png) blue" - ); -} else { - gCSSProperties["background-clip"].invalid_values.push( - "text", - "content-box, text", - "text, border-box", - "text, text" - ); - gCSSProperties["background"].invalid_values.push( - "url(404.png) green padding-box text", - "content-box text url(404.png) blue" - ); -} - // Copy aliased properties' fields from their alias targets. for (var prop in gCSSProperties) { var entry = gCSSProperties[prop];