From c0d5fddc7c41bdcf57f72457e67afbd2c360d214 Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Mon, 23 Nov 2026 11:40:35 -0800 Subject: [PATCH] Scripts: the host's name table lists the text ranges' paragraph attributes and the add methods --- .../tests/it/script_host_vs_scriptcheck.rs | 20 ++++++++++--------- 1 file changed, 11 insertions(+), 9 deletions(-) diff --git a/crates/engine/tests/it/script_host_vs_scriptcheck.rs b/crates/engine/tests/it/script_host_vs_scriptcheck.rs index b23788236e..fb505bbd2c 100644 --- a/crates/engine/tests/it/script_host_vs_scriptcheck.rs +++ b/crates/engine/tests/it/script_host_vs_scriptcheck.rs @@ -151,19 +151,21 @@ const INSIDE: &[(&str, &str)] = &[ "TextRange.prototype.", "autoLeading autoLeading= baselineShift baselineShift= changeCaseTo changeCaseTo= characterAttributes characterOffset \ characterOffset= characterStyles characterStyles= characters constructor contents contents= deSelect deSelect= \ - duplicate duplicate= end end= getLocalCharOverridesJSON getLocalCharOverridesJSON= getLocalParaOverridesJSON \ - getLocalParaOverridesJSON= getParagraphLength getTextRunLength horizontalScale horizontalScale= insertionPoints \ - insertionPoints= kerning kerning= leading leading= length length= lines lines= move move= paragraphAttributes \ - paragraphStyles paragraphStyles= paragraphs parent remove rotation rotation= select select= size size= start start= \ - story story= strikeThrough strikeThrough= textFont textFont= textRanges textRanges= textSelection textSelection= \ - tracking tracking= typename underline underline= verticalScale verticalScale= words", + duplicate duplicate= end end= firstLineIndent firstLineIndent= getLocalCharOverridesJSON getLocalCharOverridesJSON= \ + getLocalParaOverridesJSON getLocalParaOverridesJSON= getParagraphLength getTextRunLength horizontalScale \ + horizontalScale= insertionPoints insertionPoints= justification justification= kerning kerning= leading leading= \ + leftIndent leftIndent= length length= lines lines= move move= paragraphAttributes paragraphStyles paragraphStyles= \ + paragraphs parent remove rightIndent rightIndent= rotation rotation= select select= size size= spaceAfter spaceAfter= \ + spaceBefore spaceBefore= start start= story story= strikeThrough strikeThrough= textFont textFont= textRanges \ + textRanges= textSelection textSelection= tracking tracking= typename underline underline= verticalScale \ + verticalScale= words", ), ("Characters.", "prototype"), - ("Characters.prototype.", "constructor length parent typename"), + ("Characters.prototype.", "add addBefore constructor length parent typename"), ("Words.", "prototype"), - ("Words.prototype.", "constructor length parent typename"), + ("Words.prototype.", "add addBefore constructor length parent typename"), ("Paragraphs.", "prototype"), - ("Paragraphs.prototype.", "constructor length parent typename"), + ("Paragraphs.prototype.", "add addBefore constructor length parent typename"), ("CharacterAttributes.", "prototype"), ( "CharacterAttributes.prototype.",