Owned by Vega: the line came in with my #21315 (#20890), and the fix touches the grid body's row separator two days before the cut, so no contributor labels.
Context
The operator, 20 Nov, from the frames of PR #21659 (a Gantt chart): "the red line gets cut by every row border. it does NOT match the position inside the column headers." Reproduced on dev (2d028b974d) in both families that draw the line, with timeAxis.now set inside the range at runtime, at 1440 × 900:
| Example |
now |
Header line x |
Body line x |
Body segments |
Gap at each row border |
examples/gantt/basic |
2026-11-14T12:00Z |
1171.39 |
1170.39 |
5, one per row |
1 px |
examples/scheduler/basic |
2026-11-09T12:00Z |
536 |
535 |
7, one per row |
1 px |
The header's line is the right one: Sat 14 spans 1086 to 1258.8, so 12:00 is at 1172.4, the header line's centre. The body's line sits 1 px to its left. Between the header line's bottom (119) and the first body segment's top (121) there is a 2 px seam as well.
The Problem
The line marks one instant, so it should read as one straight line from the header mark down to the last row. Instead it reads as stacked dashes, shifted against the header mark. These are two defects:
- The body draws one segment per row, and every row border interrupts it.
- The header's coordinate origin sits 1 px right of the body's. That moves every element the header positions (ticks, non-working bands, the now line) against its body counterpart.
#20890's unit spec pins the left values, which agree, so only rendered geometry shows either defect.
The Architectural Reality
src/timeline/Column.mjs:757-765 pushes one .neo-timeline-now into each row's track (${trackId}__now), positioned absolute with top: 0; bottom: 0 (resources/css/src/timeline/Column.css:37-47).
- The row border is the timeline cell's own
border-bottom: 1px (.neo-grid-cell.neo-timeline-cell). That cell clips (overflow: hidden, contain: content), so a segment can never cover it.
- A single body-level line cannot replace the segments. Each row is its own stacking context (
.neo-grid-row: transform, contain: strict) with an opaque cell background: a line below the rows is hidden, and a line above them crosses bar titles. Inside each track the bars sit at z-index: 1, above the line's 0.
src/timeline/TimeAxisHeader.mjs:775-780 draws the header's own line in the minor row at the same nowOffset. The header element (.neo-timeline-header.neo-grid-header-button) has border-left: 1px, so its rows start at x 222 while the body's track starts at 221.
- Design authority: #20890, point 4: "The timeline family marks the current time: a line through the body at
dateToOffset(now) and a mark on that tick in the header, for the scheduler and the Gantt chart alike." Both sides take one value, TimeAxis#getNowOffset ("Returns the pixel offset of {@link #now}"), so one x is intended. The constraint to keep is in Column.css: "drawn beneath the bars so it never crosses a title".
The Fix
- Rows: draw the timeline cell's row separator inside its padding box, for example as an inset bottom shadow instead of
border-bottom. Each row's segment then covers it, and the segments meet. Row heights and the locked columns' separators must line up as before.
- Header origin: start the header's rows where the body's track starts. Either drop the timeline header button's left border and keep the separator on the locked side, or offset its rows by the border width. Ticks, non-working bands and the now line then share the body's x.
Acceptance Criteria
Out of Scope
- The line's behaviour when
now is outside the range, and now: null reading the viewer's clock (#20890).
- The header's tick formats, and the design of non-working bands.
Related
#20874 (parent) · #20890 (introduced the line) · PR #21659 (where the operator saw it)
Live latest-open + closed sweep: latest 20 open, plus open and closed searches (now line OR now marker OR current time line timeline), at 2026-11-20T21:40Z and rechecked at 21:42Z. No equivalent. The closed same-surface hit #20890 introduced the line; its Out of Scope excludes nothing here. Backlog band: 83 open, red, so this files as a leaf of the owning epic #20874 (24 subs).
A2A in-flight sweep: the latest 30 messages in all read states back to 20:57Z, rechecked at 21:42Z; no claim on the now line.
MC sweep: "red now line cut by row borders, now marker misaligned with header, timeline current time line": 5 results, none on this line, no prior decision.
Own-assignment sweep: 8 open; none on the timeline's now line.
Decision Record impact: none.
Origin Session ID: 1560fd9e-518f-4fc4-8338-9b9aaf748f4e
Retrieval Hint: "timeline now line cut by row borders; header now line 1 px off the body; neo-timeline-now per-row segments; timeline header border-left origin"
Owned by Vega: the line came in with my #21315 (#20890), and the fix touches the grid body's row separator two days before the cut, so no contributor labels.
Context
The operator, 20 Nov, from the frames of PR #21659 (a Gantt chart): "the red line gets cut by every row border. it does NOT match the position inside the column headers." Reproduced on
dev(2d028b974d) in both families that draw the line, withtimeAxis.nowset inside the range at runtime, at 1440 × 900:nowexamples/gantt/basic2026-11-14T12:00Zexamples/scheduler/basic2026-11-09T12:00ZThe header's line is the right one:
Sat 14spans 1086 to 1258.8, so 12:00 is at 1172.4, the header line's centre. The body's line sits 1 px to its left. Between the header line's bottom (119) and the first body segment's top (121) there is a 2 px seam as well.The Problem
The line marks one instant, so it should read as one straight line from the header mark down to the last row. Instead it reads as stacked dashes, shifted against the header mark. These are two defects:
#20890's unit spec pins the
leftvalues, which agree, so only rendered geometry shows either defect.The Architectural Reality
src/timeline/Column.mjs:757-765pushes one.neo-timeline-nowinto each row's track (${trackId}__now), positionedabsolutewithtop: 0; bottom: 0(resources/css/src/timeline/Column.css:37-47).border-bottom: 1px(.neo-grid-cell.neo-timeline-cell). That cell clips (overflow: hidden,contain: content), so a segment can never cover it..neo-grid-row:transform,contain: strict) with an opaque cell background: a line below the rows is hidden, and a line above them crosses bar titles. Inside each track the bars sit atz-index: 1, above the line's0.src/timeline/TimeAxisHeader.mjs:775-780draws the header's own line in the minor row at the samenowOffset. The header element (.neo-timeline-header.neo-grid-header-button) hasborder-left: 1px, so its rows start at x 222 while the body's track starts at 221.dateToOffset(now)and a mark on that tick in the header, for the scheduler and the Gantt chart alike." Both sides take one value,TimeAxis#getNowOffset("Returns the pixel offset of {@link #now}"), so one x is intended. The constraint to keep is inColumn.css: "drawn beneath the bars so it never crosses a title".The Fix
border-bottom. Each row's segment then covers it, and the segments meet. Row heights and the locked columns' separators must line up as before.Acceptance Criteria
nowinside the range, the body's now line has no gap at any row border, inexamples/gantt/basicandexamples/scheduler/basic. (Amended 20 Nov while building: the 2 px header/body seam stays. It is the header button's and the grid header toolbar's bottom borders, which span every column and clip their content; the line meets them at the same x on both sides.)nowagainst its tick (12:00 falls on the tick's midpoint), in neo-light and neo-dark.showNonWorkingTime).nowkeeps its title uncrossed.test/playwright/e2e/pins the first two ACs from rendered rects.Out of Scope
nowis outside the range, andnow: nullreading the viewer's clock (#20890).Related
#20874 (parent) · #20890 (introduced the line) · PR #21659 (where the operator saw it)
Live latest-open + closed sweep: latest 20 open, plus open and closed searches (
now line OR now marker OR current time line timeline), at 2026-11-20T21:40Z and rechecked at 21:42Z. No equivalent. The closed same-surface hit #20890 introduced the line; its Out of Scope excludes nothing here. Backlog band: 83 open, red, so this files as a leaf of the owning epic #20874 (24 subs). A2A in-flight sweep: the latest 30 messages in all read states back to 20:57Z, rechecked at 21:42Z; no claim on the now line. MC sweep: "red now line cut by row borders, now marker misaligned with header, timeline current time line": 5 results, none on this line, no prior decision. Own-assignment sweep: 8 open; none on the timeline's now line.Decision Record impact: none.
Origin Session ID: 1560fd9e-518f-4fc4-8338-9b9aaf748f4e
Retrieval Hint: "timeline now line cut by row borders; header now line 1 px off the body; neo-timeline-now per-row segments; timeline header border-left origin"