diff options
author | Pu Xingyu <pu.stshine@gmail.com> | 2016-07-25 20:59:04 +0800 |
---|---|---|
committer | Pu Xingyu <pu.stshine@gmail.com> | 2016-07-25 20:59:04 +0800 |
commit | 62dd3f4df4deb775a852fc9be27da3c23ad96b4d (patch) | |
tree | 3dee8a01b1a0b4255cadc3f88dc0d9c40827fb81 /components/script/dom/node.rs | |
parent | 7df5974456066e2acabe9991f1da1ab862ca2e46 (diff) | |
download | servo-62dd3f4df4deb775a852fc9be27da3c23ad96b4d.tar.gz servo-62dd3f4df4deb775a852fc9be27da3c23ad96b4d.zip |
Refator 'box-sizing' calculation into a method
The 'box_sizing_boundary()' method return the border_padding width in
certain direction if fragment has property 'box-sizing: border-box'. The
'border_padding' field should be initialized before.
Diffstat (limited to 'components/script/dom/node.rs')
0 files changed, 0 insertions, 0 deletions