mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
style: Remove -moz-outline-radius
It does nothing since 88 and we unshipped it in 89. Differential Revision: https://phabricator.services.mozilla.com/D117532
This commit is contained in:
parent
ed806afe52
commit
837e41c8eb
4 changed files with 2 additions and 72 deletions
|
@ -799,11 +799,8 @@ fn static_assert() {
|
|||
${impl_simple_type_with_conversion("masonry_auto_flow", "mMasonryAutoFlow")}
|
||||
</%self:impl_trait>
|
||||
|
||||
<% skip_outline_longhands = " ".join("outline-style outline-width".split() +
|
||||
["-moz-outline-radius-{0}".format(x.replace("_", ""))
|
||||
for x in CORNERS]) %>
|
||||
<%self:impl_trait style_struct_name="Outline"
|
||||
skip_longhands="${skip_outline_longhands}">
|
||||
skip_longhands="outline-style outline-width">
|
||||
|
||||
pub fn set_outline_style(&mut self, v: longhands::outline_style::computed_value::T) {
|
||||
self.gecko.mOutlineStyle = v;
|
||||
|
@ -831,12 +828,6 @@ fn static_assert() {
|
|||
inherit_from="mOutlineWidth",
|
||||
round_to_pixels=True) %>
|
||||
|
||||
% for corner in CORNERS:
|
||||
<% impl_corner_style_coord("_moz_outline_radius_%s" % corner.replace("_", ""),
|
||||
"mOutlineRadius",
|
||||
corner) %>
|
||||
% endfor
|
||||
|
||||
pub fn outline_has_nonzero_width(&self) -> bool {
|
||||
self.gecko.mActualOutlineWidth != 0
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue