whatwg / meta

Discussions and issues without a logical home
Creative Commons Zero v1.0 Universal
93 stars 161 forks source link

href which targets iframe does not always work #230

Closed marvinschwartz closed 2 years ago

marvinschwartz commented 2 years ago

I have the following code which creates two links that target their output to an iframe. If you click the hp link followed by the ibm link they both open in the iframe however if you do this a second time they will open in a new tab not the iframe. Which is not what's supposed to happen.

I've tried this on several machines and browsers. ALso had other people reproduce. Any idea's? cheers


`<!DOCTYPE html>

Buggy code HP
IBM


`
marvinschwartz commented 2 years ago

code.txt ``

marvinschwartz commented 2 years ago

FYI my stack overflow post https://stackoverflow.com/questions/69782448/targeted-links-do-not-always-appear-in-iframe/69787206#69787206

domenic commented 2 years ago

This is not a support forum; StackOverflow is more appropriate.