gecko/layout/reftests/text-indent/text-indent-parent-dynamic-ref.html
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

11 lines
218 B
HTML

<!DOCTYPE html>
<html>
<body>
<div id="x" style="background: lightgreen; height: 3em; width: 500px; padding: 4px;">
<div style="text-indent: 200px; width: 200px; background: yellow;">X</div>
</div>
</body>
</html>