Lines Matching defs:ruby
74 static inline RenderBlock* rubyBeforeBlock(const RenderObject* ruby)
76 RenderObject* child = ruby->firstChild();
80 static inline RenderBlock* rubyAfterBlock(const RenderObject* ruby)
82 RenderObject* child = ruby->lastChild();
86 static RenderBlock* createAnonymousRubyInlineBlock(RenderObject* ruby)
88 RefPtr<RenderStyle> newStyle = RenderStyle::createAnonymousStyleWithDisplay(ruby->style(), INLINE_BLOCK);
89 RenderBlock* newBlock = RenderBlock::createAnonymous(ruby->document());
94 static RenderRubyRun* lastRubyRun(const RenderObject* ruby)
96 RenderObject* child = ruby->lastChild();
99 ASSERT(!child || child->isRubyRun() || child->isBeforeContent() || child == rubyBeforeBlock(ruby));
110 //=== ruby as inline object ===
161 // If the child is a ruby run, just add it normally.
194 // If the child's parent is *this (must be a ruby run or generated content or anonymous block),
216 //=== ruby as block object ===
267 // If the child is a ruby run, just add it normally.
300 // If the child's parent is *this (must be a ruby run or generated content or anonymous block),