On Sun, Dec 28, 2014 at 10:22:49AM +0100, Johannes Hofmann wrote:
On Sat, Dec 27, 2014 at 09:51:21PM +0100, Johannes Hofmann wrote:
Hi,
On Sat, Dec 27, 2014 at 08:27:41PM +0000, higuita wrote:
Hi!
Look at the food icons in the table: http://dont-starve-game.wikia.com/wiki/Crock_Pot but i was looking a wrong example, i don't see the <script> here, just the <noscript>, making this harder to fix Yes, it's not clear to me that dillo's doing anything incorrect in that example.
I contacted wikia and they replied with this:
Rappy, Dec 27 07:32 AM
Hello,
Thanks for contacting Wikia. It seems that your browser is also stripping the CSS that should be supplied when JavaScript doesn't load. This CSS file ( http://slot1.images.wikia.nocookie.net/__cb1419252955/common/extensions/wiki... ) should hide the double image issue you are seeing.
I will be filing a ticket, based on this, with our engineers to see if enclosing the first image in a <script> tag for these types of browsers is an option. Thanks for bringing this to our attention.
Timothy Collins Community Technical Support
So should dillo follow this css and we have a bug or is not supported yet?
The mentioned stylesheet isn't loaded, as it is referenced from the body, not from the head section which is not allowed. See e.g. http://www.w3schools.com/tags/tag_link.asp
Hm, for some reason firefox with Javascript disabled seems to disagree with me. I'll check how firefox loads ImageLazyLoadNoScript.css.
Ok, firefox seems to load stylesheets from the body section. See [1] for a discussion whether this is allowed. Attached is a small test case that illustrates how dillo and firefox handle this case differently. Cheers, Johannes [1] http://stackoverflow.com/questions/4957446/load-external-css-file-in-body-ta...