You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Objective
Add helper functions to `ComputedNode` that return the bounds of the
node's border, padding, and content areas.
## Solution
Add helper functions `border_box`, `padding_box`, and `content_box` to
`ComputedNode`.
#
Included a release note. These changes are very trivial and don't really
need one, but I've got quite a few more less trivial changes to
`ComputedNode` that I want to add later.
## Testing
This PR also includes a couple of trivial tests.
Helper functions `border_box`, `padding_box`, and `content_box` that return a node’s object-centered border, padding, and content boxes have been added to `ComputedNode`.
0 commit comments