bottom
property "specifies how far a box's bottom margin edge is offset above the bottom of the box's containing block"1. And
The margin edge surrounds the box margin. If the margin has 0 width, the margin edge is the same as the border edge. The four margin edges define the box's margin box."2
So yes, specification says that bottom
is measured from margin edge.