Invisible Pink Unicorns - a Firefox emoji rendering bug

by @edent | # # # # # | 7 comments | Read ~133 times.
The upper image is partially transparent. The lower image is completely opaque.

Here's a curious bug I just discovered in Firefox 67 for Linux. Can you see this unicorn: →🦄 ← What happens if you use CSS to change the opacity of an emoji? Here's a unicorn, with a pink font colour: 🦄 Unicorn Let's wrap that in this scrap of CSS to make it 50% opaque.… Continue reading →

textarea placeholder bug in Firefox

by @edent | # # # # | Read ~266 times.
Screenshot - the text is rendered on a single line

The new Firefox is out! Powered by the ludicrous-speed quantum engine - it really is a marvel to behold. Unfortunately, there's a rather annoying bug in the way it renders placeholder text. Consider the following HTML: <textarea placeholder="In loving memory of Buffy Anne Summers She saved the world A lot..."></textarea> This should render a textarea… Continue reading →

RTL Bugs

by @edent | # # # # # | Read ~1,264 times.

Take a look at the following text, looks normal enough doesn't it? "Harry ‮".draziw a si ‭Potter Now, try to select the text and see what happens. WHAT WITCHCRAFT IS THIS?! If you examine the source code for this page, you'll see that I'm using the Unicode Bi-Directional characters. "Harry &#x202e;".draziw a si &#8237;Potter These… Continue reading →

Malicious Use of the HTML5 Vibrate API

by @edent | # # # # # # # # | 43 comments | Read ~102,009 times.

There is a new API in town! HTML5 will (soon) let you make the user's device vibrate. What fun! Obviously, it's useful for triggering alerts, improved immersivness during gameplay, and all sorts of other fun things like sending Morse Code messages via vibration. At the moment, Chrome (and other Android browsers) ask for permission before… Continue reading →

Browser Statistics of 10 Downing Street

by @edent | # # # # | 9 comments | Read ~119 times.

It's really difficult cutting through the hype to see which browsers one should support when designing a website. There are many different measures of popularity - but many sites are only visited by techies, or only ever visited when at work, or are skewed towards the young or the old. Yesterday morning I asked the… Continue reading →