diff options
author | Matt Brubeck <mbrubeck@limpet.net> | 2016-04-15 16:00:07 -0700 |
---|---|---|
committer | Matt Brubeck <mbrubeck@limpet.net> | 2016-04-16 13:13:07 -0700 |
commit | 1695d14a9e248edb3f51856d25a35a96861e251e (patch) | |
tree | 9707d1a5c506ecb0de75b315611d0b6568574e94 /components/script/dom/htmlelement.rs | |
parent | 1807fd3cc5741e410b7eae4eb4c2f389c594b144 (diff) | |
download | servo-1695d14a9e248edb3f51856d25a35a96861e251e.tar.gz servo-1695d14a9e248edb3f51856d25a35a96861e251e.zip |
Don't strip out all empty fragments
Empty fragments may need to be layed out to draw borders, padding/background,
and insertion points. (Fragments that consist of discardable whitespace and
control characters, on the other hand, can still be discarded.)
This ends up preserving some useless empty fragments. It's possible we could
avoid this by storing some sort of flag on "important" empty fragments, so we
can discard the rest.
Diffstat (limited to 'components/script/dom/htmlelement.rs')
0 files changed, 0 insertions, 0 deletions