mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Rename content_rect to rect in TextFragment and ImageFragment
Since they don’t have padding etc.
This commit is contained in:
parent
ce9fc3e651
commit
6d91d77fba
4 changed files with 7 additions and 7 deletions
|
@ -45,7 +45,7 @@ impl ReplacedContent {
|
|||
.map(|image_key| {
|
||||
Fragment::Image(ImageFragment {
|
||||
style: style.clone(),
|
||||
content_rect: flow_relative::Rect {
|
||||
rect: flow_relative::Rect {
|
||||
start_corner: flow_relative::Vec2::zero(),
|
||||
size,
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue