M CHANGELOG.md => CHANGELOG.md +2 -2
@@ 11,8 11,8 @@
* Added option to prevent making boxes invisible when they contain no glyphs
and no forced (hard) line breaks.
-* Added `fragmentContentRect` to represent parts of the CSS content box
- for inline elements.
+* Added `fragmentContentRect` to provide a popular (though unstandardised)
+ way of determining the content area of inline elements.
* Added function `paragraphSafeWidth` to help calculating max-content width
for CSS.
M src/Data/Text/ParagraphLayout/Internal/Fragment.hs => src/Data/Text/ParagraphLayout/Internal/Fragment.hs +3 -2
@@ 42,8 42,9 @@ data Fragment d = Fragment
-- using all glyph advances in this fragment and the used font's ascent
-- and descent metrics.
--
- -- This can be used to determine the /content box/ of an inline element
- -- as understood in CSS.
+ -- This is commonly used as the /content area/ of inline elements in
+ -- web browsers, although this behaviour is not specified in CSS 2
+ -- nor in CSS Inline Layout Module Level 3.
, fragmentRect :: Rect Int32
-- ^ Physical position of the fragment within the paragraph, calculated