MCPcopy Create free account
hub / github.com/chokcoco/iCSS / getAnimationBrowserSupport

Method getAnimationBrowserSupport

MCP/scripts/fetch-issues.js:939–960  ·  view source on GitHub ↗
(code)

Source from the content-addressed store, hash-verified

937 }
938
939 getAnimationBrowserSupport(code) {
940 const support = {
941 chrome: '支持',
942 firefox: '支持',
943 safari: '支持',
944 edge: '支持',
945 ie: '部分支持'
946 };
947
948 // 检查新特性支持
949 if (code.includes('@property') || code.includes('backdrop-filter')) {
950 support.safari = '部分支持';
951 support.ie = '不支持';
952 }
953
954 // 检查动画特性
955 if (code.includes('animation') || code.includes('@keyframes')) {
956 support.ie = 'IE10+ 需要前缀';
957 }
958
959 return JSON.stringify(support);
960 }
961
962 analyzeLayoutPattern(code) {
963 const analysis = [];

Callers 1

analyzeCodePatternsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected