It is currently Sat Dec 02, 2017 4:16 pm Advanced search
zcorpan wrote:How about making target=_blank and window.open() without specified size open in a new tab while window.open() with specified size opens in a window? Would that work?
Could you elaborate on what these use cases are?BorekB wrote:I believe that there are genuine use cases for both new windows and tabs even in "normal window mode" (i.e. no explicit width/height)
But the author can't possibly know whether the user wants to read something now or later, and help popups generally have specified width/height.BorekB wrote:Each behavior has its common use case – for instance, tabs are useful for content that you want to read later while new windows can be useful for help pop-ups etc.
zcorpan wrote:Could you elaborate on what these use cases are?BorekB wrote:I believe that there are genuine use cases for both new windows and tabs even in "normal window mode" (i.e. no explicit width/height)
So how's the author to know what the user's preference is? Can't you as a user instead decide how you want to open a link when you follow a link, like, say, click if you want to open in the same tab and middle-click or ctrl-click to open in a new tab?BorekB wrote:The point is that currently web developers don't have any way to instruct the browser to open a link in a new tab and as I tried to explain above, user preference in the browser settings does not always work (because my preference might be different for different web pages or even for different links on the same page).
Well, Opera opens _blank links in tabs by default. Browsers with tabs generally also have a way for the user to open normal links in tabs so there's really no need for GReader to implement this "shortcut".BorekB wrote:One concrete example where this causes problems to me as a user is Google Reader (as mentioned in the first post). In a tabbed browser, one possible usage pattern in GReader is to quickly browse through all the new posts and open the ones of your interest into new tabs that you will read later. GReader supports this scenario with a 'v' shortcut which opens the link in a new window. Because this is unnatural in a tabbed browser, it is suggested that you modify your browser's behaviour to open _blank-type links to new tabs instead.
Isn't it better to have site-specific prefs in the browser than to give authors the power to decide for you whether you want windows or tabs?BorekB wrote:I don't like this as a user - I'm changing my global preference just to make one application more pleasant to work with (not to mention that many users will have hard times finding this setting in the browser configuration). If there was something like target="_tab", GReader could implement this behaviour seamlessly. Or it could provide an option in GReader settings which would basically mean that I could set the user preference for just this one website -- and I would love to be able to do that.
It explains the problem a bit better but I'm not convinced that _tab is a good solution to the problem. By the way, you haven't explained what the use-cases are for authors being able to open both tabs and windows with unspecified size.BorekB wrote:I hope that this explains the benefits of adding target="_tab" a little better.
Yes, but it is not a guarantee that the editors will respond to it. If you want that you should post to whatwg@whatwg.org. Anyone can of course forward discussions here to the list, and I've done so a few times in the past.BorekB wrote:By the way, is this forum a good place to propose new features?
Some people read only the mailing list, some read only the forum, some read both, and others read neither.BorekB wrote:Is this read by the same people as in the mailing list?
zcorpan wrote:So how's the author to know what the user's preference is? Can't you as a user instead decide how you want to open a link when you follow a link, like, say, click if you want to open in the same tab and middle-click or ctrl-click to open in a new tab?BorekB wrote:The point is that currently web developers don't have any way to instruct the browser to open a link in a new tab and as I tried to explain above, user preference in the browser settings does not always work (because my preference might be different for different web pages or even for different links on the same page).
zcorpan wrote:Well, Opera opens _blank links in tabs by default. Browsers with tabs generally also have a way for the user to open normal links in tabs so there's really no need for GReader to implement this "shortcut".BorekB wrote:One concrete example where this causes problems to me as a user is Google Reader (as mentioned in the first post). In a tabbed browser, one possible usage pattern in GReader is to quickly browse through all the new posts and open the ones of your interest into new tabs that you will read later. GReader supports this scenario with a 'v' shortcut which opens the link in a new window. Because this is unnatural in a tabbed browser, it is suggested that you modify your browser's behaviour to open _blank-type links to new tabs instead.
zcorpan wrote:Isn't it better to have site-specific prefs in the browser than to give authors the power to decide for you whether you want windows or tabs?BorekB wrote:I don't like this as a user - I'm changing my global preference just to make one application more pleasant to work with (not to mention that many users will have hard times finding this setting in the browser configuration). If there was something like target="_tab", GReader could implement this behaviour seamlessly. Or it could provide an option in GReader settings which would basically mean that I could set the user preference for just this one website -- and I would love to be able to do that.
zcorpan wrote:It explains the problem a bit better but I'm not convinced that _tab is a good solution to the problem. By the way, you haven't explained what the use-cases are for authors being able to open both tabs and windows with unspecified size.BorekB wrote:I hope that this explains the benefits of adding target="_tab" a little better.
I guess that's fair enough.BorekB wrote:As an example, if there was a print preview functionality in GReader, it might be reasonable to open this in a new window (that's what most websites with similar functionality do). At the same time, opening blog posts might make more sense with new tabs.
zcorpan wrote:I guess that's fair enough.BorekB wrote:As an example, if there was a print preview functionality in GReader, it might be reasonable to open this in a new window (that's what most websites with similar functionality do). At the same time, opening blog posts might make more sense with new tabs.
http://lists.whatwg.org/pipermail/whatw ... 15006.html
Return to Feedback on the Specs
Users browsing this forum: No registered users and 0 guests