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…
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…
> drops all resolved CSS rules on element, its siblings, its parent and all children. Browsers optimize this, too - they try hard to keep up metadata structures that tell them whether they need to invalidate styling or…
Saying "People have different opinions" about nazi bullshit is kindergarten-level analysis. Nazis are bad. Racists are bad. Claiming these "opinions" are equivalent to any other is childish and immature. Grow up and…
> He's the guy who wasted a decade writing an ASCII-art based "template layout module"[1], which he was never able to persuade a single browser vendor to implement. It eventually got demoted from a working draft to a…
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…
As a very busy CSSWG member... I agree. There are a number of benefits to the current structure, but I highly suspect that if the web were invented today, styling would a JS-mediated aspect of the DOM, not something…
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…
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…
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…
If there are any problems, it's because you're using an old browser. (As far as I know.) The iPhone browser definitely counts as "old". ^_^ In particular, a bunch of browsers don't support specifying background-size in…
As bkardell said, math is in CSS now with calc() http://dev.w3.org/csswg/css3-values/#calc-notation Color manipulation will be in Colors level 4, whenever I get the time to work on it (probably early next year).
Syntax isn't frozen. Here's another possibility: :root { $header-color: #06c; } h1 { background-color: $header-color; } (Note that the spec's use of the :root pseudo is just to generically declare "global" variables…