| 123 | } |
| 124 | |
| 125 | bool CSSNode::setIndexAmongSiblings(int index) { |
| 126 | if (index == _indexAmongSiblings) { |
| 127 | return false; |
| 128 | } |
| 129 | |
| 130 | _indexAmongSiblings = index; |
| 131 | return true; |
| 132 | } |
| 133 | |
| 134 | bool CSSNode::setSiblingsCount(int count) { |
| 135 | if (count == _siblingsCount) { |