Sign in or Join FriendFeed
FriendFeed is the easiest way to share online. Learn more »

Aaron Gustafson › Comments

Aaron Gustafson
Re: Apple's Web - TimKadlec.com - http://timkadlec.com/2015...
"Here here! Awesome post Tim. You echo my sentiments exactly!" - Aaron Gustafson
Aaron Gustafson
Re: Who Should Pay?, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"If you're really arguing over a few milliseconds the first time someone ever visits your website, I think you're missing a lot of existing low hanging fruit in your performance-for-users crusade. Certainly, which is why I mentioned minification and such. But it all adds up. A few hundred milliseconds here or there… As Ovid said: “dripping hollows out the rock”." - Aaron Gustafson
Aaron Gustafson
Re: Who Should Pay?, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"Everything goes in cycles." - Aaron Gustafson
Aaron Gustafson
Re: Who Should Pay?, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"I’m sure it will be faster, but the fundamental questions still stands: even if the cost is only a few milliseconds, if I don’t really need it and I am simply saving myself time—by essentially only doing the same thing I do in a preprocessor today, not taking advantage of the dynamic stuff—it’s not a tradeoff I think we should be making." - Aaron Gustafson
Aaron Gustafson
Re: Who Should Pay?, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"Variables are not just runtime. They are dynamic and can be updated via JavaScript. Also they can be reinterpreted when class names change." - Aaron Gustafson
Aaron Gustafson
Re: Who Should Pay?, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"I would have to defer to people implementing the spec on the caching side of things. I don’t know that things like calc() and variables would be cached since they are dynamic (which is the whole point)." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Agreed. Although the "When should I use X" only becomes an issue when it is fundamentally necessary for the design to be understandable. An example of this might be a less than perfect source order that is "fixed" (design wise) using Flexbox. Browsers that don’t implement Flexbox (or version 273 of the syntax) won’t get that fix. But with other improvements like rounded corners or transitions, the user doesn’t suffer if the declarations are ignored by a browser that does not implement that feature." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"I think this is a really good example of how CSS variables can be used responsibly. Thank you for bringing it up! The reason these work is that there is a sensible default set of colors shown which are then overridden with CSS variables. This is 100% necessary for backward compatibility. With icons, it’s perfect: the baseline colors will work, the custom colors are an enhancement. I wish I could upvote your comment more than once :-)" - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"It’s funny, prior to this comment thread taking off, I had never even considered variables for JavaScript purposes. I’m still chewing on that a bit. I can see the convenience, but I’m still not sure it has any benefit over class toggling." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Ah, but JavaScript execution is never guaranteed. Plus, it’s an additional tax on the user (download & performance wise) to polyfill the solution. I’ve been there and now I try to avoid it if possible." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"My mistake. I was in a rush and just kinda skimmed the first screen I saw. I’ll take a look at PostCSS too." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"True enough. It’s all in how you use the tech. One example where this could lead to issues if you’re not careful is with color contrast (foreground vs. background)." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"your reasoning here is by far the worst thing in the world Wow. If this is the worst thing you’ve ever seen, your life must be peaches :-) If we used your backward compatibility reasoning for everything we wouldn't have HTML5 or CSS3 and we would never push the bar to make the CORE language better. It would always be up to external companies like the preproccessors in order to make css better. Not to mention, that those companies can't put in new properties to help push web design even further. Not so. HTML and CSS use the principle of fault tolerance to allow for and foster evolution of the language. For a detailed look at that, read this." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Yup, I use it. But that’s a post-processor that is still on the build side. I’m all for that." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Ah, but the examples you provide (with the possible exception of flexbox, depending on how you use it) are not going to cause issues with older browsers. If a browser doesn’t understand border-radius, it gets square corners. No biggie. If it doesn’t understand color: var(--foreground-color), it gets no color at all. This could be an issue if, say, your background color was defined literally as #000 and the foreground color was a variable. Older browsers would composite black text on a black background. That’s an accessibility issue (and not really great for your brand either)." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"I am not against embracing the future, I’m against sacrificing the past. I don’t want to break older browsers. I’m fine with giving them a lower-fidelity experience though." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"It’s an interesting idea, but the W3C abandoned WebDB because it was essentially making a spec dependent on a 3rd party product. I don’t know if it would fly." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"I wrote this one: http://ecsstender.org/ (see the comment, above)" - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Yeah, I wrote a polyfill library—eCSStender—back in 2005 and refined it from then through 2012 or so. It worked marvelously, but it was expensive (processing wise). And without JS, it failed to work. I haven’t touched it since." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Backward compatibility aside, I think the CSS variables spec (at least as it stands currently) suggests a syntax that is not terribly human-readable which is another guiding principle for CSS. I also worry that we are overcomplicating our CSS (which is meant to be a design language) with logic and programming. It’s not that I am against simplifying the creation of complex (or mind-numbingly boring) CSS constructs—I love SASS for that very reason—I’m just not sure that CSS is the place I want to do that. It’s a pickle though, because if SASS or Less or whatever goes away, we may no longer be able to produce the actual CSS files we want from the original source files. I’m not sure what the answer is, but I am not happy with this one from the CSS Working Group at present." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"I’m not saying progress is bad. Take Media Queries for example. They add to the CSS cannon without breaking backward compatibility. You can use Media Queries and the contents just aren’t given to older browsers. True, you could abuse that, but you can also use them to create progressively-enhanced experiences (e.g. linear mobile layouts for all non-MQ-aware browsers, and responsive layouts for modern ones). This is not possible with the CSS variable spec as it stands." - Aaron Gustafson
Aaron Gustafson
Re: CSS Variables Are a Bad Idea - http://aaron-gustafson.com/noteboo...
"Not at all. Browsers ignore what they don't understand (fault tolerance is central to how HTML and CSS are parsed). You can make an awesome site using HTML5 and CSS3 and it will still work in NN4.7. That's exactly why we could transition to using CSS in the first place. Unstyled content is still usable. Columns are not necessary to grok content." - Aaron Gustafson
Aaron Gustafson
Re: What CSS Variables Can Do That Preprocessors Can’t - http://www.sitepoint.com/css-var...
"Like a few of you here, I’m not really a CSS variable fan. I think they break the backward-compatibility that is the cornerstone of the Web’s success. I wrote about it here: http://aaron-gustafson.com/not..." - Aaron Gustafson
Aaron Gustafson
Re: Ch-ch-ch-changes, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"You are too kind Jeffrey. Let’s talk (and hug) soon!" - Aaron Gustafson
Aaron Gustafson
Re: Ch-ch-ch-changes, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"Thank you Lydia!" - Aaron Gustafson
Aaron Gustafson
Re: Ch-ch-ch-changes, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"Thank you!" - Aaron Gustafson
Aaron Gustafson
Re: Adaptive Images in ExpressionEngine With CE Image - http://aaron-gustafson.com/noteboo...
"True enough. But sometimes its difficult to know what you need when you are building out the CMS itself. When you do, Channel Images is perfect, but if not (or if the templating people are not the CMS admin people) CE Image caches, so the processing should only happen once." - Aaron Gustafson
Aaron Gustafson
Re: Sending Birthday Well-wishes to Molly, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"You’re getting me all misty… I’m so glad you are hanging in there though. You’re one tough cookie and I believe you can and will get through this. I can only imagine what you are going through, but I am hopeful that things will improve soon. I love you Molly!" - Aaron Gustafson
Aaron Gustafson
Re: The Linkblog, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"Thanks. It took a little work, but I got the links set up. The pagination stuff was a bit of a beast and I also had to write a Rake task to move the links into the subfolder. But now we’re good." - Aaron Gustafson
Aaron Gustafson
Re: What Do We Own?, From the Notebook of Aaron Gustafson - http://aaron-gustafson.com/noteboo...
"Interesting…" - Aaron Gustafson
Other ways to read this feed:Feed readerFacebook