mirror of
https://github.com/servo/servo.git
synced 2025-07-24 07:40:27 +01:00
Rounded corners for images and iframes.
This commit is contained in:
parent
2d3eae3e3a
commit
2aa34f9dc2
2 changed files with 20 additions and 5 deletions
|
@ -464,7 +464,7 @@ impl WebRenderDisplayItemConverter for DisplayItem {
|
|||
DisplayItem::Iframe(ref item) => {
|
||||
let rect = item.base.bounds.to_rectf();
|
||||
let pipeline_id = item.iframe.to_webrender();
|
||||
builder.push_iframe(rect, pipeline_id);
|
||||
builder.push_iframe(rect, Some(item.base.local_clip), pipeline_id);
|
||||
}
|
||||
DisplayItem::PushStackingContext(ref item) => {
|
||||
let stacking_context = &item.stacking_context;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue