Description was changed from ========== Support SlotChange event This CL implements slotchange event, which is ...
4 years, 8 months ago
(2016-04-18 04:49:00 UTC)
#1
Description was changed from
==========
Support SlotChange event
This CL implements slotchange event, which is added to the microtask queue
whenever its assigned nodes or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment. Also note that slotchange event gets fired at
most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
to
==========
Support slotchange event
This CL implements slotchange event, which is added to the microtask queue
whenever its assigned nodes or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment. Also note that slotchange event gets fired at
most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
https://codereview.chromium.org/1899653002/diff/1/third_party/WebKit/Source/core/dom/Element.h File third_party/WebKit/Source/core/dom/Element.h (right): https://codereview.chromium.org/1899653002/diff/1/third_party/WebKit/Source/core/dom/Element.h#newcode874 third_party/WebKit/Source/core/dom/Element.h:874: if (document().shadowCascadeOrder() == ShadowCascadeOrder::ShadowCascadeV1) { Given that CSS is ...
4 years, 8 months ago
(2016-04-18 07:16:31 UTC)
#4
FYI. I and Anne are updating DOM Standard to define "slotchange" formally. https://github.com/whatwg/dom/pull/229 There, the ...
4 years, 8 months ago
(2016-04-19 06:39:34 UTC)
#6
FYI. I and Anne are updating DOM Standard to define "slotchange" formally.
https://github.com/whatwg/dom/pull/229
There, the timing and condition of slotchange events are strictly defined. You
might want to check it.
The basic idea is the same to this CL. It would be nice if we could try to
implement the current definition to know its feasibility.
Let's chat offline later.
yuzuchan
On 2016/04/19 at 06:39:34, hayato wrote: > FYI. I and Anne are updating DOM Standard ...
4 years, 8 months ago
(2016-04-21 08:52:03 UTC)
#7
On 2016/04/19 at 06:39:34, hayato wrote:
> FYI. I and Anne are updating DOM Standard to define "slotchange" formally.
> https://github.com/whatwg/dom/pull/229
>
> There, the timing and condition of slotchange events are strictly defined. You
might want to check it.
>
> The basic idea is the same to this CL. It would be nice if we could try to
implement the current definition to know its feasibility.
>
> Let's chat offline later.
I made the assignment steps more consistent with the current spec. PTAL :)
yuzuchan
PTAL again :)
4 years, 8 months ago
(2016-04-22 02:07:03 UTC)
#8
PTAL again :)
hayato
https://codereview.chromium.org/1899653002/diff/200001/third_party/WebKit/LayoutTests/shadow-dom/slotchange-event.html File third_party/WebKit/LayoutTests/shadow-dom/slotchange-event.html (right): https://codereview.chromium.org/1899653002/diff/200001/third_party/WebKit/LayoutTests/shadow-dom/slotchange-event.html#newcode47 third_party/WebKit/LayoutTests/shadow-dom/slotchange-event.html:47: test.done(); Can we remove "test.done()" from d1_s1? I guess ...
4 years, 8 months ago
(2016-04-22 05:33:22 UTC)
#9
LGTM. Could you update the description so that it does not have a long line? ...
4 years, 8 months ago
(2016-04-22 07:32:13 UTC)
#11
LGTM.
Could you update the description so that it does not have a long line?
I think we can land this patch as long as there is no regression in Layout
Tests.
This CL should not cause any performance regression unless a v1 shadow tree is
used.
Let's land this CL. Let me optimize the performance later in another CL.
I am so happy to see this CL in your internship's last day!
yuzuchan
Description was changed from ========== Support slotchange event This CL implements slotchange event, which is ...
4 years, 8 months ago
(2016-04-22 07:33:12 UTC)
#12
Description was changed from
==========
Support slotchange event
This CL implements slotchange event, which is added to the microtask queue
whenever its assigned nodes or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment. Also note that slotchange event gets fired at
most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
to
==========
Support slotchange event
This CL implements slotchange event, which is added to the microtask queue
whenever its assigned nodes or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
yuzuchan
Description was changed from ========== Support slotchange event This CL implements slotchange event, which is ...
4 years, 8 months ago
(2016-04-22 07:33:47 UTC)
#13
Description was changed from
==========
Support slotchange event
This CL implements slotchange event, which is added to the microtask queue
whenever its assigned nodes or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
to
==========
Support slotchange event
This CL implements slotchange event,
which is added to the microtask queue whenever its assigned nodes
or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
yuzuchan
The CQ bit was checked by yuzus@chromium.org
4 years, 8 months ago
(2016-04-22 07:34:28 UTC)
#14
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899653002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899653002/220001
4 years, 8 months ago
(2016-04-22 07:34:39 UTC)
#15
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1899653002/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1899653002/220001
4 years, 8 months ago
(2016-04-22 07:35:09 UTC)
#18
Description was changed from ========== Support slotchange event This CL implements slotchange event, which is ...
4 years, 8 months ago
(2016-04-22 08:02:19 UTC)
#19
Description was changed from
==========
Support slotchange event
This CL implements slotchange event,
which is added to the microtask queue whenever its assigned nodes
or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
BUG=595287
==========
to
==========
Support slotchange event
This CL implements slotchange event,
which is added to the microtask queue whenever its assigned nodes
or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
See the spec here: https://dom.spec.whatwg.org/#mutation-algorithms
BUG=595287
==========
commit-bot: I haz the power
Committed patchset #12 (id:220001)
4 years, 8 months ago
(2016-04-22 08:33:34 UTC)
#20
Message was sent while issue was closed.
Committed patchset #12 (id:220001)
commit-bot: I haz the power
Description was changed from ========== Support slotchange event This CL implements slotchange event, which is ...
4 years, 8 months ago
(2016-04-22 19:45:29 UTC)
#21
Message was sent while issue was closed.
Description was changed from
==========
Support slotchange event
This CL implements slotchange event,
which is added to the microtask queue whenever its assigned nodes
or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
See the spec here: https://dom.spec.whatwg.org/#mutation-algorithms
BUG=595287
==========
to
==========
Support slotchange event
This CL implements slotchange event,
which is added to the microtask queue whenever its assigned nodes
or its fallback nodes change.
In order to achieve it, this CL separates assignment, distribution and fallback
calculations in SlotAssignment.
Also note that slotchange event gets fired at most once per a microtask.
See the spec issue here: https://github.com/w3c/webcomponents/issues/288
See the spec here: https://dom.spec.whatwg.org/#mutation-algorithms
BUG=595287
Committed: https://crrev.com/723a4b536fa9a2f0071c510d14c36918cfee83a9
Cr-Commit-Position: refs/heads/master@{#389056}
==========
commit-bot: I haz the power
Patchset 12 (id:??) landed as https://crrev.com/723a4b536fa9a2f0071c510d14c36918cfee83a9 Cr-Commit-Position: refs/heads/master@{#389056}
4 years, 8 months ago
(2016-04-22 19:45:31 UTC)
#22
Issue 1899653002: Support slotchange event
(Closed)
Created 4 years, 8 months ago by yuzuchan
Modified 4 years, 8 months ago
Reviewers: hayato, kochi
Base URL: https://chromium.googlesource.com/chromium/src.git@master
Comments: 12