From 453cf6c0f152a490a5f61bccb2a4abc841c463a7 Mon Sep 17 00:00:00 2001 From: David Wendt Date: Wed, 24 Jun 2020 22:36:36 -0400 Subject: [PATCH] Remove *extremely* out of date documentation on `BoxBounds`. --- core/src/html/dimensions.rs | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/core/src/html/dimensions.rs b/core/src/html/dimensions.rs index 3d69ed8c0..f664bf9d6 100644 --- a/core/src/html/dimensions.rs +++ b/core/src/html/dimensions.rs @@ -132,17 +132,7 @@ impl From> for Size { } } -/// A type which represents the offset and size of text-orientation-relative -/// boxes. -/// -/// For the purposes of internationalization, the two axes are called "primary" -/// and "secondary", and the directions are "leading" for the direction of text -/// flow and "trailing" for the opposite direction. The meaning of these axis -/// and directions are determined by the `WritingMode` of a given `LayoutBox`. -/// -/// To obtain concretely-oriented dimensions, use `into_screen_space` to -/// transform the coordinates into a pair of top, left, right, and bottom -/// coordinates. +/// A type which represents the offset and size of a text box. #[derive(Copy, Clone, Debug, PartialEq, Eq, Collect)] #[collect(require_static)] pub struct BoxBounds {