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