Backed out changeset 1df4622b548b (bug 1405635) for failing mochitest layout/style/test/test_custom_content_inheritance.html. r=backout on a CLOSED TREE
authorSebastian Hengst <archaeopteryx@coole-files.de>
Thu, 05 Oct 2017 17:39:20 +0200
changeset 427445 eaa0d99df02949e2553063b67b7f72264c4706f2
parent 427444 d642aedb7ad606d438339dd115d5603206bb99d7
child 427446 1229b8a6eefc592d2a7e56bd5748a1e0cab325c4
push id97
push userfmarier@mozilla.com
push dateSat, 14 Oct 2017 01:12:59 +0000
reviewersbackout
bugs1405635
milestone58.0a1
backs out1df4622b548bade48b18d2b9f2cbf7aa2de1bc63
Backed out changeset 1df4622b548b (bug 1405635) for failing mochitest layout/style/test/test_custom_content_inheritance.html. r=backout on a CLOSED TREE
layout/style/test/mochitest.ini
layout/style/test/test_custom_content_inheritance.html
--- a/layout/style/test/mochitest.ini
+++ b/layout/style/test/mochitest.ini
@@ -191,17 +191,16 @@ support-files = file_bug1381233.html
 skip-if = toolkit == 'android' #bug 536603
 [test_css_eof_handling.html]
 [test_css_escape_api.html]
 [test_css_function_mismatched_parenthesis.html]
 [test_css_loader_crossorigin_data_url.html]
 [test_css_parse_error_smoketest.html]
 [test_css_supports.html]
 [test_css_supports_variables.html]
-[test_custom_content_inheritance.html]
 [test_default_bidi_css.html]
 [test_default_computed_style.html]
 [test_descriptor_storage.html]
 [test_descriptor_syntax_errors.html]
 [test_dont_use_document_colors.html]
 [test_dynamic_change_causing_reflow.html]
 [test_exposed_prop_accessors.html]
 [test_extra_inherit_initial.html]
deleted file mode 100644
--- a/layout/style/test/test_custom_content_inheritance.html
+++ /dev/null
@@ -1,26 +0,0 @@
-<!doctype html>
-<title>Test for custom content inheritance</title>
-<style>
-  html { color: red !important; }
-</style>
-<script src="/tests/SimpleTest/SimpleTest.js"></script>
-<script>
-onload = function() {
-  try {
-    let doc = SpecialPowers.wrap(document);
-    let div = doc.createElement('div');
-    div.id = "test-id";
-    ok(!!doc.insertAnonymousContent,
-       "Must have the insertAnonymousContent API");
-    let content = doc.insertAnonymousContent(div);
-    ok(!!content, "Must have anon content");
-    isnot(content.getComputedStylePropertyValue("test-id", "color"),
-          getComputedStyle(document.documentElement).color,
-          "Custom anon content shouldn't inherit from the root element");
-  } catch(e) {
-    ok(false, "Threw: " + e);
-  }
-  SimpleTest.finish();
-};
-SimpleTest.waitForExplicitFinish();
-</script>