In certain cases, like out-of-flow boxes with margin auto, marginBoxRect() returns 0. It's clearly incorrect.
Created attachment 359248 [details] Patch
Comment on attachment 359248 [details] Patch Clearing flags on attachment: 359248 Committed r240035: <https://trac.webkit.org/changeset/240035>
All reviewed patches have been landed. Closing bug.