Re: [whatwg] iframe sandbox, object tag
On Mon, 07 Nov 2011 15:45:43 -0700, Ian Melven imel...@mozilla.com wrote: - although the HTML5 spec deprecates the frame tag, there's been a couple of people asking if frame will support @sandbox - thoughts and opinions here welcome, although this may be 'off topic' if the list is purely concerned with the HTML5 spec, please just let me know if so. It seems wrong to me to add new features to obsoleted features. If there are good reasons for using frame, maybe it should be made conforming. If there are no such reasons, there are no reasons either for adding new features to it. -- Anne van Kesteren http://annevankesteren.nl/
Re: [whatwg] iframe sandbox, object tag
On 11/9/11 9:25 AM, Anne van Kesteren wrote: It seems wrong to me to add new features to obsoleted features. If there are good reasons for using frame, maybe it should be made conforming. If there are no such reasons, there are no reasons either for adding new features to it. Well, there's implementation and conceptual simplicity. Saying that @sandbox works for all browsing contexts is a lot simpler than saying it works for a particular white- or black-list of tag names. -Boris
Re: [whatwg] iframe sandbox, object tag
On Wed, 09 Nov 2011 09:52:43 -0800, Boris Zbarsky bzbar...@mit.edu wrote: On 11/9/11 9:25 AM, Anne van Kesteren wrote: It seems wrong to me to add new features to obsoleted features. If there are good reasons for using frame, maybe it should be made conforming. If there are no such reasons, there are no reasons either for adding new features to it. Well, there's implementation and conceptual simplicity. Saying that @sandbox works for all browsing contexts is a lot simpler than saying it works for a particular white- or black-list of tag names. Given the way object sometimes creates a browsing context and sometimes not (e.g. for images) I think we already lost that kind of simplicity. And seamless/height/width do not make sense for frame and HTMLFrameElement has various features that HTMLIFrameElement does not. -- Anne van Kesteren http://annevankesteren.nl/
Re: [whatwg] iframe sandbox, object tag
- Original Message - From: Adam Barth w...@adambarth.com To: Jonas Sicking jo...@sicking.cc Cc: Ian Melven imel...@mozilla.com, whatwg@lists.whatwg.org Sent: Monday, November 7, 2011 10:50:22 PM Subject: Re: [whatwg] iframe sandbox, object tag On Mon, Nov 7, 2011 at 7:13 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Nov 7, 2011 at 2:49 PM, Adam Barth w...@adambarth.com wrote: - there's also a similar question about whether the object tag will (should) support @sandbox when using the form object type=text/html data=something.html (which is in the HTML5 spec) - thoughts and opinions also welcome here. That's probably a win too. Do people actually do this enough that it's worth spending time on? My concern here is that it might be confusing that @sandbox works for object when it contains a HTML page, but not when it contains a plugin. That's a good point. Maybe it would be best on frame but not on object. i think with the semantics of @sandbox on iframe and plugins, the interpretation of @sandbox in general on object could not help but be confusing - adding a case where it works for HTML doesn't seem to help here. so after this discussion, i agree: yes on frame no on object thanks ian
[whatwg] iframe sandbox, object tag
Hi, while implementing the IFRAME sandbox attribute, a couple of questions have come up : - although the HTML5 spec deprecates the frame tag, there's been a couple of people asking if frame will support @sandbox - thoughts and opinions here welcome, although this may be 'off topic' if the list is purely concerned with the HTML5 spec, please just let me know if so. - there's also a similar question about whether the object tag will (should) support @sandbox when using the form object type=text/html data=something.html (which is in the HTML5 spec) - thoughts and opinions also welcome here. thanks ! ian
Re: [whatwg] iframe sandbox, object tag
On Mon, Nov 7, 2011 at 2:45 PM, Ian Melven imel...@mozilla.com wrote: while implementing the IFRAME sandbox attribute, a couple of questions have come up : - although the HTML5 spec deprecates the frame tag, there's been a couple of people asking if frame will support @sandbox - thoughts and opinions here welcome, although this may be 'off topic' if the list is purely concerned with the HTML5 spec, please just let me know if so. That seems like a win. There's very little implementation effort needed to support that. - there's also a similar question about whether the object tag will (should) support @sandbox when using the form object type=text/html data=something.html (which is in the HTML5 spec) - thoughts and opinions also welcome here. That's probably a win too. Adam
Re: [whatwg] iframe sandbox, object tag
On Mon, Nov 7, 2011 at 2:49 PM, Adam Barth w...@adambarth.com wrote: - there's also a similar question about whether the object tag will (should) support @sandbox when using the form object type=text/html data=something.html (which is in the HTML5 spec) - thoughts and opinions also welcome here. That's probably a win too. Do people actually do this enough that it's worth spending time on? My concern here is that it might be confusing that @sandbox works for object when it contains a HTML page, but not when it contains a plugin. / Jonas
Re: [whatwg] iframe sandbox, object tag
On Mon, Nov 7, 2011 at 7:13 PM, Jonas Sicking jo...@sicking.cc wrote: On Mon, Nov 7, 2011 at 2:49 PM, Adam Barth w...@adambarth.com wrote: - there's also a similar question about whether the object tag will (should) support @sandbox when using the form object type=text/html data=something.html (which is in the HTML5 spec) - thoughts and opinions also welcome here. That's probably a win too. Do people actually do this enough that it's worth spending time on? My concern here is that it might be confusing that @sandbox works for object when it contains a HTML page, but not when it contains a plugin. That's a good point. Maybe it would be best on frame but not on object. Adam