Yes, this the behavior for percentage unite with padding property (even top and bottom padding) it always calculated relative to element's parent width.

code of conduct - report abuse