aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/node.rs
diff options
context:
space:
mode:
authorPu Xingyu <pu.stshine@gmail.com>2016-07-25 20:59:04 +0800
committerPu Xingyu <pu.stshine@gmail.com>2016-07-25 20:59:04 +0800
commit62dd3f4df4deb775a852fc9be27da3c23ad96b4d (patch)
tree3dee8a01b1a0b4255cadc3f88dc0d9c40827fb81 /components/script/dom/node.rs
parent7df5974456066e2acabe9991f1da1ab862ca2e46 (diff)
downloadservo-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