1
1
mirror of https://github.com/Kozea/WeasyPrint.git synced 2024-10-05 00:21:15 +03:00

Remove useless TODO

This has been fixed by 8e267c90.
This commit is contained in:
Guillaume Ayoub 2019-09-24 16:16:32 +02:00
parent c33ca0893d
commit 20f1dc3fe9

View File

@ -259,13 +259,6 @@ def block_container_layout(context, box, max_position_y, skip_stack,
# block_container_layout, there's probably a better solution.
assert isinstance(box, (boxes.BlockContainerBox, boxes.FlexBox))
# TODO: this should make a difference, but that is currently neglected.
# See http://www.w3.org/TR/CSS21/visudet.html#normal-block
# http://www.w3.org/TR/CSS21/visudet.html#root-height
# if box.style['overflow'] != 'visible':
# ...
# We have to work around floating point rounding errors here.
# The 1e-9 value comes from PEP 485.
allowed_max_position_y = max_position_y * (1 + 1e-9)