commit | 78ed3d537cbf04c575d255de764e489a559caaec | [log] [tgz] |
---|---|---|
author | Morten Stenshorne <[email protected]> | Mon Oct 29 12:14:38 2018 |
committer | Commit Bot <[email protected]> | Mon Oct 29 12:14:38 2018 |
tree | b670bdad0563060663b8d24d8f6484c354bf52ad | |
parent | 791e8d7332d8f3c4889cc58e26873927fe34c59e [diff] |
Use the correct out-of-flow containing block in continuations. We cannot just use the innermost inline, without checking if it's a valid containing block for absolutely positioned descendants. Find the right ancestor. The idea of using the *next* inline in the continuation chain may not be ideal, but it's not obvious that using the previous one would be much better (it's more work to find that one anyway), so leaving it as it is. The spec says that if the relatively positioned inline occurs on multiple lines, CSS 2 doesn't define exact behavior. Therefore, in the test, put the same amount of stuff on the line preceding the interrupting block-level element as on the line following it, to be sure that the abspos descendant is sized the way we want it to be. Bug: 897535 Change-Id: Ie9bc4e83400bc283b9c95aafef821000f2303d12 Reviewed-on: https://chromium-review.googlesource.com/c/1301457 Commit-Queue: Morten Stenshorne <[email protected]> Reviewed-by: Emil A Eklund <[email protected]> Reviewed-by: vmpstr <[email protected]> Reviewed-by: Mason Freed <[email protected]> Cr-Commit-Position: refs/heads/master@{#603466}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .