iframe for Tumblr controls breaks XHTML validation
The following snippet of code, located right before the closing body-tag, breaks XHTML validation, due to the fact that 'border' and 'allowTransparency' are not valid attributes.
Additionally, the source document of the iframe contains the following errors:
line 6 column 10 - Error: end tag for "head" which is not finished
line 9 column 10 - Error: required attribute "type" not specified
line 9 column 10 - Error: document type does not allow element "style" here
It would be nice to have this fixed, since most of the errors seem pretty simple to correct. Even better would be to drop the iframe altogether, since it belongs in the 90's together with the VCR and fanny packs ;)
Thank you for your time.
Regards,
Martin
http://thesmilingpenguin.com
<!-- BEGIN TUMBLR CODE -->
<iframe src="http://www.tumblr.com/dashboard/iframe?src=http%3A%2F%2Fthesmilingpenguin.com%2F" border="0" scrolling="no" width="278" height="25" allowTransparency="true" frameborder="0" style="position:absolute; z-index:1337; top:0px; right:0px; border:0px; background-color:transparent; overflow:hidden;" id="tumblr_controls"></iframe>
<!-- END TUMBLR CODE -->
Additionally, the source document of the iframe contains the following errors:
line 6 column 10 - Error: end tag for "head" which is not finished
line 9 column 10 - Error: required attribute "type" not specified
line 9 column 10 - Error: document type does not allow element "style" here
It would be nice to have this fixed, since most of the errors seem pretty simple to correct. Even better would be to drop the iframe altogether, since it belongs in the 90's together with the VCR and fanny packs ;)
Thank you for your time.
Regards,
Martin
http://thesmilingpenguin.com
18
people have this problem
I have this problem, too!
Tell me when someone solves it.
The more people who report this problem, the more it gets noticed.
The more people who report this problem, the more it gets noticed.
Create a customer community for your own organization
Plans starting at $19/month
-
Inappropriate?I've given up on validation for a while now, but I do think it's a very worthwhile effort, and could be dissuading some potential users. In addition to the iframe issues presented, audio/video encoding is also invalid - (though, I understand writing a Javascript wrapper in the template system would be difficult)
Thanks- -
Inappropriate?It really shouldn't be too hard to rewrite the iframe markup to something that is valid in all versions of html and xhtml.
Or have it just add a div instead of an iframe (since iframes are not valid for xhtml strict.
if it is essential to have it as an iframe then it could be just a div with the id of "tumbrcode" and then a simple javascript to add it since the html validators ignore changes via javascript.
I’m sad because it should be a simple fix.
-
Inappropriate?Hey, I had almost forgotten about this thread. Anyway, this is easy to fix - just do something like this:
<style type="text/css">
#tumblr-bar {
position: absolute;
top: 0;
right: 0;
z-index: 9999;
background: red;
}
</style>
<div id="tumblr-bar">
Oh, hai. I'm a Tumblr bar!
</div>
-
Inappropriate?Yes, this should be fixed. Super easy fix. Please do it. Thanks in advance.
I’m Happy this will be so easy to fix
-
Inappropriate?+1 to fix this one.
I like clean and validating pages =)
I’m concerned about how this problem should be solved by now
-
Inappropriate?I agree with this! There are simple ways to fix it. Users who don't care won't be affected by it and users who do will be extremely grateful!
I’m peeved
-
Inappropriate?Does anyone from Tumblr.com read these things? I've not seen any progress on this... i mean, tumblr's a great service but little things like this annoy me...
You get a service/site that's 95% perfect and then that last little 5% just stares at you.
I’m sad because it's been months...
-
Inappropriate?I agree, this should be fixed. It is simple to fix and it will show respect to the w3c's job.
I’m waiting
Loading Profile...









