CSS Grid has just been uplifted to Firefox 52 Developer Edition. With Chrome (and hopefully Safari and Edge) implementations coming shortly, using grid to build websites will soon be possible in release browsers across the board. Grid allows users to decouple HTML from layout concerns, expressing those concerns exclusively in CSS. Reducing the risks of fragility, code bloat, and high maintenance costs inherent in how we currently build on the web, grid really does have the potential to change the way we do layouts.
The easing (or timing function) of an animation is what dictates the way it progresses through time. For example, a linear easing means that an animation runs at the same speed throughout its duration. This means that if an element isn’t moving at first and then starts to move, it will do so instantly, as […]
Firefox Developer Tools now includes a completely redesigned Responsive Design Mode (RDM for short) that’s just landed in Firefox Developer Edition, thanks to hard work from the DevTools team. In a mobile-first world, it’s essential to prioritize performance for low-bandwidth and offline mobile experiences and design progressive web apps that can deliver across a range […]
If you’re a regular reader of Hacks, you probably know about Rust, the ground-breaking, community-driven systems programming language sponsored by Mozilla. I covered Rust on Hacks back in July, to note a major milestone for Mozilla, when we shipped Rust in Firefox for the first time. Meanwhile in Rust-land, the trains keep on rolling, more […]
The Mozilla Push Service now offers the capability to provide topics for notification messages. This means that any user agent subscribed to the application will only be provided with the last message in a topic when it returns from an offline state.
requestIdleCallback support has landed in Firefox Nightly, with plans to ship in Firefox 52.
Historically, there's been no way for scripts to "play nice" with user interaction and page rendering, leading to choppy frame rates and laggy input. Obviously, I wouldn't be writing this post if that were still true!
Since the last WebAssembly milestone we reached in March, we’ve been hard at work in the WebAssembly Community Group to define a standard and to implement that standard in our respective browsers. I’m happy to say now that we have a binary format release candidate and there are compatible implementations already in trunk SpiderMonkey and […]
Laptops, computers, smartphones, tablets, TVs, even fridges have one thing in common — they can probably run a browser, so you can probably play an HTML5 game on them. Rendering the game on screen is one thing, but you also have to control it somehow, and there are plenty of different options suited for various […]
The draft of Indexed Database API 2.0 is almost complete, providing several new APIs for fine-grained access to IndexedDB. The good news is that all these new APIs are implemented in Firefox and will be available in the release of Firefox 51 (currently available in Developer Edition, scheduled for general release in January 2017). In […]
serviceworke.rs is a compendium of common and uncommon Service Worker use cases including push examples, usage patterns, performance tips and caching strategies. Service Worker Cookbook recipes are presented as playgrounds or labs, with fully functional client-server setups, where you can learn and experiment with results using in-browser developer tools. Still, the cookbook is far from […]