Skip to content

Instantly share code, notes, and snippets.

Dmitriy Kubyshkin grassator

Block or report user

Report or block grassator

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@grassator
grassator / html-spec-titles.md
Last active May 29, 2020
Add sticky section headers to html spec
View html-spec-titles.md

1. Add the following URL to your bookmarks

javascript:(()%20%3D%3E%20%7B%20const%20style%20%3D%20document.createElement(%22style%22)%3B%20style.textContent%20%3D%20%22h5%20%7B%20position%3A%20sticky%3B%20top%3A%200%3B%20background%3A%20white%3B%20border-bottom%3A%201px%20solid%20%23eee%3B%20z-index%3A%20100%20%7D%20h6%20%7B%20position%3A%20sticky%3B%20top%3A%201.4em%3B%20background%3A%20white%3B%20border-bottom%3A%201px%20solid%20%23eee%3B%20z-index%3A%20101%20%7D%22%3B%20document.head.append(style)%3B%20%7D)()

To do that you can just bookmark current page and then change the bookmark URL to the javascript one above.

2. Go to https://html.spec.whatwg.org/multipage/parsing.html#determining-the-character-encoding

View gitversion.pri
# If there is no version tag in git this one will be used
VERSION = 0.1.0
# Need to discard STDERR so get path to NULL device
win32 {
NULL_DEVICE = NUL # Windows doesn't have /dev/null but has NUL
} else {
NULL_DEVICE = /dev/null
}
You can’t perform that action at this time.