Hi Josh, 

Thanks for all your updates so far. 

1) As per a previous discussion, after adding the argument to cascade function 
in properties.mako.rs as follows: 

pub fn cascade(viewport_size: Size2D<Au>,
               applicable_declarations: 
&[DeclarationBlock<Vec<PropertyDeclaration>>],
               shareable: bool,
               parent_style: Option< &ComputedValues >,
               cached_style: Option< &ComputedValues >, error_reporter: 
Box<ParseErrorReporter + Send>)


2) Adding the argument while calling the macro 

get_specified!(get_box, overflow_y, value, error_reporter);

3) Also, adding the argument to the macro definition as follows: 

 macro_rules! get_specified(
        ($style_struct_getter: ident, $property: ident, $declared_value: expr, 
$error_reporter: expr) => {
            concat_idents!(substitute_variables_, $property)(
                $declared_value, &custom_properties, |value| match *value {
                    DeclaredValue::Value(specified_value) => specified_value,
                    DeclaredValue::Initial => 
longhands::$property::get_initial_value(),
                    DeclaredValue::Inherit => {
                        inherited_style.$style_struct_getter().$property.clone()
                    }
                    DeclaredValue::WithVariables { .. } => unreachable!()
                }, $error_reporter
            )
        };
    );

I am getting an unresolved name error in properties.rs

Am I missing something ?

Thank you 

Regards, 
Gauri Naik
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to