Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(36)

Issue 1519123003: Implement Style Containment (Closed)

Created:
5 years ago by leviw_travelin_and_unemployed
Modified:
4 years, 10 months ago
Reviewers:
esprehn, ojan
CC:
darktears, apavlov+blink_chromium.org, blink-reviews, blink-reviews-css, blink-reviews-layout_chromium.org, blink-reviews-style_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, jchaffraix+rendering, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, rwlbuis, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

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 Committed: https://crrev.com/f1ded8f72e6c34c6561ba5d95ec7cff42dd82fd1 Cr-Commit-Position: refs/heads/master@{#375684}

Patch Set 1 #

Patch Set 2 : Fix typos #

Total comments: 2

Patch Set 3 : Address comments (need test coverage) #

Patch Set 4 : Add test #

Total comments: 1

Patch Set 5 : Fix for shadow DOM #

Messages

Total messages: 14 (5 generated)
leviw_travelin_and_unemployed
5 years ago (2015-12-16 22:20:25 UTC) #3
leviw_travelin_and_unemployed
Ping :)
4 years, 11 months ago (2016-01-12 23:08:26 UTC) #4
leviw_travelin_and_unemployed
Ping again.
4 years, 11 months ago (2016-01-20 06:30:20 UTC) #5
esprehn
https://codereview.chromium.org/1519123003/diff/20001/third_party/WebKit/Source/core/layout/LayoutCounter.cpp File third_party/WebKit/Source/core/layout/LayoutCounter.cpp (right): https://codereview.chromium.org/1519123003/diff/20001/third_party/WebKit/Source/core/layout/LayoutCounter.cpp#newcode56 third_party/WebKit/Source/core/layout/LayoutCounter.cpp:56: LayoutObject* ancestorStyleContainmentObject(const LayoutObject& object) static https://codereview.chromium.org/1519123003/diff/20001/third_party/WebKit/Source/core/layout/LayoutCounter.cpp#newcode58 third_party/WebKit/Source/core/layout/LayoutCounter.cpp:58: for (LayoutObject* ...
4 years, 11 months ago (2016-01-20 08:33:01 UTC) #6
leviw_travelin_and_unemployed
On 2016/01/20 at 08:33:01, esprehn wrote: > https://codereview.chromium.org/1519123003/diff/20001/third_party/WebKit/Source/core/layout/LayoutCounter.cpp > File third_party/WebKit/Source/core/layout/LayoutCounter.cpp (right): > > https://codereview.chromium.org/1519123003/diff/20001/third_party/WebKit/Source/core/layout/LayoutCounter.cpp#newcode56 ...
4 years, 11 months ago (2016-01-21 07:34:22 UTC) #7
esprehn
lgtm, but your code is busted for shadow dom. I doubt polymer and other shadow ...
4 years, 10 months ago (2016-02-10 02:00:02 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1519123003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1519123003/80001
4 years, 10 months ago (2016-02-16 21:19:12 UTC) #11
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 10 months ago (2016-02-16 22:31:46 UTC) #12
commit-bot: I haz the power
4 years, 10 months ago (2016-02-16 22:55:34 UTC) #14
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/f1ded8f72e6c34c6561ba5d95ec7cff42dd82fd1
Cr-Commit-Position: refs/heads/master@{#375684}

Powered by Google App Engine
This is Rietveld 408576698