Re: padding lost in overflow

On Sun, Jan 12, 2014 at 2:44 AM, Alan Gresley <alan@css-class.com> wrote:

> On 11/01/2014 10:25 PM, Robert O'Callahan wrote:
>
>> On Sat, Jan 11, 2014 at 11:24 AM, Tab Atkins Jr. <jackalmage@gmail.com
>> >wrote:
>>
>>  overflow:scroll is *not* just
>>> "overflow:visible, but we don't show the overflow and instead you can
>>> scroll to it"
>>>
>>
>>
>> No, that's exactly what it is in Gecko/IE (and the spec).
>>
>
> This spec does not define what happens to the padding-box. It does not
> state anywhere that the padding-box should be clipped so Gecko/IE can not
> be said to follow the spec where what is in question is undefined.


Gecko/IE are not "ciipping the padding box". Gecko and IE are simply
setting the padding-box to the same value regardless of the value of
'overflow' (except, when scrollbars are visible, its edges are moved in by
the scrollbar width).

Since the spec doesn't say 'overflow' should cause the padding-box to be
computed differently from normal (except for the scrollbar width detail),
the spec currently requires the Gecko/IE behavior.

Rob
-- 
Jtehsauts  tshaei dS,o n" Wohfy  Mdaon  yhoaus  eanuttehrotraiitny  eovni
le atrhtohu gthot sf oirng iyvoeu rs ihnesa.r"t sS?o  Whhei csha iids  teoa
stiheer :p atroa lsyazye,d  'mYaonu,r  "sGients  uapr,e  tfaokreg iyvoeunr,
'm aotr  atnod  sgaoy ,h o'mGee.t"  uTph eann dt hwea lmka'n?  gBoutt  uIp
waanndt  wyeonut  thoo mken.o w

Received on Saturday, 11 January 2014 20:24:21 UTC