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

Issue 144853004: Don't use cached inherited props for distributed nodes. (Closed)

Created:
6 years, 10 months ago by rune
Modified:
6 years, 10 months ago
Reviewers:
esprehn, dglazkov
CC:
blink-reviews, dglazkov+blink, apavlov+blink_chromium.org, ed+blinkwatch_opera.com, darktears
Visibility:
Public.

Description

Don't use cached inherited props for distributed nodes. The -webkit-user-modify, which is inherited, does not follow normal inheritance for distributed nodes in a shadow dom tree. Distributed nodes will have -webkit-user-modify propagated from the shadow host overriding any inheritance from non-distributed shadow dom nodes. This propagation, which happens in StyleResolver::styleForElement will not be caught will not be caught when computing the cacheHash in StyleResolver::applyMatchedProperties and the inherited properties might incorrectly be shared, effectively cancelling out the -webkit-user-modify propagation. R=esprehn BUG=339463 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=166414

Patch Set 1 #

Patch Set 2 : Allow sharing inherited properties if -webkit-user-modify is read-only. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -1 line) Patch
A LayoutTests/editing/shadow/contenteditable-propagation-to-distributed-node.html View 1 chunk +23 lines, -0 lines 0 comments Download
A LayoutTests/editing/shadow/contenteditable-propagation-to-distributed-node-expected.txt View 1 chunk +8 lines, -0 lines 0 comments Download
M Source/core/css/resolver/StyleResolver.cpp View 1 1 chunk +2 lines, -1 line 0 comments Download

Messages

Total messages: 27 (0 generated)
rune
Issue caused regression in, and split out from: https://codereview.chromium.org/135183002/
6 years, 10 months ago (2014-01-30 14:16:31 UTC) #1
esprehn
This is going to disable the matches properties cache for a lot of elements in ...
6 years, 10 months ago (2014-01-30 16:35:32 UTC) #2
rune
On 2014/01/30 16:35:32, esprehn wrote: > This is going to disable the matches properties cache ...
6 years, 10 months ago (2014-01-30 17:19:23 UTC) #3
rune
6 years, 10 months ago (2014-02-03 19:40:45 UTC) #4
dglazkov
lgtm
6 years, 10 months ago (2014-02-03 22:40:11 UTC) #5
rune
The CQ bit was checked by rune@opera.com
6 years, 10 months ago (2014-02-03 22:45:20 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/144853004/20001
6 years, 10 months ago (2014-02-03 22:45:33 UTC) #7
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-03 23:57:18 UTC) #8
commit-bot: I haz the power
Retried try job too often on win_blink_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_blink_rel&number=25313
6 years, 10 months ago (2014-02-03 23:57:19 UTC) #9
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:57:24 UTC) #10
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:57:24 UTC) #11
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:57:25 UTC) #12
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:57:29 UTC) #13
commit-bot: I haz the power
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-03 23:59:56 UTC) #14
rune
The CQ bit was checked by rune@opera.com
6 years, 10 months ago (2014-02-04 08:04:51 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/144853004/20001
6 years, 10 months ago (2014-02-04 08:05:48 UTC) #16
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 11:06:02 UTC) #17
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10766
6 years, 10 months ago (2014-02-04 11:06:02 UTC) #18
rune
The CQ bit was checked by rune@opera.com
6 years, 10 months ago (2014-02-04 11:37:41 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/144853004/20001
6 years, 10 months ago (2014-02-04 11:37:56 UTC) #20
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 10 months ago (2014-02-04 14:13:22 UTC) #21
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=linux_blink&number=10825
6 years, 10 months ago (2014-02-04 14:13:23 UTC) #22
skia-commit-bot
CQ bit was unchecked on CL. Ignoring.
6 years, 10 months ago (2014-02-04 14:13:25 UTC) #23
rune
The CQ bit was checked by rune@opera.com
6 years, 10 months ago (2014-02-04 14:48:01 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/rune@opera.com/144853004/20001
6 years, 10 months ago (2014-02-04 14:48:16 UTC) #25
commit-bot: I haz the power
Change committed as 166414
6 years, 10 months ago (2014-02-04 16:34:17 UTC) #26
skia-commit-bot
6 years, 10 months ago (2014-02-04 16:34:22 UTC) #27
Message was sent while issue was closed.
CQ bit was unchecked on CL. Ignoring.

Powered by Google App Engine
This is Rietveld 408576698