W3C home > Mailing lists > Public > whatwg@whatwg.org > February 2014

Re: [whatwg] iframe scrolling attribute

From: Ian Hickson <ian@hixie.ch>
Date: Fri, 28 Feb 2014 23:27:16 +0000 (UTC)
To: whatwg@whatwg.org
Message-ID: <alpine.DEB.2.00.1402282314530.32463@ps20323.dreamhostps.com>
On Thu, 9 Jan 2014, Mats Palmgren wrote:
>
> The current spec[1] for the scrolling attribute of [i]frame elements 
> does not reflect what is implemented by a majority of UAs.  We intend to 
> change Firefox to implement the behavior of IE/Chrome/Safari and would 
> like to see the spec changed to describe that behavior.
> 
> There are two major problems with the current spec:
> 1. mapping scrolling=yes (and synonyms) to overflow:scroll
> 2. the mapped overflow value being a presentational hint
> 
> Only Firefox implements 1 (we intend to change that[2]). None of the 
> four UAs mentioned implements 2.
> 
> The spec should instead say that scrolling=no (and synonyms) suppress 
> scrollbars for the [i]frame viewport, and that any other value have no 
> effect.

I think what the spec used to have makes a lot more sense, but if there's 
a compat need, fair enough.

   http://html5.org/r/8517

Note that Chrome/Safari don't seem to support "off" and "noscroll", only 
"no". I didn't test IE. The spec supports all three, still (as does FF).

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 28 February 2014 23:28:26 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 17:00:16 UTC