Index: LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html |
diff --git a/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html b/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e8dfcf029ca255c761151aff9d57b75c3f778e99 |
--- /dev/null |
+++ b/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-01.html |
@@ -0,0 +1,18 @@ |
+<!DOCTYPE html> |
+<title>document: fg/bg/link/vlink/alink-color</title> |
+<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com"> |
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-document-fgcolor"> |
+<link rel="help" href="https://html.spec.whatwg.org/multipage/#dom-body-text"> |
+<script src="../../../../../../resources/testharness.js"></script> |
+<script src="../../../../../../resources/testharnessreport.js"></script> |
+<div id="log"></div> |
+<script> |
+test(function() { |
+ document.documentElement.removeChild(document.body); |
+ assert_equals(document.fgColor, ""); |
+ assert_equals(document.bgColor, ""); |
+ assert_equals(document.linkColor, ""); |
+ assert_equals(document.vlinkColor, ""); |
+ assert_equals(document.alinkColor, ""); |
+}) |
+</script> |