From 63b91aa6c889bca1658f571f81f75960932f292f Mon Sep 17 00:00:00 2001 From: MurakamiShinyu Date: Tue, 7 Jan 2025 17:15:15 +0900 Subject: [PATCH] fix: fix broken table layout when table row has id attribute - fix #1439 --- packages/core/src/vivliostyle/vgen.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/core/src/vivliostyle/vgen.ts b/packages/core/src/vivliostyle/vgen.ts index 9a939b012..5d9653912 100644 --- a/packages/core/src/vivliostyle/vgen.ts +++ b/packages/core/src/vivliostyle/vgen.ts @@ -1318,6 +1318,7 @@ export class ViewFactory ); if ( Scripts.allowScripts && + result.localName !== "tr" && // issue #1439 !( result.namespaceURI === Base.NS.SVG && result.localName !== "svg"