Closed Bug 263814 Opened 20 years ago Closed 20 years ago

Disabled target="blank" in frameset should be replaced by target="_top"

Categories

(Core :: Disability Access APIs, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: bugmail-mozilla, Assigned: aaronlev)

References

()

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.3) Gecko/20040917 Firesalamandre/0.10.1 (Moox/M3 Tous vos Firefox/0.10.1 seront Firebidulisés (http://smilissimo.free.fr/Firebidule.php))
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr-FR; rv:1.7.3) Gecko/20040917 Firefox/0.10.1

Annoying target="_blank" can be disabled turning the pref
browser.block.target_new_window to true. In Firefox there is now an UI for this,
so I guess lot of people will use it.

If you go to a frameset and if a link has the target="_blank" attribute, it will
open in the same frame, and will perhaps not be readable.

Reproducible: Always
Steps to Reproduce:
1. Disable target="blank" if it is not already done, setting the pref
browser.block.target_new_window to true (with about:config).
2. Go to the page http://traduiretolkien.free.fr/ for example.
3. Click on the "Forum" link at the top right corner of the page.

Actual Results:  
Link opens in the same frame, i.e. the page is too small and cannot be read. In
order to read it you must open it in a new tab/window or right click for
contextual menu > this frame > show only this frame.

Expected Results:  
The frameset should have been replaced automatically and the page opened in the
same full window/tab.

It is possible to replace a frameset using target="_top". It means :

"The user agent should load the document into the full, original window (thus
canceling all other frames). This value is equivalent to _self if the current
frame has no parent."
( http://www.w3.org/TR/html4/types.html#type-frame-target ).

It would be interesting if Mozilla could automatically detect these
target="_blank" in framesets and replace them by target="_top".

Alternatively we could set the default behaviour of _blank into _top, as
target="_top" will not work in non-frameset pages.
Attached file testcase
Hm, I just tried this with FF 1.0 PR. Looks like it is fixed already. Someone busy?

I followed those steps and the forum opened as the _top window.

Confirm?
Oops...
It seems to be related with Tabbrowser Extensions :-[ I tried to disable it ant
it works correctly !

Do someone know where to report TBE bugs ?
Somewhere on the tbe page?
http://white.sakura.ne.jp/~piro/xul/_tabextensions.html.en

Anyway, closing as invalid.
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: