Re: [rspec-users] I want RSpec for CSS layout.

2008-08-31 Thread Matt Wynne
On 30 Aug 2008, at 19:56, Ashley Moran wrote: On Aug 30, 2008, at 4:58 pm, Matt Wynne wrote: I have been in a few pub conversations now about 'photoshop-driven- development' where we show the machine what the page should look like (a photoshop mock-up), and keeps failing the build until we

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-30 Thread Joseph Wilk
I do some CSS testing through selenium and screw-unit-server. Mainly checking what the style properties of certain dom elements are after executing some JavaScript. I use selenium-grid to invoke the different browsers. Defining what is 'correct' seems a big difficulty. Sometimes a little variat

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-30 Thread Ashley Moran
On Aug 30, 2008, at 4:58 pm, Matt Wynne wrote: I have been in a few pub conversations now about 'photoshop-driven- development' where we show the machine what the page should look like (a photoshop mock-up), and keeps failing the build until we produce something that every browser can rende

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-30 Thread Scott Taylor
On Aug 30, 2008, at 10:52 AM, Jay Levitt wrote: Scott Taylor wrote: On Aug 29, 2008, at 2:39 PM, Dan North wrote: ooh, that would be lovely. LayoutBehave anyone? Well, I don't see why there couldn't be one, assuming there was a CSS parser out there. I've started a treetop CSS2 parser, but

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-30 Thread Matt Wynne
I have been in a few pub conversations now about 'photoshop-driven- development' where we show the machine what the page should look like (a photoshop mock-up), and keeps failing the build until we produce something that every browser can render to look like the mock-up. Surely with all that

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-30 Thread Jay Levitt
Scott Taylor wrote: On Aug 29, 2008, at 2:39 PM, Dan North wrote: ooh, that would be lovely. LayoutBehave anyone? Well, I don't see why there couldn't be one, assuming there was a CSS parser out there. I've started a treetop CSS2 parser, but just don't have the time to devote to it. A

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-29 Thread Scott Taylor
On Aug 29, 2008, at 2:39 PM, Dan North wrote: ooh, that would be lovely. LayoutBehave anyone? Well, I don't see why there couldn't be one, assuming there was a CSS parser out there. I've started a treetop CSS2 parser, but just don't have the time to devote to it. Anyone interested?

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-29 Thread Dan North
ooh, that would be lovely. LayoutBehave anyone? 2008/8/20 Matt Wynne <[EMAIL PROTECTED]> > +1 > > cheers, > Matt > > http://blog.mattwynne.net > http://songkick.com > > In case you wondered: The opinions expressed in this email are my own and > do not necessarily reflect the views of any f

Re: [rspec-users] I want RSpec for CSS layout.

2008-08-20 Thread Matt Wynne
+1 cheers, Matt http://blog.mattwynne.net http://songkick.com In case you wondered: The opinions expressed in this email are my own and do not necessarily reflect the views of any former, current or future employers of mine. On 20 Aug 2008, at 01:40, Jay Levitt wrote: I don't even

[rspec-users] I want RSpec for CSS layout.

2008-08-19 Thread Jay Levitt
I don't even know how it'd be possible (through Selenium?), but I want it. I want to see if my stupid CSS hacks break. I want to say: describe "#nav-column" do body = something("#body-column") it "should line up at the top" do dom[:top].should_be == body.dom[:top] end it "should a