commit | 085cf0072e0fee548055cb21e34ac66a12d73321 | [log] [tgz] |
---|---|---|
author | glebl <glebl@chromium.org> | Fri Sep 16 22:37:18 2016 |
committer | Commit bot <commit-bot@chromium.org> | Fri Sep 16 22:39:20 2016 |
tree | 60997ef965c7bd76ec11e81b4c8ce905b56e2dfa | |
parent | 14947f5240be7a4263819e4d80cf3bef350f51d0 [diff] |
[LayoutNG] Fix broken layout while using CSS with writing modes. 1) This will set a writing mode to the fragment builder so it can be used at the time when we calculate a physical fragment. 2) Change computeMargin to accept 2 more parameters: Direction and writing mode. TEST=NGBlockLayoutAlgorithmTest.LayoutBlockChildrenWithWritingMode BUG=635619 Review-Url: https://codereview.chromium.org/2347773002 Cr-Commit-Position: refs/heads/master@{#419309}