Launching remote debugging in Google Chrome Mac OS X
So while I was on vacation for Wedding Week, Google done went and made an announcement about new Chrome developer tools. It includes a fancy new remote debugging feature. I will explain to you how to...
View ArticleXHR2 + CORS Slides, some AppCache-fu, OpenWebCamp, and Opera News
For the June meeting of the HTML5 & CSS3 LA User Group, I spoke about XMLHttpRequest, Level 2 and Cross-Origin Resource Sharing headers. It’s always tough to present code. That goes double when you...
View ArticleOpera Turbo and IP address blocking
IP-based blocking is sometimes necessary when abuses are coming from a particular location. However, for users of proxy servers — such as those using Opera’s Turbo feature or Opera Mini — blocking one...
View ArticleBroken or Jumpy CSS Transitions? Use the same unit of length
I came across an issue recently while trying to transition from left: 30px to left: 50%. The transition appeared to work, but it wasn’t smooth and transition-like. It was jumpy. Worse yet, another item...
View ArticleLooping video in browsers that don’t yet support the loop attribute
To date, Firefox does not yet support the loop attribute of the <video> element. This snippet is a simple work-around. Once the video’s ended event is fired, it calls the play method. For more,...
View ArticleHTML5 for AS3 Developers: cross-domain.xml and Cross-Origin Resource Sharing
This is the second post in an occasional series designed to bridge the gap between ActionScript 3.0 and emerging front-end technologies. Flash, like JavaScript, more-or-less adheres to a same-origin...
View Articleinput type="url", validation and user interfaces
Recently a friend messaged me about the url input type, and how to prevent Opera from automatically prepending http:// to the value of a URL input field if it is missing. I think I’ve found a...
View Articleinput type="range" and Android’s stock browser.
Android’s stock browser supports the range input type, but in versions 3.x4.x and below (not sure about Android 4.x), it doesn’t actually display the UI. It does, however, support parts of the Shadow...
View ArticleOn Mobile Web Development, Part 2: Stop building WebKit-only sites
Following-up on my mobile web development post from last week, we have Daniel Glazou, co-chair of the CSS Working Group outlining the scope of the -webkit-prefix problem. Go read his post Call for...
View ArticleWordPress Mobile Pack and Opera Mobile
WordPress Mobile Pack in Opera Mobile (top) versus WebKit-based mobile phones (bottom) There’s a minor incomaptibility between WordPress Mobile Pack and Opera Mobile. Opera Mobile is served a slightly...
View ArticleToying with CSS Filter Effects
A screen shot of what a photo looks like with a hue-rotation filter applied. I spent this weekend getting my feet wet with CSS Filter Effects, in particular, the filter functions. They’re easy and fun...
View ArticleStriped border bug on transformed elements in ≤ Opera 12.02
Opera’s border rendering on elements with a rotate transform applied. Opera 12.02 (and older versions with support for transforms) has a rendering bug in which borders of elements that have a rotation...
View ArticleMeet the datalist element
UPDATE: Browsers vary a bit in how they render datalists based on the type of form input. Eiji Kitamura has a demo that illustrates how they all work. One of my favorite parts of HTML5 forms is the...
View Article@supports API lands in Firefox Nightlies
This is old(ish) news to those of you who have been paying attention: support for the @supports API — CSS.supports() — landed in Firefox late last month. So far, a complete implementation is only...
View ArticleWebKit is not a cure-all
Let me say this up front: I don’t know what Opera has up its sleeve. I’m sure you’ve heard some things. But it’s not hard to find people who think everyone — meaning Opera, Microsoft, and Mozilla —...
View ArticleSmoothing jagged edges on transformed objects in Firefox
Transformed elements in Firefox sometimes appear with jagged edges. The anti-aliasing isn’t as smooth as what you find in Webkit-based browsers or Internet Explorer (Figure 1). Figure 2. An image with...
View ArticleMedia queries in SVG and background-size
By now, you probably know it’s possible to use media queries in SVG. As with media queries in HTML documents, you can use CSS to adjust layout — or in this case, things like stroke and fill — based on...
View ArticleExpected Identifier bug in Internet Explorer 8
While working on a client project, I ran into an error in Internet Explorer 8. That’s not the most helpful or descriptive error in the world, so I was a bit thrown for a loop. What’s more, a Google...
View ArticleRange controls and padding in IE10+
While working on a video player for a forthcoming book, I noticed a peculiar spacing issue with <input type=”range”> that affected the layout of this player. Internet Explorer does something a...
View ArticleDate input in HTML5: Restricting dates, and a thought for working around...
You probably know that HTML5 introduced a date input type, which constrains the value to a valid date string. <input type=”date”> largely eliminates the need for JavaScript-based date pickers...
View Article