mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement sequential fallback to float speculation
Fixes #13284 Fixes #13223
This commit is contained in:
parent
ef1b594f48
commit
fe2018682b
10 changed files with 184 additions and 35 deletions
|
@ -112,11 +112,15 @@ impl TableRowFlow {
|
|||
// all cells).
|
||||
let mut max_block_size = Au(0);
|
||||
let thread_id = self.block_flow.base.thread_id;
|
||||
let content_box = self.block_flow.base.position
|
||||
- self.block_flow.fragment.border_padding
|
||||
- self.block_flow.fragment.margin;
|
||||
for kid in self.block_flow.base.child_iter_mut() {
|
||||
kid.place_float_if_applicable();
|
||||
if !flow::base(kid).flags.is_float() {
|
||||
kid.assign_block_size_for_inorder_child_if_necessary(layout_context,
|
||||
thread_id);
|
||||
thread_id,
|
||||
content_box);
|
||||
}
|
||||
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue