Skip to main content

abs_rect

Function abs_rect 

Source
pub fn abs_rect(
    cb: (i32, i32, i32, i32),
    v: &BTreeMap<String, String>,
) -> (i32, i32, i32, i32)
Expand description

包含ブロック cb(x, y, 幅, 高さ)の中での疑似要素の矩形(x, y, 幅, 高さ)。 幅は width、無ければ left+right から、どちらも無ければ 0(content:'' の箱は内容幅 0)。 高さも同様。left が無く right があれば右寄せ。