Right now nsIFrame::GetUsed{Margin,Border,Padding} don't apply the
skip-sides information to the result they return.  (The skip-sides
information is what tells us to omit the margin, border, and padding
at breaks.)

This means that most callers of these methods need to call
nsIFrame::ApplySkipSides on the result before using that result.
However, I suspect that most of the callers that should be doing
this aren't (though I haven't gone through them yet; I should).

I'm starting to think this was an API design mistake (on my part),
given that I usually forget about it.

Thoughts?

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to