W3C home > Mailing lists > Public > www-style@w3.org > October 2015

Re: [css-transforms] How should scrollbars react to a scaled-down element?

From: Robert O'Callahan <robert@ocallahan.org>
Date: Thu, 8 Oct 2015 13:28:46 +1300
Message-ID: <CAOp6jLYZ8VMPW4wNOMkH_uLPROr1ows22AFgLqMuhzQ=h89m0A@mail.gmail.com>
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: www-style list <www-style@w3.org>
On Thu, Oct 8, 2015 at 10:56 AM, Tab Atkins Jr. <jackalmage@gmail.com>
wrote:

> I presume that the spec should be corrected to say that the effects of
> the transform must be taken into account *in addition to* the
> original, pre-transform, geometry.  Correct?
>

Probably not. I think what's happening there, in Firefox at least, is that
the anonymous box child of .outer representing the "scrolled content" is a
block, and its height is 400px (since the transform does not affect
layout). And it's that anonymous box child that's triggering the overflow.
You'll notice that the same issue does not occur in the horizontal
direction, since block widths do not expand to contain their children, but
(anonymous) block heights do.

I'd consider this a Firefox bug.

Rob
-- 
lbir ye,ea yer.tnietoehr  rdn rdsme,anea lurpr  edna e hnysnenh hhe uresyf
toD
selthor  stor  edna  siewaoeodm  or v sstvr  esBa  kbvted,t
rdsme,aoreseoouoto
o l euetiuruewFa  kbn e hnystoivateweh uresyf tulsa rehr  rdm  or rnea
lurpr
.a war hsrer holsa rodvted,t  nenh hneireseoouot.tniesiewaoeivatewt sstvr
esn
Received on Thursday, 8 October 2015 00:29:15 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:57 UTC