set_property_from_presentational_hint(CSS::PropertyID::BorderTopColor, color_value);
+ cascaded_properties->set_property_from_presentational_hint(CSS::PropertyID::BorderRightColor, color_value);
+ cascaded_properties->set_property_from_presentational_hint(CSS::PropertyID::BorderBottomColor, color_value);
+ cascaded_properties->set_property_from_presentational_hint(CSS::PropertyID::BorderLeftColor, color_value);
+ }
+ }
});
}
diff --git a/Tests/LibWeb/Ref/expected/wpt-import/html/rendering/non-replaced-elements/tables/table-bordercolor-001-ref.html b/Tests/LibWeb/Ref/expected/wpt-import/html/rendering/non-replaced-elements/tables/table-bordercolor-001-ref.html
new file mode 100644
index 00000000000..1b128e61715
--- /dev/null
+++ b/Tests/LibWeb/Ref/expected/wpt-import/html/rendering/non-replaced-elements/tables/table-bordercolor-001-ref.html
@@ -0,0 +1,26 @@
+
+
+Reference case for table bordercolor attribute behaving like border-color property
+
+
+
+
+ I should not have a border. |
+
+
+ I should not have a border. |
+
+
+ I should not have a border. |
+
+
+ I should not have a border. |
+
+
+ I should have a border. |
+
+
+ I should have a border. |
+
diff --git a/Tests/LibWeb/Ref/input/wpt-import/html/rendering/non-replaced-elements/tables/table-bordercolor-001.html b/Tests/LibWeb/Ref/input/wpt-import/html/rendering/non-replaced-elements/tables/table-bordercolor-001.html
new file mode 100644
index 00000000000..8ca0eb8c0e9
--- /dev/null
+++ b/Tests/LibWeb/Ref/input/wpt-import/html/rendering/non-replaced-elements/tables/table-bordercolor-001.html
@@ -0,0 +1,29 @@
+
+
+Test for table bordercolor attribute behaving like border-color property
+
+
+
+
+
+
+
+ I should not have a border. |
+
+
+ I should not have a border. |
+
+
+ I should not have a border. |
+
+
+ I should not have a border. |
+
+
+ I should have a border. |
+
+
+ I should have a border. |
+