~jaro/balkon

adba83834db9632c2bc91313529277926a228bae — Jaro 1 year, 6 months ago 81d758b
Fix terminology for box layout bounds.
1 files changed, 6 insertions(+), 1 deletions(-)

M src/Data/Text/ParagraphLayout/Internal/Fragment.hs
M src/Data/Text/ParagraphLayout/Internal/Fragment.hs => src/Data/Text/ParagraphLayout/Internal/Fragment.hs +6 -1
@@ 52,7 52,12 @@ data Fragment d = Fragment
    --
    -- The origin coordinates are relative to the paragraph.
    --
    -- This is the CSS equivalent of /content box/, before adding box spacing.
    -- The vertical extent of this rectangle is the equivalent of
    -- /layout bounds/ defined by CSS.
    --
    -- Box spacing is not included.
    --
    -- TODO: Define content box.

    , fragmentPen :: (Int32, Int32)
    -- ^ Coordinates of the initial pen position, from which the first glyph