MCPcopy Create free account
hub / github.com/MayaPosch/NymphCast / can_hold

Method can_hold

player/NymphCastPlayer/litehtml/src/box.cpp:33–40  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33bool litehtml::block_box::can_hold(const element::ptr &el, white_space ws)
34{
35 if(m_element || el->is_inline_box())
36 {
37 return false;
38 }
39 return true;
40}
41
42bool litehtml::block_box::is_empty()
43{

Callers 1

place_elementMethod · 0.80

Calls 5

is_inline_boxMethod · 0.80
get_inline_shift_leftMethod · 0.80
is_breakMethod · 0.45
widthMethod · 0.45

Tested by

no test coverage detected