commit | f1ded8f72e6c34c6561ba5d95ec7cff42dd82fd1 | [log] [tgz] |
---|---|---|
author | leviw <leviw@chromium.org> | Tue Feb 16 22:31:37 2016 |
committer | Commit bot <commit-bot@chromium.org> | Tue Feb 16 22:32:54 2016 |
tree | d4739196ae479a0d022daac56511e68f1e16cf53 | |
parent | c52a96ce1d09ad2e90c710a2ee1d63aba089586c [diff] |
Implement Style Containment The only CSS feature we support that is bound by style containment is counters. This patch adds the concept of an enclosing style containment ancestor to the tree walking logic in LayoutCounter and avoids crossing these boundaries when matching counters. Layout Containment description from spec: https://drafts.csswg.org/css-containment/#containment-style Intent to implement: https://groups.google.com/a/chromium.org/forum/#!topic/blink-dev/9W80Kw-z3ss BUG=561713 Review URL: https://codereview.chromium.org/1519123003 Cr-Commit-Position: refs/heads/master@{#375684}