summaryrefslogtreecommitdiff
path: root/crates
diff options
context:
space:
mode:
authorPgBiel <9021226+PgBiel@users.noreply.github.com>2024-03-11 07:28:40 -0300
committerGitHub <noreply@github.com>2024-03-11 10:28:40 +0000
commit3310dda0085aea6bca9ed574410b65f2b93de94b (patch)
tree2768f9e32a39228e1776e67da0ecc2d38407d963 /crates
parent288f7da4d08ede7583e920cab0ac126506d92d3e (diff)
Update hline/vline stroke docs (#3616)
Diffstat (limited to 'crates')
-rw-r--r--crates/typst/src/layout/grid/mod.rs8
-rw-r--r--crates/typst/src/model/table.rs8
2 files changed, 8 insertions, 8 deletions
diff --git a/crates/typst/src/layout/grid/mod.rs b/crates/typst/src/layout/grid/mod.rs
index dc16c3c3..8aaaf2be 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 daa05723..ee126243 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())))]