I was mighty confused why my printing stylesheet wasn't working, until I finally discovered that the size property was being replaced with width and height.
size is a property used for defining @page size
I might recommend wh as a shorthand instead, as it describes the format of the string to be passed, is shorter, and is generally more descriptive than size. On top of not conflicting with an existing property.