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

Issue 476433002: Sync fullscreen element removal with the spec (Closed)

Created:
6 years, 4 months ago by philipj_slow
Modified:
6 years, 4 months ago
Reviewers:
falken
CC:
blink-reviews, blink-reviews-dom_chromium.org, dglazkov+blink, sof, eae+blinkwatch, rwlbuis
Project:
blink
Visibility:
Public.

Description

Sync fullscreen element removal with the spec http://fullscreen.spec.whatwg.org/#model https://www.w3.org/Bugs/Public/show_bug.cgi?id=26326 TEST=LayoutTests/fullscreen/model/remove-*.html (new) TEST=LayoutTests/fullscreen/full-screen-remove-*.html (no regression) The distinction between fullyExitFullscreen() and exitFullscreen() was not tested, but the new remove-last.html test fails with the old code. BUG=383813 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=180259

Patch Set 1 #

Total comments: 6

Patch Set 2 : nits #

Unified diffs Side-by-side diffs Delta from patch set Stats (+108 lines, -28 lines) Patch
A LayoutTests/fullscreen/model/remove-first.html View 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/model/remove-last.html View 1 chunk +32 lines, -0 lines 0 comments Download
A LayoutTests/fullscreen/model/remove-single.html View 1 chunk +24 lines, -0 lines 0 comments Download
M Source/core/dom/ContainerNode.cpp View 1 3 chunks +0 lines, -7 lines 0 comments Download
M Source/core/dom/Element.cpp View 1 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.h View 2 chunks +1 line, -3 lines 0 comments Download
M Source/core/dom/FullscreenElementStack.cpp View 1 1 chunk +16 lines, -18 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
philipj_slow
PTAL. Hooking everything into Element::removedFrom seems to simplify matters, and the old tests still pass, ...
6 years, 4 months ago (2014-08-13 21:04:26 UTC) #1
falken
lgtm https://codereview.chromium.org/476433002/diff/1/LayoutTests/fullscreen/model/remove-first.html File LayoutTests/fullscreen/model/remove-first.html (right): https://codereview.chromium.org/476433002/diff/1/LayoutTests/fullscreen/model/remove-first.html#newcode31 LayoutTests/fullscreen/model/remove-first.html:31: }); Totally just an idea, but you might ...
6 years, 4 months ago (2014-08-14 04:12:47 UTC) #2
philipj_slow
nits
6 years, 4 months ago (2014-08-14 08:10:31 UTC) #3
philipj_slow
https://codereview.chromium.org/476433002/diff/1/Source/core/dom/FullscreenElementStack.cpp File Source/core/dom/FullscreenElementStack.cpp (right): https://codereview.chromium.org/476433002/diff/1/Source/core/dom/FullscreenElementStack.cpp#newcode565 Source/core/dom/FullscreenElementStack.cpp:565: // If an element element in a fullscreen element ...
6 years, 4 months ago (2014-08-14 08:10:41 UTC) #4
philipj_slow
https://codereview.chromium.org/476433002/diff/1/LayoutTests/fullscreen/model/remove-first.html File LayoutTests/fullscreen/model/remove-first.html (right): https://codereview.chromium.org/476433002/diff/1/LayoutTests/fullscreen/model/remove-first.html#newcode31 LayoutTests/fullscreen/model/remove-first.html:31: }); On 2014/08/14 04:12:47, falken wrote: > Totally just ...
6 years, 4 months ago (2014-08-14 08:16:29 UTC) #5
philipj_slow
https://codereview.chromium.org/476433002/diff/1/LayoutTests/fullscreen/model/remove-first.html File LayoutTests/fullscreen/model/remove-first.html (right): https://codereview.chromium.org/476433002/diff/1/LayoutTests/fullscreen/model/remove-first.html#newcode31 LayoutTests/fullscreen/model/remove-first.html:31: }); On 2014/08/14 04:12:47, falken wrote: > Totally just ...
6 years, 4 months ago (2014-08-14 08:16:30 UTC) #6
falken
still lgtm
6 years, 4 months ago (2014-08-14 08:27:41 UTC) #7
philipj_slow
The CQ bit was checked by philipj@opera.com
6 years, 4 months ago (2014-08-14 08:29:01 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/philipj@opera.com/476433002/20001
6 years, 4 months ago (2014-08-14 08:30:05 UTC) #9
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_dbg on tryserver.blink ...
6 years, 4 months ago (2014-08-14 11:35:41 UTC) #10
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 14:32:13 UTC) #11
Message was sent while issue was closed.
Committed patchset #2 (20001) as 180259

Powered by Google App Engine
This is Rietveld 408576698