Forgot your password?
typodupeerror

Comment: Re:It's the 1990s all over again. (Score 1) 161

by POWRSURG (#47812439) Attached to: New HTML Picture Element To Make Future Web Faster
This is not supported by Firefox because it violates the CSS spec Basically, replaced elements (img, video, iframe, etc) cannot be modified via the content property because they eliminate any ability to replace them with accessible content. For example, an image cannot be replaced by its alt text.

Comment: Re:iPads do support HTML5 (Score 1) 234

by POWRSURG (#45819359) Attached to: Is a Super-Sized iPad the Future of Education?

I assume the parent was referring to IE's use of pointer events instead of the touch events. While many may accuse Microsoft of trying to split the web, this move was most likely done for two reasons.

  1. Apple has been working to patent touch events
  2. The ability to simplify event handling with one type of event that is input method independent -- working for mouse, touch, and pen.

As a web developer I find the pointer event method to be technically superior to touch events. At present, patches to add pointer events to Blink-based browsers (the patch might have been added before the split from WebKit) and to Firefox exist, but I do not believe they have yet landed in other browsers. Sadly, with the lack of touch events it does bloat up code to support two different event models for touch browsers at this time.

Comment: Re:We're stuck on IE 6 or 8 here in business land (Score 1) 199

by POWRSURG (#45346841) Attached to: Google Ends Internet Explorer 9 Support In Google Apps
Then I guess it's a good thing that IE8+ actually lets you specify which version of IE (from 7 on up) to display a website (though it is harder in IE11). Microsoft learned from the backlash they received for breaking intranets when they released IE7 so this really should not be an issue for anyone anymore.

Comment: Re:Could it work as a runtime on other phones? (Score 2) 127

by POWRSURG (#44155013) Attached to: Firefox OS Smartphones Launching, But Will Anyone Buy One?
You can install Firefox on Android. The Firefox OS Marketplace can be accessed from said Firefox. You can install apps on there and and it will load the app using Firefox. This is the same rendering engine -- the same HTML5 app -- using the same everything from Firefox OS.

Comment: Re:Very few websites use srcset (Score 2) 99

by POWRSURG (#43881185) Attached to: Bug In Samsung S3 Grabs Too Many Images, Ups Data Use
When the standard has not been fully defined and is not working in any current browser, yes, I'm all for pushing the bar of HTML5. I actually bought one of the Firefox OS developer phones. It's great for those of us who want to experiment, but I wouldn't make a big case if browsers working on experimental features have bugs in them. Heck, I wasn't aware that srcset had even gotten to an experimental implementation stage yet. No one else has implemented it. Kudos to Samsung for starting on it.

Comment: Re:Hmmm (Score 1) 252

by POWRSURG (#43271525) Attached to: Testers Say IE 11 Can Impersonate Firefox Via User Agent String

Actually, IE's ability to use their old rendering engine only goes back as far as IE7, not IE6. It's funny, given that quirks mode is really IE5.5 rendering you can test every version of IE from 5.5 up except for IE6.

Going back to the VM solution, Windows 7 Professional users are allowed to download something Microsoft calls Windows XP mode (using Virtual PC) and can create their own VMs of XP that do not require you to purchase another license. If you truly need to test in IE6, IE7, and IE8 all you need do is run all of the updates for XP for IE6 but do not install IE7, then copy that VM and run the update to IE7 and run the updates for that but do not install IE8, and then create another copy where you upgrade to IE8.

Windows XP mode is not available on Windows 8. Yet another reason why businesses may hold out on upgrading ....

Comment: Re:And (Score 1) 118

by POWRSURG (#34305530) Attached to: Mozilla Plans Mobile App Store

If the developer opportunities are good, i'm in. Problem is, calling something an App Store doesn't really change things much if you're just giving people access to a web site. Maybe they're going to focus on local apps written in html+css+js?

What you're looking for are called W3C Widgets. W3C Widgets currently run on Opera, and Vodafone, while T-Mobile and the Nokia S60 have have near standard W3C Widget implementations. It looks like Android is working on it, but Apple is doing everything in their power to fight this (all while touting how great HTML5 is).

Comment: Re:W3C is the problem (Score 2, Informative) 205

by POWRSURG (#33810766) Attached to: W3C Says Don't Use HTML5 Yet

The bottleneck is mostly implementation, not standardization. For instance, Firefox 4 is going to be the first good implementation of HTML5 form enhancements, and those were first standardized in Web Forms 2.0 – in 2003. The spec hasn't changed all that much since then (although it has changed), and has been stable for years, but none of the major browsers gave it high enough priority to implement it well. Browser implementers have lots of things to do, like revamping UI and improving performance and security, and they can only implement so many standards per release. Then, of course, they report back all sorts of problems with the proposed standard, so it has to be changed, then changed again.

Correction -- Firefox 4 is going to be Firefox's first release that begins to support the HTML5 form enhancements. Opera has already supported those form enhancements since version 9.5.

Comment: Re:How about no? (Score 1) 74

by POWRSURG (#28831675) Attached to: Feds Seek Input On Cookie Policy For Government Web Sites

What about Web sites that send cookies using the HTTPonly flag so that cookies aren't readable via JavaScript?

Have the Feds, or any other major service, looked at using DOM Storage as an alternative to cookies? DOM Storage allows for more data to be stored, and it removes extra data being transferred via every HTTP request. Yes, it is only available in modern browsers, but that need not stop its use, or at least making policy towards its use.

Comment: eBay and MySpace? (Score 3, Insightful) 160

by POWRSURG (#28521523) Attached to: New Firefox Standard Aims to Combat Cross-Site Scripting

CSP is effectively server-side NoScript. And it isn't exactly new either. This has been in development as a Firefox extension for at least a year. The article mentions it being first crafted back in 2005.

The issue I take with this article is that they suggest this feature could even possibly be integrated into eBay or MySpace. These two giants seem like the exact opposite type of market that would use this -- any site that allows users to post their own data is not going to possibly survive the wrath they would catch if users had to explicitly allow the domains they want scripts to run on. For a corporate Web site yes, but for something for the masses or those of us that run a CMS? I don't see that as happening anytime soon.

Comment: Re:Yahoo has a good page, too (Score 2, Interesting) 106

by POWRSURG (#28453277) Attached to: Google To Promote Web Speed On New Dev Site

I am honestly torn on the idea of CSS sprites. While yes, they do decrease the number of HTTP requests, they increase the complexity of maintaining the site. Recently, Vladimir VukiÄeviÄ pointed out how a CSS sprite could use up to 75MB of RAM to display. One could argue that a 1299x15,000 PNG is quite a pain, but in my experience sprites end up being pretty damned wide (or long) if you have images that will need to be repeated or are using a faux columns technique.

Some times it gets to be a better idea to make a few extra initial requests, then configure your server to send out those images with a far future expires header (which you should do for the sprite anyway). At that point you're just talking about the initial page request, and then subsequent visits get the smaller sized. With one site I am working on the initial page view is hitting 265 KB on the initial view, 4.75 KB for the next month.

I don't see this mentioned anywhere, but Google has already switched to the HTML5 Doctype. It is much shorter the other flavors.

Comment: Re:Google Analytics? (Score 1) 52

by POWRSURG (#27707451) Attached to: Google Analytics API Goes Public
  1. Defer, though being a part of the HTML 4.01 spec, is only supported by IE. And even if other browsers supported it they could not use it because they need to know that the content had been loaded before they execute the tracking code.
  2. The vast majority of developers just copy and paste the code as given. This code is an internal script tag that derives the protocol that is currently being used to then refer to the HTTP or HTTPS file using document.write, and then a second internal script tag that starts the tracking using your unique id while inside of a try/catch block.

Comment: Re:Google Analytics? (Score 1) 52

by POWRSURG (#27705211) Attached to: Google Analytics API Goes Public

Honestly, I believe Google is trying to piss people off with Google Analytics. First the code that they present that every developer just copies and pastes because Google tells them to loads the code in a blocking manner, and then a little while back they have turned off gzip compression so they file took even longer to transfer. Heck, I'd forgive them for the second if they would at least update the code they tell developers to copy and paste to load GA in a non-blocking manner. Yeah, it's a bit more code to tell developers to add to their pages, but the improved user experience makes it worth the extra few bytes. All you need to do is create a script element with the src attribute pointing to the URL for the via JavaScript, append the DOM node to the head, and then create a timer that checks to see if the GA code has finished transferring (which you'll know by testing to see if _gat is undefined) before you run initialize your tracking code, then kill the timer.

Scientists are people who build the Brooklyn Bridge and then buy it. -- William Buckley

Working...