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

Issue 17176018: [CSS Regions] Add new regionOversetChange event (Closed)

Created:
7 years, 6 months ago by stavila
Modified:
7 years, 6 months ago
Reviewers:
apavlov
CC:
blink-reviews, caseq+blink_chromium.org, loislo+blink_chromium.org, chromiumbugtracker_adobe.com, eustas+blink_chromium.org, alph+blink_chromium.org, eae+blinkwatch, yurys+blink_chromium.org, lushnikov+blink_chromium.org, leviw+renderwatch, vsevik+blink_chromium.org, pfeldman+blink_chromium.org, dglazkov+blink, apavlov+blink_chromium.org, adamk+blink_chromium.org, jchaffraix+rendering, aandrey+blink_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

[CSS Regions] Add new regionOversetChange event Added regionOversetChange event and tests for it. The overset value of the region has been moved to the ElementRareData object instead of the RenderRegion object. This was needed for the case when a reattach is performed (for instance by changing the display type of the region's containing block) and the RenderRegion object is destroyed. When computing the overset again, there would be no "previous" value to compare it to and decide whether the regionOversetChange event must be dispatched. BUG=252231 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=152900

Patch Set 1 #

Total comments: 18

Patch Set 2 : Integrated styling fixes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+562 lines, -131 lines) Patch
M LayoutTests/fast/regions/webkit-named-flow-event.html View 2 chunks +3 lines, -4 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-add-to-flow.html View 4 chunks +13 lines, -10 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-add-to-flow-expected.txt View 1 chunk +2 lines, -1 line 0 comments Download
A LayoutTests/fast/regions/webkit-named-flow-event-auto-height.html View 1 1 chunk +89 lines, -0 lines 0 comments Download
A + LayoutTests/fast/regions/webkit-named-flow-event-auto-height-expected.txt View 1 chunk +5 lines, -6 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-crash.html View 1 chunk +5 lines, -4 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-crash-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-expected.txt View 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-no-regions.html View 3 chunks +12 lines, -7 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-no-regions-expected.txt View 2 chunks +2 lines, -1 line 0 comments Download
A LayoutTests/fast/regions/webkit-named-flow-event-region-in-flexbox-no-overset-change.html View 1 1 chunk +114 lines, -0 lines 0 comments Download
A + LayoutTests/fast/regions/webkit-named-flow-event-region-in-flexbox-no-overset-change-expected.txt View 1 chunk +5 lines, -5 lines 0 comments Download
A LayoutTests/fast/regions/webkit-named-flow-event-region-in-flexbox-overset-change.html View 1 1 chunk +117 lines, -0 lines 0 comments Download
A + LayoutTests/fast/regions/webkit-named-flow-event-region-in-flexbox-overset-change-expected.txt View 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-remove-from-dom.html View 4 chunks +14 lines, -9 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-remove-from-dom-expected.txt View 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-remove-from-flow.html View 4 chunks +14 lines, -10 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-remove-from-flow-expected.txt View 2 chunks +2 lines, -1 line 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-target.html View 1 3 chunks +14 lines, -11 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-target-expected.txt View 1 chunk +1 line, -2 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-to-null.html View 3 chunks +8 lines, -8 lines 0 comments Download
M LayoutTests/fast/regions/webkit-named-flow-event-to-null-expected.txt View 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/dom/Element.h View 2 chunks +4 lines, -0 lines 0 comments Download
M Source/core/dom/Element.cpp View 2 chunks +15 lines, -5 lines 0 comments Download
M Source/core/dom/ElementRareData.h View 3 chunks +6 lines, -0 lines 0 comments Download
M Source/core/dom/ElementRareData.cpp View 2 chunks +2 lines, -0 lines 0 comments Download
M Source/core/dom/EventNames.h View 1 chunk +2 lines, -0 lines 0 comments Download
M Source/core/dom/NamedFlow.h View 1 chunk +1 line, -0 lines 0 comments Download
M Source/core/dom/NamedFlow.cpp View 2 chunks +14 lines, -1 line 0 comments Download
M Source/core/inspector/InspectorCSSAgent.cpp View 1 chunk +5 lines, -5 lines 0 comments Download
A + Source/core/rendering/RegionOversetState.h View 2 chunks +14 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 chunk +1 line, -1 line 0 comments Download
M Source/core/rendering/RenderFlowThread.h View 1 4 chunks +10 lines, -1 line 0 comments Download
M Source/core/rendering/RenderFlowThread.cpp View 5 chunks +23 lines, -9 lines 0 comments Download
M Source/core/rendering/RenderNamedFlowThread.h View 3 chunks +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderNamedFlowThread.cpp View 3 chunks +16 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderRegion.h View 2 chunks +2 lines, -10 lines 0 comments Download
M Source/core/rendering/RenderRegion.cpp View 2 chunks +14 lines, -1 line 0 comments Download

Messages

Total messages: 5 (0 generated)
apavlov
LGTM with nits. Please fix the style prior to landing. https://codereview.chromium.org/17176018/diff/1/LayoutTests/fast/regions/webkit-named-flow-event-auto-height.html File LayoutTests/fast/regions/webkit-named-flow-event-auto-height.html (right): https://codereview.chromium.org/17176018/diff/1/LayoutTests/fast/regions/webkit-named-flow-event-auto-height.html#newcode14 ...
7 years, 6 months ago (2013-06-21 15:43:06 UTC) #1
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stavila@adobe.com/17176018/6001
7 years, 6 months ago (2013-06-21 16:38:25 UTC) #2
commit-bot: I haz the power
Retried try job too often on win_layout_rel for step(s) webkit_tests http://build.chromium.org/p/tryserver.chromium/buildstatus?builder=win_layout_rel&number=10698
7 years, 6 months ago (2013-06-21 18:33:13 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/stavila@adobe.com/17176018/6001
7 years, 6 months ago (2013-06-21 18:46:41 UTC) #4
commit-bot: I haz the power
7 years, 6 months ago (2013-06-21 19:27:02 UTC) #5
Message was sent while issue was closed.
Change committed as 152900

Powered by Google App Engine
This is Rietveld 408576698