[LayoutNG] Correct auto margins and text-align:-webkit-foo
There were two problems: 1. We determined start/end inline margins from the direction of the child, while we should use that of the containing block. 2. We applied alignment based on text-align:-webkit-{left,right} even if there was an auto inline-end margin (so that we would override it). Standard CSS declarations should take precedence over legacy HTML align attributes (which is where text-align:-webkit-{left,center,right} typically come from). Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_layout_ng Change-Id: Ib0a22a6293b4b2b2668d09453db16b42ef9ff258 Reviewed-on: https://chromium-review.googlesource.com/922664 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by:Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by:
Christian Biesinger <cbiesinger@chromium.org> Cr-Commit-Position: refs/heads/master@{#537291}
Showing
Please register or sign in to comment