Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Научете повече

Firefox won't submit <form> in <iframe> if XHTML strict is on

  • 7 отговора
  • 6 имат този проблем
  • 3 изгледи
  • Последен отговор от Jakub Mareda

more options

Hello,

I discovered that Firefox ignores <iframe name="xxx"> for <form target="xxx"> if I set application/xhtml+xml as page content type.

See more here: http://stackoverflow.com/questions/18532115/posting-form-to-an-iframe-under-strict-xhtml-firefox

I believe this is a bug since other browsers behave the same way for either text/html or xhtml content type.


You can see live example here: http://u8.8u.cz/xhtmlform.php

Hello, I discovered that Firefox ignores <iframe name="xxx"> for <form target="xxx"> if I set application/xhtml+xml as page content type. See more here: http://stackoverflow.com/questions/18532115/posting-form-to-an-iframe-under-strict-xhtml-firefox I believe this is a bug since other browsers behave the same way for either text/html or xhtml content type. You can see live example here: http://u8.8u.cz/xhtmlform.php

Променено на от Jakub Mareda

Всички отговори (7)

more options

Maybe such bug is fixed in a newer version of firefox (you are running Firefox 21, somewhat behind in updates) see the article linked below for updating properly.

more options

Do you see any security errors in the Browser/Error Console (Firefox/Tools > Web Developer;Ctrl+Shift+J) or Web Console?

This might be because the src of the frame is set to about:blank.

more options

Please try the live example before posting worthless answers. It works when normal HTML mode is set.

more options

Please try the live example before posting worthless answers. It works when normal HTML mode is set. (sorry for double post - how do I delete it?. Forum UI is very confusing)

Променено на от Jakub Mareda

more options

Used the live example in Firefox 23, works in both modes.

more options

For me the strict example open in a new tab and not in the frame. This happens with the current Nightly build and the ESR 10 and ESR 17 versions as well (haven't tested other versions), but works with Google Chrome.

more options

@cor-el:

That's what I'm talking about. I wan't to know why it doesn't work properly and how to fix it.

Waka_Flocka_Flame:

Updating to 23.0.1 had no effect.

Променено на от Jakub Mareda