lib/rabbit/element/text-container-element.rb in rabbit-0.6.4 vs lib/rabbit/element/text-container-element.rb in rabbit-0.9.0
- old
+ new
@@ -68,9 +68,13 @@
def have_numerical_font_size?
super or @elements.any? {|elem| elem.have_numerical_font_size?}
end
+ def inline_element?
+ true
+ end
+
protected
def initial_font_size_for_compute_font_size
[
super,
@elements.collect do |elem|