Scripts: empty objects read zero control bounds and turn or scale as no-ops

- controlBounds of an object with nothing in it reads zeros, like its
  geometric and visible bounds.
- path.rotate and path.resize of a path with no anchors change nothing.
- The path tests make the first rectangle last, so pathItems[0] is the
  topmost path as pageItems lists it.
This commit is contained in:
dotCooCoo committed 2026-11-26 00:27:19 -08:00
1 parent 0e4afdad8c
commit 637facb057
5 files changed
+35 -17

No files matched your search

@@ -153,7 +153,10 @@ const INSIDE: &[(&str, &str)] = &[
width width= wrapInside wrapInside= wrapOffset wrapOffset= wrapped wrapped= zOrder zOrderPosition",
),
("PathItems.", "prototype"),
("PathItems.prototype.", "add constructor ellipse getByName index length parent polygon rectangle removeAll roundedRectangle star toString typename"),
(
"PathItems.prototype.",
"add constructor ellipse getByName index length parent polygon rectangle removeAll roundedRectangle star toString typename",
),
("PathItem.", "prototype"),
(
"PathItem.prototype.",