commit | 10c8ae9e12b01613baa1fd94f22cce698fcbb03c | [log] [tgz] |
---|---|---|
author | Florian Thienel <florian@thienel.org> | Sun Oct 13 11:46:38 2013 +0200 |
committer | Florian Thienel <florian@thienel.org> | Sun Oct 13 14:22:20 2013 +0200 |
tree | 6c05d1cd2b90a151542b9b4d5baa7b6afddc59c6 | |
parent | 0fd38cade262c7550bd642740461d08614cc2e78 [diff] |
move decision isBlock/isInline solely to CssWhitespacePolicy There was a duplication in Stlyes.isBlock() and AbstractBlockBox.isInline(node). Both methods decided if a node was block or inline, but they were not consistent. Since the isBlock property depends also on the display property of the parent node, the responsibility was moved to the CssWhitespacePolicy. The information in Styles was not sufficient. Change-Id: Ic6a9f590009a1749433db0494e14bb7b5be78c89