[Webkit-unassigned] [Bug 47514] CSS transforms should affect scrolling

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Oct 12 13:08:17 PDT 2010


https://bugs.webkit.org/show_bug.cgi?id=47514





--- Comment #7 from Dean Jackson <dino at apple.com>  2010-10-12 13:08:17 PST ---
(In reply to comment #5)
> (In reply to comment #3)
> > I wouldn't hesitate about fixing the scrollIntoView-transformed test. I think I wrote that, and wasn't completely sure it was testing everything I was trying to fix at the time.
> 
> Hi Dean! Thanks for the input. You did write that test, so it's good to know you didn't have something else in mind that is now broken.

I should add that I also wasn't sure exactly what was correct behaviour vs existing behaviour at the time :)

That's why the test is so pathetic.

> 
> (In reply to comment #4)
> > I'm not so sure that transformed elements should always participate in the scrollbariness of content. I worry that this fix will cause elements that intentionally off the page to cause scrollbars to appear. eg. what will happen if I translateX(-1000px) ?
> > 
> > (note that I didn't apply the patch so I'm not sure if your fix will actually do what I fear :)
> 
> The patch only adds scrollbars when the transformed content moves off of the right or bottom edge of the screen. In this way, it matches, say, absolutely positioned content. If an element is positioned absolutely to start at a negative coordinate, then scrollbars are not added, but they are for positive coordinates that are beyond the current window. And that's what this patch does for transformed content as well.

OK. That still means transforms off the bottom and right will now cause scrollbars to appear, which could be a big change to existing content. I agree it is the right thing to do though (people should overflow:hidden if they don't want that behaviour)

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list