mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
style: Remove -servo-display-for-hypothetical-box from longhand
This commit is contained in:
parent
e81193c5c9
commit
0291a75b3c
5 changed files with 64 additions and 56 deletions
|
@ -161,27 +161,6 @@ ${helpers.single_keyword("position", "static absolute relative fixed sticky",
|
|||
}
|
||||
</%helpers:single_keyword_computed>
|
||||
|
||||
<%helpers:longhand name="-servo-display-for-hypothetical-box"
|
||||
animation_value_type="none"
|
||||
derived_from="display"
|
||||
products="servo"
|
||||
spec="Internal (not web-exposed)">
|
||||
pub use super::display::{SpecifiedValue, get_initial_value};
|
||||
pub use super::display::{parse};
|
||||
|
||||
pub mod computed_value {
|
||||
pub type T = super::SpecifiedValue;
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn derive_from_display(context: &mut Context) {
|
||||
let d = context.style().get_box().clone_display();
|
||||
context.builder.set__servo_display_for_hypothetical_box(d);
|
||||
}
|
||||
|
||||
</%helpers:longhand>
|
||||
|
||||
|
||||
${helpers.predefined_type(
|
||||
"vertical-align",
|
||||
"VerticalAlign",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue