|
| 1 | +export const expectedCss = String.raw` |
| 2 | +.timeline { |
| 3 | + animation-timeline: scroll(y) |
| 4 | +} |
| 5 | +.timeline-auto { |
| 6 | + animation-timeline: auto |
| 7 | +} |
| 8 | +.timeline-none { |
| 9 | + animation-timeline: none |
| 10 | +} |
| 11 | +.timeline-scroll-x { |
| 12 | + animation-timeline: scroll(x) |
| 13 | +} |
| 14 | +.timeline-view { |
| 15 | + animation-timeline: view() |
| 16 | +} |
| 17 | +.timeline\/test { |
| 18 | + animation-timeline: --test |
| 19 | +} |
| 20 | +.scroll-timeline { |
| 21 | + scroll-timeline: none y |
| 22 | +} |
| 23 | +.scroll-timeline-block { |
| 24 | + scroll-timeline: none block |
| 25 | +} |
| 26 | +.scroll-timeline-block\/test { |
| 27 | + scroll-timeline: --test block |
| 28 | +} |
| 29 | +.scroll-timeline-x { |
| 30 | + scroll-timeline: none x |
| 31 | +} |
| 32 | +.scroll-timeline-x\/test { |
| 33 | + scroll-timeline: --test x |
| 34 | +} |
| 35 | +.scroll-timeline\/test { |
| 36 | + scroll-timeline: --test y |
| 37 | +} |
| 38 | +.view-timeline { |
| 39 | + view-timeline: none y |
| 40 | +} |
| 41 | +.view-timeline-block { |
| 42 | + view-timeline: none block |
| 43 | +} |
| 44 | +.view-timeline-block\/test { |
| 45 | + view-timeline: --test block |
| 46 | +} |
| 47 | +.view-timeline-x { |
| 48 | + view-timeline: none x |
| 49 | +} |
| 50 | +.view-timeline-x\/test { |
| 51 | + view-timeline: --test x |
| 52 | +} |
| 53 | +.view-timeline\/test { |
| 54 | + view-timeline: --test y |
| 55 | +} |
| 56 | +.scope\/test { |
| 57 | + timeline-scope: --test |
| 58 | +} |
| 59 | +.range { |
| 60 | + animation-range: cover 0 cover 100% |
| 61 | +} |
| 62 | +.range-contain { |
| 63 | + animation-range: contain 0 contain 100% |
| 64 | +} |
| 65 | +.range-contain\/10px-100px { |
| 66 | + animation-range: contain 10px contain 100px |
| 67 | +} |
| 68 | +.range-on-entry { |
| 69 | + animation-range: entry 0 entry 100% |
| 70 | +} |
| 71 | +.range-on-entry\/10px-100px { |
| 72 | + animation-range: entry 10px entry 100px |
| 73 | +} |
| 74 | +.range-on-exit { |
| 75 | + animation-range: exit 0 exit 100% |
| 76 | +} |
| 77 | +.range-on-exit\/10px-100px { |
| 78 | + animation-range: exit 10px exit 100px |
| 79 | +} |
| 80 | +.range\/10px-100px { |
| 81 | + animation-range: cover 10px cover 100px |
| 82 | +} |
| 83 | +@supports not (animation-range: cover) { |
| 84 | + .no-animations\:px-0 { |
| 85 | + padding-left: 0px; |
| 86 | + padding-right: 0px |
| 87 | + } |
| 88 | +}` |
0 commit comments