diff --git a/crates/typst/src/layout/grid/mod.rs b/crates/typst/src/layout/grid/mod.rs index dc16c3c39..8aaaf2be3 100644 --- a/crates/typst/src/layout/grid/mod.rs +++ b/crates/typst/src/layout/grid/mod.rs @@ -607,8 +607,8 @@ pub struct GridHLine { /// The line's stroke. /// - /// Specifying `{none}` interrupts previous hlines placed across this - /// line's range, but does not affect per-cell stroke or vlines. + /// Specifying `{none}` removes any lines previously placed across this + /// line's range, including hlines or per-cell stroke below it. #[resolve] #[fold] #[default(Some(Arc::new(Stroke::default())))] @@ -662,8 +662,8 @@ pub struct GridVLine { /// The line's stroke. /// - /// Specifying `{none}` interrupts previous vlines placed across this - /// line's range, but does not affect per-cell stroke or hlines. + /// Specifying `{none}` removes any lines previously placed across this + /// line's range, including vlines or per-cell stroke below it. #[resolve] #[fold] #[default(Some(Arc::new(Stroke::default())))] diff --git a/crates/typst/src/model/table.rs b/crates/typst/src/model/table.rs index daa057234..ee1262434 100644 --- a/crates/typst/src/model/table.rs +++ b/crates/typst/src/model/table.rs @@ -610,8 +610,8 @@ pub struct TableHLine { /// The line's stroke. /// - /// Specifying `{none}` interrupts previous hlines placed across this - /// line's range, but does not affect per-cell stroke or vlines. + /// Specifying `{none}` removes any lines previously placed across this + /// line's range, including hlines or per-cell stroke below it. #[resolve] #[fold] #[default(Some(Arc::new(Stroke::default())))] @@ -655,8 +655,8 @@ pub struct TableVLine { /// The line's stroke. /// - /// Specifying `{none}` interrupts previous vlines placed across this - /// line's range, but does not affect per-cell stroke or hlines. + /// Specifying `{none}` removes any lines previously placed across this + /// line's range, including vlines or per-cell stroke below it. #[resolve] #[fold] #[default(Some(Arc::new(Stroke::default())))]