feat: have all emojis respect prefers-reduced-motion (#962)
This commit is contained in:
parent
97a02ef837
commit
95dda1fdb6
3 changed files with 46 additions and 15 deletions
|
@ -58,12 +58,16 @@ exports[`content-rich > code frame no lang 1`] = `"<p><pre class=\\"code-block\\
|
|||
|
||||
exports[`content-rich > custom emoji 1`] = `
|
||||
"Daniel Roe
|
||||
<img
|
||||
src=\\"https://media.mas.to/masto-public/cache/custom_emojis/images/000/288/667/original/c96ba3cb0e0e1eac.png\\"
|
||||
alt=\\":nuxt:\\"
|
||||
class=\\"custom-emoji\\"
|
||||
data-emoji-id=\\"nuxt\\"
|
||||
/>
|
||||
<picture alt=\\":nuxt:\\" class=\\"custom-emoji\\" data-emoji-id=\\"nuxt\\"
|
||||
><source
|
||||
srcset=\\"
|
||||
https://media.mas.to/masto-public/cache/custom_emojis/images/000/288/667/static/c96ba3cb0e0e1eac.png
|
||||
\\"
|
||||
media=\\"(prefers-reduced-motion: reduce)\\" />
|
||||
<img
|
||||
src=\\"https://media.mas.to/masto-public/cache/custom_emojis/images/000/288/667/original/c96ba3cb0e0e1eac.png\\"
|
||||
alt=\\":nuxt:\\"
|
||||
/></picture>
|
||||
"
|
||||
`;
|
||||
|
||||
|
|
|
@ -48,12 +48,16 @@ const a = hello
|
|||
|
||||
exports[`html-parse > custom emoji > html 1`] = `
|
||||
"Daniel Roe
|
||||
<img
|
||||
src=\\"https://media.mas.to/masto-public/cache/custom_emojis/images/000/288/667/original/c96ba3cb0e0e1eac.png\\"
|
||||
alt=\\":nuxt:\\"
|
||||
class=\\"custom-emoji\\"
|
||||
data-emoji-id=\\"nuxt\\"
|
||||
/>
|
||||
<picture alt=\\":nuxt:\\" class=\\"custom-emoji\\" data-emoji-id=\\"nuxt\\"
|
||||
><source
|
||||
srcset=\\"
|
||||
https://media.mas.to/masto-public/cache/custom_emojis/images/000/288/667/static/c96ba3cb0e0e1eac.png
|
||||
\\"
|
||||
media=\\"(prefers-reduced-motion: reduce)\\" />
|
||||
<img
|
||||
src=\\"https://media.mas.to/masto-public/cache/custom_emojis/images/000/288/667/original/c96ba3cb0e0e1eac.png\\"
|
||||
alt=\\":nuxt:\\"
|
||||
/></picture>
|
||||
"
|
||||
`;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue