aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_2020/table/construct.rs
diff options
context:
space:
mode:
Diffstat (limited to 'components/layout_2020/table/construct.rs')
-rw-r--r--components/layout_2020/table/construct.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/components/layout_2020/table/construct.rs b/components/layout_2020/table/construct.rs
index fc9d3c3406b..fe419c04c71 100644
--- a/components/layout_2020/table/construct.rs
+++ b/components/layout_2020/table/construct.rs
@@ -84,9 +84,7 @@ impl Table {
.stylist
.style_for_anonymous::<Node::ConcreteElement>(
&context.shared_context().guards,
- // TODO: This should be updated for Layout 2020 once we've determined
- // which styles should be inherited for tables.
- &PseudoElement::ServoLegacyAnonymousTable,
+ &PseudoElement::ServoAnonymousTable,
&parent_info.style,
);
let anonymous_info = parent_info.new_replacing_style(anonymous_style.clone());