| 57 | } |
| 58 | |
| 59 | litehtml::position litehtml::element::get_placement() const |
| 60 | { |
| 61 | litehtml::position pos = m_pos; |
| 62 | element::ptr cur_el = parent(); |
| 63 | while(cur_el) |
| 64 | { |
| 65 | pos.x += cur_el->m_pos.x; |
| 66 | pos.y += cur_el->m_pos.y; |
| 67 | cur_el = cur_el->parent(); |
| 68 | } |
| 69 | return pos; |
| 70 | } |
| 71 | |
| 72 | bool litehtml::element::is_inline_box() const |
| 73 | { |
no test coverage detected