Auto merge of #19655 - pyfisch:border-radii-comments, r=emilio

Remove solved FIXMEs about border radii

 cc pcwalton

cgaebel: Is this [comment] still accurate?

    // TODO(cgaebel): Support border radii even in the case of multiple border widths.
    // This is an extension of supporting elliptical radii. For now, all percentage
    // radii will be relative to the width.

[comment]: 446536b9c3/components/layout/display_list_builder.rs (L659-L661)

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19655)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2018-01-01 08:19:36 -06:00 committed by GitHub
commit 657d8a2ede
2 changed files with 0 additions and 5 deletions

View file

@ -775,8 +775,6 @@ pub struct NormalBorder {
pub style: SideOffsets2D<border_style::T>,
/// Border radii.
///
/// TODO(pcwalton): Elliptical radii.
pub radius: BorderRadii<Au>,
}
@ -845,8 +843,6 @@ pub struct BorderDisplayItem {
}
/// Information about the border radii.
///
/// TODO(pcwalton): Elliptical radii.
#[derive(Clone, Copy, Debug, Deserialize, MallocSizeOf, PartialEq, Serialize)]
pub struct BorderRadii<T> {
pub top_left: Size2D<T>,

View file

@ -1544,7 +1544,6 @@ impl FragmentDisplayListBuilding for Fragment {
Au::from(box_shadow.spread),
);
// TODO(pcwalton): Multiple border radii; elliptical border radii.
let base = state.create_base_display_item(&bounds,
LocalClip::from(clip.to_rectf()),
self.node,