html - Why does Chrome not redirect using meta refresh -


an application work has pl/sql package creates page , uses function create meta tags.

it creates webpage meta tag :

 <meta http-equiv="refresh" name="refresh" content="1; url=paymentsubmit.html"> 

the problem chrome not name="refresh" attribute. not redirect page, although redirect in ie , firefox

if remove name attribute, looks works in browsers :

 <meta http-equiv="refresh" content="1; url=paymentsubmit.html"> 

what's going on here? can't find w3c standard meta redirect, every browser make it's own rules ? i'm not sure if ever worked in chrome, since never heard bug reports assume used work in chrome.

anyone have similar problem ?

thanks

if check the w3c wiki can find following quote:

exactly 1 of name, http-equiv, , charset attributes must specified.

it mean's not valid html both - name , http-equiv attributes set.

read this w3c's html , xhtml techniques test on meta refresh:

find meta elements in document. each meta element, check if contains attribute http-equiv value "refresh" (case-insensitive) , content attribute number greater 0 followed ;'url=anyurl' (where anyurl stands uri should replace current page).

the behavouir of other browsers not wrong, chrome more strict.

more details correct behavouir - , valid reference - available @ http://www.w3.org/tr/html5/document-metadata.html#attr-meta-http-equiv-refresh


Comments

Popular posts from this blog

java - WrongTypeOfReturnValue exception thrown when unit testing using mockito -

php - Magento - Deleted Base url key -

android - How to disable Button if EditText is empty ? -