惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
博客园 - 聂微东
大猫的无限游戏
大猫的无限游戏
IT之家
IT之家
月光博客
月光博客
博客园_首页
Jina AI
Jina AI
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
AWS News Blog
AWS News Blog
S
Securelist
T
Tailwind CSS Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
罗磊的独立博客
D
Docker
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Apple Machine Learning Research
Apple Machine Learning Research
Scott Helme
Scott Helme
H
Help Net Security
Project Zero
Project Zero
P
Proofpoint News Feed
D
DataBreaches.Net
Recorded Future
Recorded Future
Simon Willison's Weblog
Simon Willison's Weblog
V2EX - 技术
V2EX - 技术
The Cloudflare Blog
Hugging Face - Blog
Hugging Face - Blog
I
Intezer
Engineering at Meta
Engineering at Meta
The Register - Security
The Register - Security
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
I
InfoQ
酷 壳 – CoolShell
酷 壳 – CoolShell
雷峰网
雷峰网
S
Secure Thoughts
GbyAI
GbyAI
U
Unit 42
Blog — PlanetScale
Blog — PlanetScale
T
Threat Research - Cisco Blogs
The Last Watchdog
The Last Watchdog
Y
Y Combinator Blog
F
Fortinet All Blogs
博客园 - Franky
T
The Blog of Author Tim Ferriss
Hacker News: Ask HN
Hacker News: Ask HN
Microsoft Security Blog
Microsoft Security Blog
Stack Overflow Blog
Stack Overflow Blog
S
Security @ Cisco Blogs
Cyberwarzone
Cyberwarzone

鬼影的基地

CVE-2025-61638:Sanitizer::validateAttributes data-XSS 萌娘百科水平越权漏洞 萌娘百科头像魔术字 IP 泄露 萌娘百科评论区 IP 泄露 修复 iPhone 13 iOS 16 Safari 中的 Bug 命名空间 在 CSS 中进行数据类型转换 在 iOS 的 Apple Mail 中添加 QQ邮箱 CodeMirror url() Bug 在 macOS 上部署 Viper CSS 自适应简单 Table CSS 像素画的方法
Safari animation Bug
鬼影233 · 2026-06-02 · via 鬼影的基地

前言

没啥好说的,众所周知 Safari 作为新时代 IE,Bug 一大堆。

另,本人未提报此 Bug。为什么?因为它是 Safari。

实例

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.spin {
	transform: rotate(0deg);
	animation: spin 10s linear infinite forwards paused -2s;
}

简介

只是一个简单的被暂停的动画,但是在 Safari 上动画不会暂停在 -2s 的位置,而是 0s 的位置。

解决方案

方案一

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
.spin {
	animation: spin 10s linear infinite forwards paused -2s;
}

更加简单但可能不适用一些情况。

方案二

@keyframes spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
.spin {
	animation: spin 10s linear infinite forwards paused -2s;
}

适用于更多情况,但代码可能更多。

方案三

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
@keyframes fade-in {
	to {
		opacity: 1;
	}
}
.spin {
	transform: rotate(0deg);
	opacity: 0;
	animation: spin 10s linear infinite forwards paused -2s,
		fade-in 1s ease-out forwards;
}

增加另一个 animation-play-staterunning 的动画。