grzchr15 / spriteme

Automatically exported from code.google.com/p/spriteme
0 stars 0 forks source link

SpriteMe bookmarklet doesn't work for pages being fully xHTML compliant using the application/xhtml+xml content-type #51

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. A page starting with the following header snippet doesn't allow the
spriteme bookmarklet to work:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<meta http-equiv="content-type" content="application/xhtml+xml;
charset=utf-8" />
.
.

What is the expected output? What do you see instead?

I expect the spritme bookmarklet to load. Instead, Firebug clearly
indicates a script element being created in the header section, empty, as
follows:
<script>
</script>
What version of the product are you using? On what operating system?
I've tested with Firefox 3.5.3, and Safari 4.0.3, both on a Mac BookPro,
OSX 10.6.1

Please provide any additional information below.

The indicated page header snippet for this bug report is used for web pages
that must pass XHTML 1.1 fully at http://validator.w3.org/check.

Original issue reported on code.google.com by peter.la...@gmail.com on 15 Sep 2009 at 9:06

GoogleCodeExporter commented 9 years ago
Alternatively, serving xhtml transitional as application/xml+xhtml doesn't work 
either, in Opera 10.00 or Firefox 3.0.14. I have to hack my webserver to use 
this 
cool tool.

Original comment by themarky...@gmail.com on 18 Sep 2009 at 6:22

GoogleCodeExporter commented 9 years ago
Anyone?

Original comment by peter.la...@gmail.com on 27 Oct 2009 at 8:59

GoogleCodeExporter commented 9 years ago
It's been awhile since I posted this. Wondering if anyone else has had similar
experiences, or maybe a comment of any kind.
Thanks,
/Peter

Original comment by peter.la...@gmail.com on 24 Mar 2010 at 10:10

GoogleCodeExporter commented 9 years ago
Same here.

Original comment by francois...@gmail.com on 6 Oct 2010 at 3:34