[webkit-dev] Making top-level style changes through window.internals

2011-09-29 Thread Fady Samuel
Hi all, pageScaleFactor is a document level CSS scaling style. Often times, we'd like to be able to apply style at the document level when writing layout tests. As far as I'm aware, there's no way to do this in javascript in a layout test? Is this correct? If so, would anyone object to exposing

Re: [webkit-dev] Making top-level style changes through window.internals

2011-09-29 Thread Adam Roben
On Sep 29, 2011, at 11:37 AM, Fady Samuel wrote: pageScaleFactor is a document level CSS scaling style. Often times, we'd like to be able to apply style at the document level when writing layout tests. As far as I'm aware, there's no way to do this in javascript in a layout test? Is this

Re: [webkit-dev] Making top-level style changes through window.internals

2011-09-29 Thread Simon Fraser
On Sep 29, 2011, at 8:41 AM, Adam Roben wrote: On Sep 29, 2011, at 11:37 AM, Fady Samuel wrote: pageScaleFactor is a document level CSS scaling style. Often times, we'd like to be able to apply style at the document level when writing layout tests. As far as I'm aware, there's no way to

Re: [webkit-dev] Making top-level style changes through window.internals

2011-09-29 Thread W. James MacLean
All of this discussion started with my wanting to write a layout test that changes pageScaleFactor, without incurring scroll bars in the process. The documentElement.style method below seems to be able to change, for example, background colour, but it doesn't seem to work for