Similar to bug 58465, but I'm opening a separate bug for this because I'm not sure if we're wrong. (The spec is unclear on this point, or if the spec is clear, I haven't found the right sentence to prove one way or the other.) Mozilla throws in this case, but WebKit does not, so someone is definitely wrong.
Created attachment 89429 [details] test case
Spec says that several things can be the empty string, but this is not one of them. Compiling patch.
Created attachment 90927 [details] patch + layouttest
Discussion with SickingJ leads to the conclusion that the spec will be changed to explicitly ALLOW name to be an empty string. Closing this bug. http://lists.w3.org/Archives/Public/public-webapps/2011AprJun/0349.html