Index: third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-02.html |
diff --git a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-02.html b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-02.html |
index 8f605d4db26850a5469a77cb20cf5f05e930ed63..c657227f5eda402c52ccc8cdee55142a57362f90 100644 |
--- a/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-02.html |
+++ b/third_party/WebKit/LayoutTests/imported/web-platform-tests/html/obsolete/requirements-for-implementations/other-elements-attributes-and-apis/document-color-02.html |
@@ -15,6 +15,12 @@ test(function() { |
assert_equals(document.alinkColor, document.body.aLink); |
}) |
test(function() { |
+ document.fgColor = null; |
+ assert_equals(document.fgColor, ""); |
+ assert_equals(document.body.text, ""); |
+ assert_equals(document.body.getAttribute("text"), ""); |
+}) |
+test(function() { |
document.fgColor = "blue"; |
assert_equals(document.fgColor, "blue"); |
assert_equals(document.body.text, "blue"); |