Identical to 2db6c3c.
tests/before-overruns.nowline
nowline v1
// Fixture for `before:` misses. An item paints a red tail over its own
// late part, never left of the item and behind its caption. A group,
// parallel or swimlane paints the same red behind its children, from the
// cap (or its start, if later) to its end: a body, or a lane's full
// height. A child turns red only through its own `before:`.
//
// See specs/rendering.md "Before Constraints".
roadmap r "Before overruns" start:2026-01-05 length:12w
anchor freeze date:2026-02-02
// An item that starts past its cap: the tail covers the item only.
swimlane items "Items"
item design "Design" duration:3w
item build "Build" duration:2w before:freeze
item polish "Polish with a long title" duration:5w before:freeze
// A group and a parallel that overrun; only Build and Docs carry their own
// before:. The parallel starts past the cap, so its whole body is red.
swimlane containers "Group and parallel"
group api "API work" before:freeze
item a "Spec" duration:2w
item b "Build" duration:3w before:freeze
item c "Harden" duration:1w
parallel p "Docs and SDK" before:freeze
item d "Docs" duration:1w before:freeze
item e "SDK" duration:2w
// An inline date on a group draws its glyph and the overrun.
swimlane dated "Inline date"
group g "Rollout" before:2026-01-26
item r1 "Region 1" duration:2w
item r2 "Region 2" duration:2w
// A lane overrun stacked on a capacity overrun: the tint runs the lane's
// full height and the utilization underline stays on top.
swimlane docs "Docs" capacity:2 before:freeze
item w "Write docs" duration:3w
parallel
item rv "Review" duration:2w before:freeze
item tr "Translate" duration:2w capacity:2
item pub "Publish" duration:1w