Skip to content

Commit

Permalink
Remove unsupported grid support
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Jan 3, 2022
1 parent 117bbae commit fad0f35
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions weasyprint/css/validation/properties.py
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,7 @@ def display(tokens):
'table-header-group', 'table-footer-group', 'table-row',
'table-column-group', 'table-column'):
return (value,)
elif value in ('inline-table', 'inline-flex', 'inline-grid'):
elif value in ('inline-table', 'inline-flex'):
return tuple(value.split('-'))
elif value == 'inline-block':
return ('inline', 'flow-root')
Expand All @@ -645,7 +645,7 @@ def display(tokens):
if outside:
return
outside = value
elif value in ('flow', 'flow-root', 'table', 'flex', 'grid'):
elif value in ('flow', 'flow-root', 'table', 'flex'):
if inside:
return
inside = value
Expand Down

0 comments on commit fad0f35

Please sign in to comment.