mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Fix #6799: set stacking_context_position correctly on
fragment_border_iterator
This commit is contained in:
parent
2151a1f459
commit
33a46597ed
5 changed files with 67 additions and 18 deletions
|
@ -2221,13 +2221,7 @@ impl BlockFlowDisplayListBuilding for BlockFlow {
|
|||
if state.clip_stack.is_empty() {
|
||||
return;
|
||||
}
|
||||
|
||||
let border_box = self.fragment.stacking_relative_border_box(
|
||||
&self.base.stacking_relative_position,
|
||||
&self.base.early_absolute_position_info.relative_containing_block_size,
|
||||
self.base.early_absolute_position_info.relative_containing_block_mode,
|
||||
CoordinateSystem::Parent);
|
||||
|
||||
let border_box = self.stacking_relative_position(CoordinateSystem::Parent);
|
||||
let transform = match self.fragment.transform_matrix(&border_box) {
|
||||
Some(transform) => transform,
|
||||
None => return,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue