From 49ae9bb4422b6d72ebbeb67b59e9ac734e8363b5 Mon Sep 17 00:00:00 2001 From: Martin Robinson Date: Fri, 8 Mar 2024 11:32:51 +0100 Subject: layout: Fix the pseudo for anonymous tables (#31578) Anonymous tables should not use legacy pseudos, as the legacy layout engine had them inherit lots of random properites that lead to bad layout in the new layout engine. Co-authored-by: Oriol Brufau --- resources/servo.css | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'resources') diff --git a/resources/servo.css b/resources/servo.css index 6bea1cc43ad..82b669af633 100644 --- a/resources/servo.css +++ b/resources/servo.css @@ -230,6 +230,10 @@ svg > * { overflow: visible; } +*|*::-servo-anonymous-table { + display: table; +} + *|*::-servo-anonymous-table-row { display: table-row; position: static; -- cgit v1.2.3