Hyundai now has lots of content in the cars, while refining the driving characteristics enough to be livable. Not top of the line, but livable. They used to go for driving characteristics moreso than content in the cars. A 2011 Elantra might have a far nicer interior than a 1999 Elantra, while that 1999, even with 150k miles on it, rides/corners/stops better. I test-drove a 2011 Elantra back in the summer, and my folks recently acquired a 1999 Elantra station wagon. HP/torque is the same between the cars at 138 hp/120ish ft/lbs. MPG is about the same too, with the 2011 getting about 29-30 mpg average while the 1999 gets about 27-28. The 1999 has IRS, while the 2011 has a twist beam.
So, while their styling/interiors/marketing have improved, the driving experience has gone downhill.
Considering a Toyota Corolla is the epitome of beige appliance, and a Civic isn't far behind, the clear winner here is Mazda. The 3, while not getting that fantastic MPG, does drive like it wants to be driven, not like driving is a chore.