|LV= County Championship Division One, Headingley (day three)|
|Warwickshire 435 and 108-2: Westwood 48*|
|Yorkshire 303: Gale 96, Rankin 6-55|
|Warwickshire lead by 240 runs|
|Warwickshire 6 pts, Yorkshire 4 pts|
Fast bowler Boyd Rankin's second six-wicket haul of the season kept Warwickshire on top against Yorkshire.
Rankin took 6-55, making it back-to-back career-bests after his 6-75 against Hampshire last week, as Yorkshire were 303 all out, 132 behind.
Captain Andrew Gale scored 96 to ensure his side avoided the follow-on, but they remain in danger of their first Championship defeat since last April.
Warwickshire reached 108-2 by stumps, stretching their overall lead to 240.
Gale was left with mixed feelings in only his second game back following a four-match ban for abusing Lancashire batsman Ashwell Prince in the Roses match last year.
His confident innings of 96, spanning four hours 20 minutes, kept his team in the match, but ended in controversial fashion.
After sending a high full toss from Rankin ballooning into the hands of Sam Hain at cover, Gale appeared to spread his arms to umpires Steve Garratt and Jeremy Lloyds to ask if the ball had been above waist height and therefore a no ball.
But, after conferring, the umpires deemed the delivery legal.
"Neither of the umpires felt they were confident to confirm the height of the ball and so the decision stood," said ECB cricket liaison officer Stuart Cummings.
Needing quick wickets when Warwickshire began their second innings, Yorkshire removed Varun Chopra cheaply for the second time in the game, the Warwickshire captain making just 10 before falling lbw to Tim Bresnan.
But Ian Westwood, scorer of a career-best 196 in the first innings, dug in again and was unbeaten on 48 at the close, having so far batted for 159 overs in the match.
Yorkshire captain Andrew Gale:
"Controversy seems to follow me around. I was disappointed to get out but umpires do make mistakes and I was gutted not to make three figures.
"If this had been a Twenty20 game I do not think I would have been given out as the benefit usually goes to the batsman.
"I asked if I had been given out and the umpire said 'yes'".
Warwickshire bowler Boyd Rankin:
"I have started the season pretty well and got into a good rhythm today. I wanted to continue where I left off last week and it was great to take another six wickets.
"I will have an injection on Thursday to ease a back problem but it is nothing serious, I just want to get it sorted.
"We have got a 10-day break after this game and now is the right time to have the injection."