Reviewers: eae, chrishtr
CL:
https://codereview.chromium.org/2380933004/Message:
First pass at enhancing geometry/writing-mode Layout documentation, feedback
welcome.
I'm not crazy about drawing ASCII art so while I've kept the one diagram we
have, I've linked to a couple of demos and specs rather than adding more.
I considered elaborating on the phrasing wangxianzhu@ uses in
http://crbug.com/650417#c3 re: "local physical coordinate space" and "flipped
physical coordinate space", but I think those are just more specific ways to
refer to things within particular cases, and this document is higher level.
I also didn't want to deconstruct the implementation of the cited methods too
much. The code can be that level of documentation. I was leery of referencing
methods explicitly due to risk they're renamed and docs become stale, but
trading off that with the benefit of having some examples, I included core
primitive-type methods, and a few feature-specific versions.
Description:
Update layout documentation re: coordinate systems and writing mode.
BUG=634143
Affected files (+226, -100 lines):
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.h
M third_party/WebKit/Source/core/layout/README.md