mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #9041 - mrobinson:remove-euclid-workaround, r=jdm
Remove workaround for Rect::is_empty Now that euclid is up-to-date this workaround is no longer necessary. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9041) <!-- Reviewable:end -->
This commit is contained in:
commit
1ddcf9463a
1 changed files with 1 additions and 4 deletions
|
@ -1097,10 +1097,7 @@ impl FragmentDisplayListBuilding for Fragment {
|
|||
}
|
||||
}
|
||||
SpecificFragmentInfo::Iframe(ref fragment_info) => {
|
||||
// TODO(mrobinson): When https://github.com/servo/euclid/issues/109 is fixed this
|
||||
// check can just become stacking_relative_content_box.is_empty().
|
||||
if stacking_relative_content_box.size.width != Zero::zero() &&
|
||||
stacking_relative_content_box.size.height != Zero::zero() {
|
||||
if !stacking_relative_content_box.is_empty() {
|
||||
let layer_id = self.layer_id();
|
||||
display_list.content.push_back(DisplayItem::LayeredItemClass(box LayeredItem {
|
||||
item: DisplayItem::NoopClass(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue