#NEWLINE# def get_computed_property( self , property , frame ) : #NEWLINE# #INDENT# if ( property in self . computed_properties ) : #NEWLINE# #INDENT# return self . computed_properties [ property ] #NEWLINE# #UNINDENT# if ( property in frame . computed_properties ) : #NEWLINE# #INDENT# return frame . computed_properties [ property ] #NEWLINE# #UNINDENT# specified = self . get_specified_property ( property ) #NEWLINE# if ( ( type ( specified ) == Ident ) and ( specified == 'inherit' ) ) : #NEWLINE# #INDENT# result = self . get_inherited_property ( property , frame ) #NEWLINE# node_cacheable = False #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# if ( property in StyleNode . _compute_functions ) : #NEWLINE# #INDENT# func = StyleNode . _compute_functions [ property ] #NEWLINE# ( result , node_cacheable ) = func ( self , property , specified , frame ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# result = specified #NEWLINE# node_cacheable = True #NEWLINE# #UNINDENT# #UNINDENT# if node_cacheable : #NEWLINE# #INDENT# self . computed_properties [ property ] = result #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# frame . computed_properties [ property ] = result #NEWLINE# #UNINDENT# return result