Boris,
I modified the page to use script as you suggested and the bug is evident 
without user interaction.
http://www.jigzone.com/xmockup/bugs/resizeTestFF.php

Now are there any volunteers to fix the bug?
I would have a go myself but it might take me months to set it up and figure 
it out.

-Adam.


"Boris Zbarsky" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> agb5 wrote:
>> I have a simple test case, but the bug is visible only then the browser 
>> window is resized.
>> Also the bug depends on the width of an element being set in javascript 
>> onload.
>> Can the automated layout regression tests system handle such a complex 
>> case ?
>
> It can't really do window resizing well.  It _can_ handle things happening 
> onload.
>
> Do you see the bug if you change the width of the body via script instead 
> of resizing the browser window?  So something like:
>
> // do onload stuff
> document.body.offsetWidth;  // flush out layout
> // modify width of body via document.body.style.width = "200px" or 
> whatever
>
>> What is the best way to add this code as a standard regression test?
>
> If there's a web page that shows the bug without user interaction, it can 
> just be added to the regression tests.
>
> -Boris 


_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to