mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Temporarily convert existing cfg(debug_assertions) crashes to warnings (#30578)
This commit is contained in:
parent
351b5036bf
commit
66258bfbbd
9 changed files with 53 additions and 16 deletions
|
@ -1517,7 +1517,9 @@ impl Fragment {
|
|||
if let Some(ref inline_fragment_context) = self.inline_context {
|
||||
for node in &inline_fragment_context.nodes {
|
||||
if node.style.get_box().position == Position::Relative {
|
||||
rel_pos = rel_pos + from_style(&*node.style, containing_block_size);
|
||||
// TODO(servo#30577) revert once underlying bug is fixed
|
||||
// rel_pos = rel_pos + from_style(&*node.style, containing_block_size);
|
||||
rel_pos = rel_pos.add_or_warn(from_style(&*node.style, containing_block_size));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue