gioser

tawasuyu/taffy

A high performance rust-powered UI layout library

HTML 5544Rust 88Markdown 11TOML 91926 Sutichaykuna

Doc: ensure detailed grid info types are public / documented (#822)

* Doc: export `DetailedGridTracksInfo` from a public module.

This makes it possible for users to reference the type and also makes
its documentation available in the rustdoc output.

* Doc: markup urls as hyperlinks

Signed-off-by: Nico Burns <nico@nicoburns.com>

---------

Signed-off-by: Nico Burns <nico@nicoburns.com>

ceed1d7b81edb7d35eb6ce61f502f3a6b5d70a29 · ruwaq Nico Burns · (1 wata ñawpaq) · tayta 4e4fe4392 · kay commitpi sach'ata qhaway

Semántico sayk'uy

Mana ima sutichaypas t'ikrakurqanchu: qillqalla, yachachiylla utaq willaylla t'ikrakurqan.

2 qillqakuna · +3 −3

diff --git a/src/compute/mod.rs b/src/compute/mod.rs
index cf0b78ca8..fee9a877d 100644
--- a/src/compute/mod.rs
+++ b/src/compute/mod.rs
@@ -279,7 +279,7 @@ pub fn compute_hidden_layout(tree: &mut (impl LayoutPartialTree + CacheTree), no
 #[cfg(feature = "detailed_layout_info")]
 pub mod detailed_info {
     #[cfg(feature = "grid")]
-    pub use super::grid::DetailedGridInfo;
+    pub use super::grid::{DetailedGridInfo, DetailedGridTracksInfo};
 }
 
 #[cfg(test)]
diff --git a/src/style/mod.rs b/src/style/mod.rs
index 4319675d0..3c894cd42 100644
--- a/src/style/mod.rs
+++ b/src/style/mod.rs
@@ -55,7 +55,7 @@ pub trait CoreStyle {
         false
     }
     /// Is it a compressible replaced element?
-    /// https://drafts.csswg.org/css-sizing-3/#min-content-zero
+    /// <https://drafts.csswg.org/css-sizing-3/#min-content-zero>
     #[inline(always)]
     fn is_compressible_replaced(&self) -> bool {
         false
@@ -345,7 +345,7 @@ pub struct Style {
     /// This should really be part of `Display`, but it is currently seperate because table layout isn't implemented
     pub item_is_table: bool,
     /// Is it a replaced element like an image or form field?
-    /// https://drafts.csswg.org/css-sizing-3/#min-content-zero
+    /// <https://drafts.csswg.org/css-sizing-3/#min-content-zero>
     pub item_is_replaced: bool,
     /// Should size styles apply to the content box or the border box of the node
     pub box_sizing: BoxSizing,