| 370 | } |
| 371 | |
| 372 | Direction Node::resolveDirection(const Direction ownerDirection) { |
| 373 | if (style_.direction() == Direction::Inherit) { |
| 374 | return ownerDirection != Direction::Inherit ? ownerDirection |
| 375 | : Direction::LTR; |
| 376 | } else { |
| 377 | return style_.direction(); |
| 378 | } |
| 379 | } |
| 380 | |
| 381 | void Node::clearChildren() { |
| 382 | children_.clear(); |
no test coverage detected