Thomas Steiner (@tomayac)

Hamburg, Germany

The below is an off-site archive of all tweets posted by @tomayac ever

September 11th, 2020

@simevidas @webkit “Override any of the styling applied by the user-agent stylesheet”?

via Twitter for iPhone in reply to simevidas

@sulco It’s called Text Fragments. Learn everything about this here: web.dev/text-fragments/.

via Echofon in reply to sulco

passle_ 🎉 New blog

The year is 2020. Service workers are still rocket science. Humanity still hasn’t nailed service worker updates. The search continues.

dev.to/thepassle/on-p…

via Twitter Web App (retweeted on 3:53 PM, Sep 11th, 2020 via Echofon)

For people thinking this comes out of nowhere: it doesn’t. Here’s the in-flux spec: wicg.github.io/sanitizer-api/.

via Twitter for iPhone in reply to tomayac

Wow, the HTML Sanitizer API is a useful potential Web platform addition:

const safe = (new Sanitizer()).sanitize(`
<script>
alert(“pwned 😈”)
</script>
<p>Harmless 👼</p>
`);
safe.children.length;
// 1
safe.children[0];
// <p> twitter.com/freddyb/status…

via Echofon

🤔 Every so often I encounter @webkit bugs that really make me go wonder…

“`html
<button type=button>
<img src=”foo.png” width=99 height=99 alt=”“>
</button>
“`

The image’s dimensions are ignored on iOS Safari.

Bugbugs.webkit.org/show_bug.cgi?i…qm
Demimage-in-button.glitch.mepic.twitter.com/b40gHVDj7H

via Twitter Web App