Skip to content

Commit

Permalink
Ignore more properties unsupported for print media
Browse files Browse the repository at this point in the history
  • Loading branch information
liZe committed Dec 2, 2023
1 parent b884391 commit 7eff556
Showing 1 changed file with 58 additions and 3 deletions.
61 changes: 58 additions & 3 deletions weasyprint/css/validation/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,78 @@
'stress',
'voice-family',
'volume',
# Interactive
'cursor',
# Animations and transitions
# Animations, transitions, timelines
'animation',
'animation-composition',
'animation-delay',
'animation-direction',
'animation-duration',
'animation-fill-mode',
'animation-iteration-count',
'animation-name',
'animation-play-state',
'animation-range',
'animation-range-end',
'animation-range-start',
'animation-timeline',
'animation-timing-function',
'timeline-scope',
'transition',
'transition-delay',
'transition-duration',
'transition-property',
'transition-timing-function',
'view-timeline',
'view-timeline-axis',
'view-timeline-inset',
'view-timeline-name',
'view-transition-name',
# Dynamic and interactive
'caret',
'caret-color',
'caret-shape',
'cursor',
'field-sizing',
'font-display',
'resize',
# Browser viewport scrolling
'overscroll-behavior',
'overscroll-behavior-block',
'overscroll-behavior-inline',
'overscroll-behavior-x',
'overscroll-behavior-y',
'scroll-behavior',
'scroll-margin',
'scroll-margin-block',
'scroll-margin-block-end',
'scroll-margin-block-start',
'scroll-margin-bottom',
'scroll-margin-inline',
'scroll-margin-inline-end',
'scroll-margin-inline-start',
'scroll-margin-left',
'scroll-margin-right',
'scroll-margin-top',
'scroll-padding',
'scroll-padding-block',
'scroll-padding-block-end',
'scroll-padding-block-start',
'scroll-padding-bottom',
'scroll-padding-inline',
'scroll-padding-inline-end',
'scroll-padding-inline-start',
'scroll-padding-left',
'scroll-padding-right',
'scroll-padding-top',
'scroll-snap-align',
'scroll-snap-stop',
'scroll-snap-type',
'scroll-timeline',
'scroll-timeline-axis',
'scroll-timeline-name',
'scrollbar-color',
'scrollbar-gutter',
'scrollbar-width',
}


Expand Down

0 comments on commit 7eff556

Please sign in to comment.