System/Libraries/Html/Reflow: Collapse margin-top into previous block
We will most likely end up having to redo this in the future, but for now it's a nice QoL to avoid double-spacing between adjacent blocks.
This commit is contained in:
parent
84ffabf7b7
commit
012d32110e
2 changed files with 33 additions and 4 deletions
|
@ -110,6 +110,7 @@ class @html_renderer
|
|||
U64 link_callback;
|
||||
U64 form_submit_callback;
|
||||
U64 (*image_load_callback)(U64);
|
||||
@html_dom_node* reflow_previous_node;
|
||||
@renderer_reflow reflow_stack[128];
|
||||
@renderer_reflow reflow;
|
||||
I64 reflow_index;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue