Re: [whatwg] Iframe dimensions

2010-11-16 Thread Markus Ernst
Am 16.11.2010 00:32 schrieb Ian Hickson: On Wed, 11 Aug 2010, Markus Ernst wrote: Am 11.08.2010 00:24 schrieb Ian Hickson: On Mon, 5 Jul 2010, Markus Ernst wrote: [...] Example: http://test.rapid.ch/de/haendler-schweiz/iseki.html (This is under construction.) As a workaround to the height

Re: [whatwg] Iframe dimensions

2010-11-16 Thread Tab Atkins Jr.
On Tue, Nov 16, 2010 at 12:02 AM, Markus Ernst derer...@gmx.ch wrote: From my humble author's POV, CORS is easy enough for tasks like the one I mentioned, if: - it is applicable at the server side with common scripting languages such as PHP It is, very easily. For pages that are already

Re: [whatwg] Iframe dimensions

2010-11-16 Thread Boris Zbarsky
On 11/16/10 12:56 PM, Tab Atkins Jr. wrote: - it is applicable at the client side without scripting This is not possible, for the simple reason that the whole point of CORS is to protect server resources. If you could deal with CORS purely on the client side, you'd be allowing the page author

Re: [whatwg] Iframe dimensions

2010-11-16 Thread Tab Atkins Jr.
On Tue, Nov 16, 2010 at 10:06 AM, Boris Zbarsky bzbar...@mit.edu wrote: On 11/16/10 12:56 PM, Tab Atkins Jr. wrote: - it is applicable at the client side without scripting This is not possible, for the simple reason that the whole point of CORS is to protect server resources.  If you could

Re: [whatwg] Iframe dimensions

2010-11-16 Thread Markus Ernst
Am 16.11.2010 19:12 schrieb Tab Atkins Jr.: On Tue, Nov 16, 2010 at 10:06 AM, Boris Zbarskybzbar...@mit.edu wrote: On 11/16/10 12:56 PM, Tab Atkins Jr. wrote: - it is applicable at the client side without scripting This is not possible, for the simple reason that the whole point of CORS is

Re: [whatwg] Iframe dimensions

2010-11-15 Thread Ian Hickson
On Wed, 11 Aug 2010, Markus Ernst wrote: Am 11.08.2010 00:24 schrieb Ian Hickson: On Mon, 5 Jul 2010, Markus Ernst wrote: [...] Example: http://test.rapid.ch/de/haendler-schweiz/iseki.html (This is under construction.) As a workaround to the height problem, I applied a script that

Re: [whatwg] Iframe dimensions

2010-08-11 Thread Markus Ernst
Am 11.08.2010 00:24 schrieb Ian Hickson: On Mon, 5 Jul 2010, Markus Ernst wrote: [...] Example: http://test.rapid.ch/de/haendler-schweiz/iseki.html (This is under construction.) As a workaround to the height problem, I applied a script that adjusts the iframe height to the available height in

Re: [whatwg] Iframe dimensions

2010-08-11 Thread Adam Barth
On Wed, Aug 11, 2010 at 8:05 AM, Markus Ernst derer...@gmx.ch wrote: Am 11.08.2010 00:24 schrieb Ian Hickson: On Mon, 5 Jul 2010, Markus Ernst wrote: Example: http://test.rapid.ch/de/haendler-schweiz/iseki.html (This is under construction.) As a workaround to the height problem, I applied a

Re: [whatwg] Iframe dimensions

2010-08-11 Thread Anne van Kesteren
On Wed, 11 Aug 2010 19:03:28 +0200, Adam Barth w...@adambarth.com wrote: On Wed, Aug 11, 2010 at 8:05 AM, Markus Ernst derer...@gmx.ch wrote: A solution at authoring level for cases where the author controls both pages would be quite helpful. I think of a meta element in the embedded

Re: [whatwg] Iframe dimensions

2010-08-10 Thread Ian Hickson
On Mon, 5 Jul 2010, Markus Ernst wrote: I found that the dimensions of the iframe element are handled along with those of other embedded content such as img, video and others: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-width There is no

Re: [whatwg] Iframe dimensions

2010-07-07 Thread Markus Ernst
Am 06.07.2010 22:41 schrieb Ashley Sheridan: On Tue, 2010-07-06 at 16:17 -0400, Aryeh Gregor wrote: On Tue, Jul 6, 2010 at 6:49 AM, Markus Ernst derer...@gmx.ch mailto:derer...@gmx.ch wrote: My problem is this sentence in the spec for seamless: This will cause links to open in the parent

Re: [whatwg] Iframe dimensions

2010-07-07 Thread Aryeh Gregor
On Tue, Jul 6, 2010 at 4:41 PM, Ashley Sheridan a...@ashleysheridan.co.uk wrote: Could you explicitly call the _self target in links in the frame? I wasn't sure if the target attribute was going or not, but I'd expect target=_self to override the default seamless action. It doesn't. The

Re: [whatwg] Iframe dimensions

2010-07-06 Thread Markus Ernst
Am 05.07.2010 22:50 schrieb Aryeh Gregor: On Mon, Jul 5, 2010 at 1:13 PM, Markus Ernst derer...@gmx.ch wrote: Some content from an external specialized content provider is included in an existing web site via an iframe. This cannot be seamless, as the links in the iframe must point to the

Re: [whatwg] Iframe dimensions

2010-07-06 Thread Aryeh Gregor
On Tue, Jul 6, 2010 at 4:40 AM, Markus Ernst derer...@gmx.ch wrote: Thank you and Boris for your examples. I see the security issues. Anyway It would be very helpful in cases like mine, where security and privacy are not affected, to get an easy way to do this opt-in without the need of complex

Re: [whatwg] Iframe dimensions

2010-07-06 Thread Markus Ernst
Am 06.07.2010 12:31 schrieb Aryeh Gregor: On Tue, Jul 6, 2010 at 4:40 AM, Markus Ernst derer...@gmx.ch wrote: Thank you and Boris for your examples. I see the security issues. Anyway It would be very helpful in cases like mine, where security and privacy are not affected, to get an easy way to

Re: [whatwg] Iframe dimensions

2010-07-06 Thread Aryeh Gregor
On Tue, Jul 6, 2010 at 6:49 AM, Markus Ernst derer...@gmx.ch wrote: My problem is this sentence in the spec for seamless: This will cause links to open in the parent browsing context. In an application like http://test.rapid.ch/de/haendler-schweiz/iseki.html, the external page should be able

Re: [whatwg] Iframe dimensions

2010-07-06 Thread Ashley Sheridan
On Tue, 2010-07-06 at 16:17 -0400, Aryeh Gregor wrote: On Tue, Jul 6, 2010 at 6:49 AM, Markus Ernst derer...@gmx.ch wrote: My problem is this sentence in the spec for seamless: This will cause links to open in the parent browsing context. In an application like

[whatwg] Iframe dimensions

2010-07-05 Thread Markus Ernst
Hello I found that the dimensions of the iframe element are handled along with those of other embedded content such as img, video and others: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html#attr-dim-width There is no indication about what a UA should do when

Re: [whatwg] Iframe dimensions

2010-07-05 Thread Adam Barth
On Mon, Jul 5, 2010 at 10:13 AM, Markus Ernst derer...@gmx.ch wrote: First, this sounds somehow complicated to me, and second, I don't understand why the dimensions of non-seamless iframes should not get the  benefits of author-friendly (and user-friendly) dimension handling. One of the

Re: [whatwg] Iframe dimensions

2010-07-05 Thread Markus Ernst
Am 05.07.2010 19:24 schrieb Adam Barth: On Mon, Jul 5, 2010 at 10:13 AM, Markus Ernst derer...@gmx.ch wrote: First, this sounds somehow complicated to me, and second, I don't understand why the dimensions of non-seamless iframes should not get the benefits of author-friendly (and

Re: [whatwg] Iframe dimensions

2010-07-05 Thread Aryeh Gregor
On Mon, Jul 5, 2010 at 1:13 PM, Markus Ernst derer...@gmx.ch wrote: Some content from an external specialized content provider is included in an existing web site via an iframe. This cannot be seamless, as the links in the iframe must point to the original domain of the included document. But

Re: [whatwg] Iframe dimensions

2010-07-05 Thread Boris Zbarsky
On 7/5/10 12:37 PM, Markus Ernst wrote: I can't imagine how the information about the computed width and height can be abused - would you mind giving an example? Sure. For example, you can often use this to detect whether the user is currently logged into the site in the iframe, which is a