Embedding styles in HTML story formatter with optional css override
Reported by Joseph Wilk | August 1st, 2008 @ 09:24 PM | in No-Milestone-Assigned
This relates to a discussion started on ruby/rspec mailing list (See here for full discussion: http://www.ruby-forum.com/topic/...).
The idea is by default the css styles (which are currently living in the story server css) are embedded in the html formatters output but if
a CSS stylesheet is passed to the formatter than it will suppress this
output and use your custom css.
eg.
ruby stories/all.rb --format html --css my_own.css
This will make the story html output standalone from the css, Working the same as the html specs.
I'm working on the patch for this.
Comments and changes to this ticket
-
Joseph Wilk August 9th, 2008 @ 02:02 PM
In introducing the --css handle to stories, I was also thinking that it should be available for the spec HTML aswell.
I feels it would be nice if --css worked for any html output.
-
Joseph Wilk August 11th, 2008 @ 06:35 PM
- → Tag changed from featurerequest formatter story storyframework to featurerequest formatter patch story storyframework
Patch for --css option used only for html stories.
-
Joseph Wilk August 12th, 2008 @ 09:23 PM
- no changes were found...
Please Login or create a free account to add a new comment.
You can update this ticket by sending an email to from your email client. (help)
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
Behaviour Driven Development for Ruby.
