mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Positioning fixes for RTL floats
This commit is contained in:
parent
ec5c333347
commit
0048b4f2ab
6 changed files with 52 additions and 4 deletions
|
@ -1049,7 +1049,8 @@ impl BlockFlow {
|
|||
let float_offset = self.base.floats.last_float_pos().unwrap()
|
||||
.convert(self.base.floats.writing_mode,
|
||||
self.base.writing_mode,
|
||||
container_size);
|
||||
container_size)
|
||||
.start;
|
||||
let margin_offset = LogicalPoint::new(self.base.writing_mode,
|
||||
Au(0),
|
||||
self.fragment.margin.block_start);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue