Commit Graph

4 Commits

Author SHA1 Message Date
L. David Baron
9e6abc06e5 Bug 718157 - Fix dynamic changes of percentage text-indent when the parent's size changes and the element's size does not. r=jfkthame
This code needs to move out of PrepareResizeReflow() (and things that
trigger code in it) because PrepareResizeReflow is conditioned on the
block itself resizing.

The reftest is based on a test by Jesse Ruderman <jruderman@gmail.com>.

The reftest fails without the patch and passes with the patch.
2015-02-11 22:43:05 +11:00
L. David Baron
14c3fea15c Add CSS 2.1 test suite metadata for text-indent reftests. 2010-01-27 15:46:48 -08:00
dbaron@dbaron.org
ad3d506605 Make text-indent contribute to intrinsic widths, and handle negative text-indent and negative margin properly by distinguishing forced and optional breaks when accumulating minimum widths. b=368155 r+sr=roc 2007-06-21 15:32:47 -07:00
dbaron@dbaron.org
ce5da1c499 Add reftests for text-indent. 2007-03-25 12:26:32 -07:00