How should the meta refresh URL resolve? #7332
Labels
interop
Implementations are not interoperable with each other
needs tests
Moving the issue forward requires someone to write tests
When a web page
https://example.com/page
has the following content, what should the meta refresh target be for each case?case 1
In Firefox 94, it's
https://example.com/target.html
.In Chromium 95, it's
https://example.com/subdir/target.html
.case 2
In Firefox 94, it's
https://example.com/target.html
.In Chromium 95, it's
https://example.com/target.html
.case 3
In Firefox 94, it's
https://example.com/target.html
.In Chromium 95, it's
https://example.com/subdir/target.html
.It seems that Firefox resolves a meta refresh using the initial base URL.
Chromium resolves a meta refresh using the current base URL. However, if the time of a meta refresh is 0, Chromium resolves the meta refresh at the time the tag is loaded, and, as a result, all following
<base>
s are not taken into account.What is the expected behavior by the web standard? I have read https://html.spec.whatwg.org/#attr-meta-http-equiv-refresh, but failed to understand what should happen in such cases.
The text was updated successfully, but these errors were encountered: