TabAtkins
- Karma
- 49
- Created
- June 13, 2012 (14y ago)
- Submissions
- 0
I work at Google and am a member of the CSS Working Group and a few others (SVG, HTML, WebApps, etc.). I'm the editor for several CSS specs, including Image Values, Values & Units, Flexbox, and Variables.
Homepage is http://xanthir.com. Blog is http://xanthir.com/blog. Twitter is @tabatkins.
[ my public key: https://keybase.io/tabatkins; my proof: https://keybase.io/tabatkins/sigs/hC-Sok8TKSuyb_bb9cSU6uZxkXZQI0PXjSmrI1-5Nb0 ]
Fwiw, while I deeply appreciate WebKit supporting the proposal as well, the editors of the Nesting spec are Googlers and the Chrome impl happened at the same time.
Depending on the exact parsing strategy it might be genuinely required (such as if the parser switches from "property mode" to "rule mode" at some point), but in this case it was just because it's kinda confusing to do…
Notably, this is identical to the behavior you get from @scope's nesting, and from passing a complex selector to an `el.querySelector()`. (We discussed adopting Sass's behavior in…
Or search engines, which are a special case of disabled users.
"Anne" is a male name in the Netherlands. (I don't know if it can also be a female name there, but this Anne is definitely male.)
The CSS 'contain' property helps ensure that local changes don't cause dirtiness to spread higher up the tree. <https://drafts.csswg.org/css-containment/> I know Chrome has an implementation that I think is still moving…
I mean, okay, maybe, but that just means that they'd be hosting a conference about "nazis suck" and hey, I'm okay with that. That's a message I can get behind.
"Just add native support for jQuery and call it a day" "Just add native support for React and call it a day" We can do lots of amazing things in the ecosystem, but often we're working around missing primitives in the…
That's exactly what you can do. var() is replaced at computed-value time, so calling gCS().color will return "red" or whatever. If you use an API that gives you the value at an earlier time, like el.style.color (which…
Yeah, CSSNext here is basically the intersection of CSS variables and Sass variables - you can only use them in property values (like CSS), and you can only declare them at top-level (like Sass). It's nice if you really…
If I'd done what everyone keeps saying I should have done and just used $foo, then Sass would have gotten angry at me, because we'd be sharing syntax for different features. We already tweaked CSS a little to avoid that…
Properly, the --foo stuff is a Custom Property. You can use its value as a variable, with var(), but it's not the only use custom properties have. That's why the spec's full name is "CSS Custom Properties for Cascading…
lolololol obvious troll is obvious "i disagree with you, thus you must be lying about your experience and actually unworthy of doing your job, unlike me, the superior being" go get your diaper changed
Yeah, setting an explicit aspect-ratio is on the roadmap. The relevant people (me and fantasai) have too many other layout-related things on our plate atm to deal with it, but it'll show up in the next year or two.
CSS selectors always select "down the tree". Or, read in reverse (from right to left), evaluating them only requires information from further up the tree. In HTML, "further up the tree" corresponds exactly to "earlier…
Both, either. ^_^ Having wrapping behavior split the way it is today is wrong - either all of it should be in white-space, or none of it should be. (Moving it all out into a separate property is probably best, so…
Yes, that's the point. ^_^ IE's "'width' sizes the border box" behavior was the better behavior. This was very early in the CSSWG's life, tho, and the group as a whole was less mature, so it didn't value back-compat and…
CSS layout is about two things - the relationship between an element and its parent (and its siblings to a lesser extent). It's specified in two halves: the parent lays down general dictates about how its children will…
I assume you mean property names, because keywords are all over the place and don't have anything to do with colons. It's just a separator between the two semantic halves of a declaration. It could just be a space, but…
We have variables now <https://drafts.csswg.org/css-variables/> so it's not a mistake that needs a time machine.
trolololol The term "blend mode" is a term of art in the industry, yes. But "mode" is always redundant - lots of properties switch "modes", particularly the ones with keyword values. For example, we could have had…
It is, still. You want separation between your paragraphs and other elements; you don't want the first and last children of a box to be separated from the edges of that box. Margin-collapsing does that (sibling boxes…
The srcset attribute by itself can't do what you ask; it only lets you specify multiple resolutions of an image, all (intended to be) the same size. But wait for implementation to finish, and you'll be able to use the…
You, um, know that Selectors is one of the few specs without naming problems, right? Its url is "selectors4". As well (partially as a result of me writing this blog post), we're looking into changing our URL structure,…
We already have this: http://www.whatwg.org/specs/web-apps/current-work/multipage/...