mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Add a no-op compute_font_hash.
This commit is contained in:
parent
f773dc182b
commit
28d487d31c
1 changed files with 5 additions and 1 deletions
|
@ -360,10 +360,14 @@ for side in SIDES:
|
|||
}
|
||||
</%self:impl_trait>
|
||||
|
||||
<%self:impl_trait style_struct_name="Font" skip_longhands="font-size">
|
||||
<%self:impl_trait style_struct_name="Font" skip_longhands="font-size" skip_additionals="*">
|
||||
|
||||
// FIXME(bholley): This doesn't handle zooming properly.
|
||||
<% impl_app_units("font_size", "mSize", need_clone=True) %>
|
||||
|
||||
// This is used for PartialEq, which we don't implement for gecko style structs.
|
||||
fn compute_font_hash(&mut self) {}
|
||||
|
||||
</%self:impl_trait>
|
||||
|
||||
<%self:impl_trait style_struct_name="Box" skip_longhands="display overflow-y">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue