mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-16 22:04:36 +00:00
![L. David Baron](/assets/img/avatar_default.png)
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. --HG-- extra : transplant_source : %E9%5E%97zE%A4%60n%8C%DD%F8K-%01%F3fF%E8%C9K
11 lines
218 B
HTML
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>
|