This commit is contained in:
Kovid Goyal 2015-05-03 10:30:45 +05:30
parent 5a693a641c
commit 2e893908e3

View File

@ -654,7 +654,7 @@ class Style(object):
if val != 'baseline':
return val
parent = self._get_parent()
if parent is not None:
if parent is not None and 'inline' in parent['display']:
return parent.first_vertical_align
@property