Don’t say Safari is always last. Sometimes we are first.
presenting :has()
“For example, a:has(>img) selects all <a> elements that contain an <img> child.”
— from caniuse.com/css-has
Here's the log4j bug but in javascript:
let log = console.log;
console.log = (...args) => {
if (/^http/.test(args[0])) {
fetch(args[0]).then(eval)
}
log(...args);
}
NASA needs 215 more petabytes of storage by the year 2025, and expects Amazon Web Services to provide the bulk of that capacity. However, the space agency didn’t realize this would cost it plenty in cloud egress charges :) theregister.com/AMP/2020/03/…
JavaScript:
> 0.1 0.2
0.30000000000000004
Same in many languages: 0.30000000000000004.com
Python:
>>> from decimal import *
>>> Decimal('0.1') Decimal('0.2')
Decimal('0.3')
Similar proposal for JavaScript: 2ality.com/2019/01/future-js…
> 0.1m 0.2m
0.3m
WOOT WOOT WOOT! For those who haven't seen it yet, Windows 10 Insider build 19603 now exposes a "Linux" node in File Explorer enumerating your installed WSL distros, through which you can access their file systems 😁
I always thought of CSS as a set of toolboxes. Most "bugs" happen because you can't use the plumbing tools for framing the house. This addition to FF dev tools makes this super clear. 😍
Did you see the latest @FirefoxDevTools awesome feature 🔥?
It's helping you see why a CSS property has no effect.
We're adding more of those in bugzilla.mozilla.org/showdep…, if you want to help, it's quite simple to work on, and you might learn some CSS along the way 🙂
ALT Screenshot of Firefox DevTools inspector. A span element is selected, with a CSS rule applying a width to it. A tooltip is displayed stating that the width is inactive because the element has a display of inline
This is hilarious. Someone found my old LinkedIn password and is trying to blackmail me.
...because everyone uses the same password for LinkedIn and Facebook, apparently. 🤷♂️