Bug 1556855 part 2: Update tests to assume that 'layout.css.prefixes.webkit' is already true. r=mats

(The pref is about to be removed, but even before its removal, it defaults to
'true' so these tests don't need to bother setting/checking it.)

Differential Revision: https://phabricator.services.mozilla.com/D33805

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Daniel Holbert 2019-06-05 18:22:39 +00:00
Родитель 71bdcc078c
Коммит df03876416
14 изменённых файлов: 798 добавлений и 830 удалений

Просмотреть файл

@ -86,10 +86,6 @@ add_task(async function startup() {
min: 200,
max: 350,
},
"layout.css.prefixes.webkit": {
min: 135,
max: 170,
},
"layout.css.dpi": {
min: 45,
max: 81,

Просмотреть файл

@ -9,7 +9,6 @@ setup({explicit_done: true});
SpecialPowers.pushPrefEnv(
{ "set": [
["layout.css.osx-font-smoothing.enabled", true],
["layout.css.prefixes.webkit", true]
] },
function() {
window.open("file_discrete_animations.html");

Просмотреть файл

@ -1,6 +1,5 @@
# basic tests for webkit-text-stroke
# fuzzy is needed here for platform dependent backends
default-preferences pref(layout.css.prefixes.webkit,true)
# These fail on Linux without webrender due to lack of antialiasing of the HTML text stroke
fuzzy(0-64,0-47) fails-if(gtkWidget&&!webrender) == webkit-text-stroke-property-001.html webkit-text-stroke-property-001-ref.html

Просмотреть файл

@ -1,6 +1,5 @@
# This directory contains tests for "display: -webkit-box" and associated
# CSS properties. These tests require webkit prefix support to be enabled.
default-preferences pref(layout.css.prefixes.webkit,true)
# CSS properties.
# Tests for abspos children inside of a -webkit-box:
== webkit-box-abspos-children-1.html webkit-box-abspos-children-1-ref.html

Просмотреть файл

@ -1,6 +1,4 @@
# This directory contains tests for -webkit-gradient() expressions.
# They require webkit prefix support to be enabled.
default-preferences pref(layout.css.prefixes.webkit,true)
# In this test, we don't render a "-webkit-gradient" exactly correctly.
# (It's just here to ensure that our approximate/do-something rendering doesn't

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -21,9 +21,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=1274096
/** Test for Bug 1274096 **/
SimpleTest.waitForExplicitFinish();
SpecialPowers.pushPrefEnv(
{"set": [["layout.css.prefixes.webkit", true]]}
).then(runTest);
runTest();
function runTest() {
testValue("display", "-webkit-flex", "flex");

Просмотреть файл

@ -16,8 +16,6 @@ user_pref("layout.css.grid-template-subgrid-value.enabled", true);
user_pref("layout.css.initial-letter.enabled", true);
// Enable -webkit-{min|max}-device-pixel-ratio media queries for testing
user_pref("layout.css.prefixes.device-pixel-ratio-webkit", true);
// Enable webkit prefixed CSS features for testing
user_pref("layout.css.prefixes.webkit", true);
// Enable Media Source Extensions for testing
user_pref("media.mediasource.mp4.enabled", true);
user_pref("media.mediasource.webm.enabled", true);

Просмотреть файл

@ -1,2 +0,0 @@
[webkit-text-fill-color-currentColor.html]
prefs: [layout.css.prefixes.webkit:true]

Просмотреть файл

@ -1,5 +1,4 @@
[webkit-text-fill-color-property-002.html]
prefs: [layout.css.prefixes.webkit:true]
expected:
if (os == "android") and not e10s: FAIL
if (os == "android") and e10s: FAIL

Просмотреть файл

@ -1,2 +0,0 @@
[webkit-text-fill-color-property-003.html]
prefs: [layout.css.prefixes.webkit:true]

Просмотреть файл

@ -1,2 +0,0 @@
[webkit-text-fill-color-property-004.html]
prefs: [layout.css.prefixes.webkit:true]

Просмотреть файл

@ -1,2 +0,0 @@
[webkit-text-fill-color-property-005.html]
prefs: [layout.css.prefixes.webkit:true]

Просмотреть файл

@ -1,2 +0,0 @@
[webkit-text-fill-color-property-006.html]
prefs: [layout.css.prefixes.webkit:true]