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

Issue 2774383002: Move getCached/getUncachedPseudoStyle to Element. (Closed)

Created:
3 years, 9 months ago by emilio
Modified:
3 years, 8 months ago
Reviewers:
rune
CC:
chromium-reviews, pdr+renderingwatchlist_chromium.org, szager+layoutwatch_chromium.org, zoltan1, blink-reviews-layout_chromium.org, sof, eae+blinkwatch, leviw+renderwatch, blink-reviews-dom_chromium.org, dglazkov+blink, jchaffraix+rendering, blink-reviews, rwlbuis, Manuel Rego
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move getCached/getUncachedPseudoStyle to Element. This CL moves the handling of pseudo-element styles to Element, as a pre-requisite for display: contents pseudo-elements support. I think this may have visible effects on first-line/first-letter (where we specifiy parentStyle explicitly). If it does, we need to special-case that in LayoutObject. If not, we may as well remove that argument altogether. BUG=657748 Review-Url: https://codereview.chromium.org/2774383002 Cr-Commit-Position: refs/heads/master@{#460146} Committed: https://chromium.googlesource.com/chromium/src/+/3e92f75741339da0c094fd863bb4a79575a74792

Patch Set 1 #

Patch Set 2 : Move getCached/getUncachedPseudoStyle to Element. #

Patch Set 3 : Move getCached/getUncachedPseudoStyle to Element. #

Total comments: 1

Patch Set 4 : Move getCached/getUncachedPseudoStyle to Element. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+81 lines, -33 lines) Patch
M third_party/WebKit/Source/core/dom/Element.h View 1 2 3 2 chunks +7 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 3 3 chunks +61 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/dom/PseudoElement.cpp View 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 2 chunks +11 lines, -27 lines 0 comments Download

Messages

Total messages: 28 (20 generated)
emilio
Hi rune, Could you take a look at this patch? This is also mostly split ...
3 years, 8 months ago (2017-03-28 08:23:26 UTC) #18
rune
https://codereview.chromium.org/2774383002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp File third_party/WebKit/Source/core/dom/Element.cpp (right): https://codereview.chromium.org/2774383002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp#newcode3383 third_party/WebKit/Source/core/dom/Element.cpp:3383: const_cast<Element*>(this), request, style, Why not make the methods non-const ...
3 years, 8 months ago (2017-03-28 13:07:03 UTC) #19
emilio
On 2017/03/28 13:07:03, rune wrote: > https://codereview.chromium.org/2774383002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp > File third_party/WebKit/Source/core/dom/Element.cpp (right): > > https://codereview.chromium.org/2774383002/diff/40001/third_party/WebKit/Source/core/dom/Element.cpp#newcode3383 > ...
3 years, 8 months ago (2017-03-28 13:42:47 UTC) #20
rune
On 2017/03/28 13:42:47, emilio wrote: > On 2017/03/28 13:07:03, rune wrote: > > Why not ...
3 years, 8 months ago (2017-03-28 13:55:30 UTC) #21
emilio
On 2017/03/28 13:55:30, rune wrote: > On 2017/03/28 13:42:47, emilio wrote: > > On 2017/03/28 ...
3 years, 8 months ago (2017-03-28 14:38:17 UTC) #22
rune
lgtm
3 years, 8 months ago (2017-03-28 14:41:53 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2774383002/60001
3 years, 8 months ago (2017-03-28 14:54:20 UTC) #25
commit-bot: I haz the power
3 years, 8 months ago (2017-03-28 17:16:11 UTC) #28
Message was sent while issue was closed.
Committed patchset #4 (id:60001) as
https://chromium.googlesource.com/chromium/src/+/3e92f75741339da0c094fd863bb4...

Powered by Google App Engine
This is Rietveld 408576698