1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00

oops: s/summary/spoiler/ hehe

thanks athena l.m.!
This commit is contained in:
Rohan Kumar 2023-11-12 14:15:20 -08:00
parent fca3cd567e
commit 890b7cceb5
No known key found for this signature in database
GPG key ID: 1E892DB2A5F84479
2 changed files with 2 additions and 2 deletions

View file

@ -61,7 +61,7 @@ Functionality such as find-in-page may indicate a match obscured by a "spoiler",
### Presentation
"details" is a block element; "spoiler" can be either an inline or block element. A few words within a paragraph can be hidden behind a "spoiler". "details" tends to work more effectively on larger sections of content. A "summary" should obscure content, but not the size of said content; it obscures content without removing it.
"details" is a block element; "spoiler" can be either an inline or block element. A few words within a paragraph can be hidden behind a "spoiler". "details" tends to work more effectively on larger sections of content. A "spoiler" should obscure content, but not the size of said content; it obscures content without removing it.
For printouts, behavior should mirror "details". Print hidden if it's hidden in the browser, and print revealed if it's been revealed in the browser.

View file

@ -115,7 +115,7 @@ Functionality such as find-in-page may indicate a match obscured by a spoiler, b
### Presentation
`details` is a block element; `spoiler` can be either an inline or block element. A few words within a paragraph can be hidden behind a spoiler. `details` tends to work more effectively on larger sections of content. A `summary` should obscure content, but not the size of said content; it _obscures_ content without _removing_ it.
`details` is a block element; `spoiler` can be either an inline or block element. A few words within a paragraph can be hidden behind a spoiler. `details` tends to work more effectively on larger sections of content. A `spoiler` should obscure content, but not the size of said content; it _obscures_ content without _removing_ it.
For printouts, behavior should mirror `details`. Print hidden if it's hidden in the browser, and print revealed if it's been revealed in the browser.