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

Issue 2564633002: Don't create layout objects for children of display-none iframes. (Closed)

Created:
4 years ago by erikchen
Modified:
3 years, 10 months ago
CC:
blink-reviews, blink-reviews-api_chromium.org, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, eae+blinkwatch, jam, kinuko+watch, mlamouri+watch-blink_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, rwlbuis, sof
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Don't create layout objects for children of display-none iframes. Most of this CL is plumbing for FrameOwnerProperties. Interesting changes: * LayoutView can no longer have children if its FrameOwner is "DisplayNone". * A local frame is "DisplayNone" if and only if it has no widget [which should correspond to the actual display:none style]. * The DisplayNone property is propagated to remote frames via FrameOwnerProperties. Spec discussion: https://github.com/whatwg/html/issues/1813 BUG=650433 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_site_isolation Review-Url: https://codereview.chromium.org/2564633002 Cr-Commit-Position: refs/heads/master@{#450748} Committed: https://chromium.googlesource.com/chromium/src/+/962434d34e2c9bcd17488f499515920c298b5395

Patch Set 1 #

Total comments: 4

Patch Set 2 : Rewrite with suggestions from dcheng, esprehn. #

Patch Set 3 : Clean up. #

Patch Set 4 : . #

Patch Set 5 : Reattach working. #

Patch Set 6 : . #

Total comments: 4

Patch Set 7 : Comments from esprehn. #

Total comments: 6

Patch Set 8 : Comments from esprehn. #

Patch Set 9 : Remove unnecessary whitesapce changes. #

Patch Set 10 : Fix local frame display none changed. Add test for local frames. #

Patch Set 11 : nit #

Patch Set 12 : Fix webkit_unit_tests. #

Patch Set 13 : Add new layout tests. #

Total comments: 18

Patch Set 14 : Rebase against tip of tree. #

Patch Set 15 : Comments from dcheng, esprehn. #

Patch Set 16 : Comments from esprehn. #

Total comments: 24

Patch Set 17 : Comments from esprehn. #

Patch Set 18 : RuntimeEnabledFeature. #

Patch Set 19 : Add new layout test display-none-iframe-has-no-animation.html. #

Patch Set 20 : Remove display none for iframe for outdated wpt tests. #

Patch Set 21 : add layout test expectations. #

Patch Set 22 : Fix logic in Document.cpp to allow for body without root. #

Patch Set 23 : Add missing doctype html. #

Patch Set 24 : Rebase. #

Patch Set 25 : Rebase. #

Patch Set 26 : Rebase. #

Patch Set 27 : Fix rebase errors. #

Patch Set 28 : Rebaseline. #

Patch Set 29 : Rebase. #

Total comments: 3

Patch Set 30 : Rebase. #

Patch Set 31 : Rebaseline. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1131 lines, -68 lines) Patch
M content/common/frame_messages.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_owner_properties.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -0 lines 0 comments Download
M content/common/frame_owner_properties.cc View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +4 lines, -3 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/display-none-iframe-has-no-animation.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +34 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/display-none-iframe-has-no-animation-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +1 line, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/animations/resources/frame_with_animation.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 chunk +15 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/external/wpt/html/resources/common.js View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-block-to-display-none.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block.html View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 1 chunk +15 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/paint/invalidation/iframe-display-none-to-display-block-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +51 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/shift-relative-positioned-container-with-image-addition-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/iframe-display-block-to-display-none-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/iframe-display-none-to-display-block-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/iframe-display-none-to-display-block-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +51 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/shift-relative-positioned-container-with-image-addition-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +0 lines, -4 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/shift-relative-positioned-container-with-image-addition-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +14 lines, -12 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/virtual/disable-spinvalidation/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/iframe-display-none-to-display-block-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/iframe-display-none-to-display-block-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +51 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/virtual/spinvalidation/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/stable/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/linux/virtual/stable/paint/invalidation/iframe-display-none-to-display-block-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +67 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/platform/linux/virtual/stable/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +30 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/iframe-display-block-to-display-none-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/paint/invalidation/iframe-display-none-to-display-block-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/virtual/spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/mac/virtual/spinvalidation/paint/invalidation/iframe-display-none-to-display-block-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/paint/invalidation/iframe-display-block-to-display-none-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/paint/invalidation/iframe-display-none-to-display-block-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/virtual/spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
A third_party/WebKit/LayoutTests/platform/win/virtual/spinvalidation/paint/invalidation/iframe-display-none-to-display-block-expected.png View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 Binary file 0 comments Download
M third_party/WebKit/LayoutTests/plugins/createScriptableObject-before-start-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +0 lines, -1 line 0 comments Download
A third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 1 chunk +46 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/shift-relative-positioned-container-with-image-addition-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +14 lines, -12 lines 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/disable-spinvalidation/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 2 chunks +22 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/spinvalidation/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +42 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/spinvalidation/paint/invalidation/iframe-display-none-to-display-block-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 1 chunk +51 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/spinvalidation/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 2 chunks +18 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/stable/paint/invalidation/iframe-display-block-to-display-none-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +54 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/virtual/stable/paint/invalidation/iframe-display-none-to-display-block-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 1 chunk +67 lines, -0 lines 0 comments Download
A + third_party/WebKit/LayoutTests/virtual/stable/paint/invalidation/shift-relative-positioned-container-with-image-removal-expected.txt View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 2 chunks +30 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Document.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/dom/Document.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +11 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameOwner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameElementBase.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameElementBase.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 4 chunks +3 lines, -10 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +17 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 1 chunk +2 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutView.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +11 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/VisualRectMappingTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +2 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/loader/FrameLoaderClient.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +1 line, -2 lines 0 comments Download
M third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/FrameLoaderClientImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/web/RemoteFrameOwner.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3 chunks +3 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/web/RemoteFrameOwner.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/web/WebFrame.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 2 chunks +3 lines, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLocalFrameImpl.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/tests/WebFrameTest.cpp View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 2 chunks +60 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebFrameOwnerProperties.h View 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 4 chunks +5 lines, -1 line 0 comments Download

Messages

Total messages: 164 (108 generated)
erikchen
esprehn: Can you take a look, or forward to a more appropriate reviewer? I want ...
4 years ago (2016-12-08 22:13:57 UTC) #9
dcheng
I think we should plumb this as part of FrameOwnerProperties: this lets us keep the ...
4 years ago (2016-12-08 22:21:17 UTC) #12
dcheng
On 2016/12/08 22:21:17, dcheng wrote: > I think we should plumb this as part of ...
4 years ago (2016-12-08 22:25:29 UTC) #13
esprehn
https://codereview.chromium.org/2564633002/diff/1/content/renderer/render_widget.cc File content/renderer/render_widget.cc (right): https://codereview.chromium.org/2564633002/diff/1/content/renderer/render_widget.cc#newcode1649 content/renderer/render_widget.cc:1649: void RenderWidget::OnUpdateDisplayNone(bool d) { Lets use the OOPIF replication ...
4 years ago (2016-12-08 23:10:21 UTC) #14
esprehn
On 2016/12/08 at 22:25:29, dcheng wrote: > On 2016/12/08 22:21:17, dcheng wrote: > > I ...
4 years ago (2016-12-08 23:10:32 UTC) #15
erikchen
dcheng: PTAL Please see the CL description for a detailed update.
4 years ago (2016-12-10 01:20:17 UTC) #27
esprehn
https://codereview.chromium.org/2564633002/diff/130001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2564633002/diff/130001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4473 third_party/WebKit/Source/core/dom/Document.cpp:4473: documentElement()->setForceReattach(); You don't need this. https://codereview.chromium.org/2564633002/diff/130001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4474 third_party/WebKit/Source/core/dom/Document.cpp:4474: setNeedsStyleRecalc(NeedsReattachStyleChange, It's ...
4 years ago (2016-12-10 02:20:55 UTC) #28
erikchen
Thanks esprehn, PTAL. If you're worried about the cost of an extra branch, then you'll ...
4 years ago (2016-12-12 23:02:06 UTC) #31
esprehn
https://codereview.chromium.org/2564633002/diff/170001/third_party/WebKit/Source/core/dom/Node.h File third_party/WebKit/Source/core/dom/Node.h (right): https://codereview.chromium.org/2564633002/diff/170001/third_party/WebKit/Source/core/dom/Node.h#newcode569 third_party/WebKit/Source/core/dom/Node.h:569: virtual void setLayoutObject(LayoutObject* layoutObject) { Yeah we don't want ...
4 years ago (2016-12-12 23:18:35 UTC) #32
erikchen
thanks esprehn, this is already looking a lot better, even from my green eyes. I'll ...
4 years ago (2016-12-13 01:15:45 UTC) #35
esprehn
What handles local frames now? Maybe I'm just not following the code properly, but I ...
4 years ago (2016-12-13 01:26:18 UTC) #36
esprehn
On 2016/12/13 at 01:26:18, esprehn wrote: > What handles local frames now? Maybe I'm just ...
4 years ago (2016-12-13 04:45:53 UTC) #39
erikchen
esprehn: PTAL. The LocalFrame in LocalFrame case was an oversight on my part - I've ...
4 years ago (2016-12-15 21:25:50 UTC) #50
dcheng
https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4420 third_party/WebKit/Source/core/dom/Document.cpp:4420: if (isDisplayNone != owner->isDisplayNone() && documentElement()) { Nit: this ...
4 years ago (2016-12-15 21:35:04 UTC) #51
esprehn
Very excited, this is looking great. https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/web/tests/WebFrameTest.cpp File third_party/WebKit/Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/web/tests/WebFrameTest.cpp#newcode10786 third_party/WebKit/Source/web/tests/WebFrameTest.cpp:10786: for (Node* child ...
4 years ago (2016-12-15 21:36:48 UTC) #52
esprehn
https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp File third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp (right): https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp#newcode253 third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp:253: Document* doc = contentDocument(); On 2016/12/15 at 21:35:04, dcheng ...
4 years ago (2016-12-15 21:45:56 UTC) #53
erikchen
On 2016/12/15 21:45:56, esprehn wrote: > https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp > File third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp (right): > > https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp#newcode253 > ...
4 years ago (2016-12-16 00:50:16 UTC) #55
dcheng
On 2016/12/16 00:50:16, erikchen wrote: > On 2016/12/15 21:45:56, esprehn wrote: > > > https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/html/HTMLFrameOwnerElement.cpp ...
4 years ago (2016-12-16 01:09:50 UTC) #56
esprehn
On 2016/12/16 at 00:50:16, erikchen wrote: > On 2016/12/15 21:45:56, esprehn wrote: > > ...
4 years ago (2016-12-16 01:50:16 UTC) #57
esprehn
On 2016/12/16 at 01:09:50, dcheng wrote: > On 2016/12/16 00:50:16, erikchen wrote: > > On ...
4 years ago (2016-12-16 01:51:47 UTC) #58
dominicc (has gone to gerrit)
Nit with the title: Are you talking about emitting the layout objects, or omitting them? ...
4 years ago (2016-12-16 02:02:10 UTC) #59
erikchen
> > > It would be easy to add more logic into layout to support ...
4 years ago (2016-12-16 02:26:02 UTC) #60
dcheng
On 2016/12/16 01:51:47, esprehn wrote: > On 2016/12/16 at 01:09:50, dcheng wrote: > > On ...
4 years ago (2016-12-16 02:36:34 UTC) #62
erikchen
https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/dom/Document.cpp File third_party/WebKit/Source/core/dom/Document.cpp (right): https://codereview.chromium.org/2564633002/diff/290001/third_party/WebKit/Source/core/dom/Document.cpp#newcode4420 third_party/WebKit/Source/core/dom/Document.cpp:4420: if (isDisplayNone != owner->isDisplayNone() && documentElement()) { On 2016/12/15 ...
4 years ago (2016-12-16 20:56:12 UTC) #65
esprehn
The documentElement is not the LayoutView, that's the document itself. document => LayoutView. <html> (or ...
4 years ago (2016-12-16 21:03:05 UTC) #66
erikchen
On 2016/12/16 21:03:05, esprehn wrote: > The documentElement is not the LayoutView, that's the document ...
4 years ago (2016-12-16 21:12:23 UTC) #67
esprehn
Bunch of nits, otherwise this lgtm, If you want to put this behind a RuntimeEnabledFeature ...
4 years ago (2016-12-16 21:29:44 UTC) #70
erikchen
I put this behind a RuntimeEnabledFeatures flag. Note that I put a single check in ...
4 years ago (2016-12-16 22:42:11 UTC) #71
esprehn
lgtm for landing, could you add a link to the spec discussion https://github.com/whatwg/html/issues/1813 in the ...
4 years ago (2016-12-16 22:48:04 UTC) #74
erikchen
On 2016/12/16 22:48:04, esprehn wrote: > lgtm for landing, could you add a link to ...
4 years ago (2016-12-17 01:08:29 UTC) #79
esprehn
On 2016/12/17 at 01:08:29, erikchen wrote: > On 2016/12/16 22:48:04, esprehn wrote: > > lgtm ...
4 years ago (2016-12-17 01:57:42 UTC) #82
erikchen
On 2016/12/17 01:57:42, esprehn wrote: > On 2016/12/17 at 01:08:29, erikchen wrote: > > On ...
4 years ago (2016-12-20 19:34:29 UTC) #91
erikchen
On 2016/12/20 19:34:29, erikchen wrote: > On 2016/12/17 01:57:42, esprehn wrote: > > On 2016/12/17 ...
4 years ago (2016-12-20 22:01:34 UTC) #94
erikchen
On 2016/12/20 22:01:34, erikchen wrote: > On 2016/12/20 19:34:29, erikchen wrote: > > On 2016/12/17 ...
4 years ago (2016-12-20 22:06:46 UTC) #95
esprehn
You can't have a body and no documentElement. The body is the first element inside ...
4 years ago (2016-12-20 22:14:51 UTC) #96
erikchen
On 2016/12/20 22:14:51, esprehn wrote: > You can't have a body and no documentElement. The ...
4 years ago (2016-12-20 22:35:35 UTC) #97
erikchen
I have a partial explanation. Still need to dig further. The problem is lies at ...
4 years ago (2016-12-21 03:17:09 UTC) #98
erikchen
ah ha!. The layout tree in fullscreen is actually different pre/post patch. Pre patch: [84103:775:1221/111005.305536:ERROR:LayoutView.cpp(244)] ...
4 years ago (2016-12-21 19:23:00 UTC) #99
esprehn
On 2016/12/21 at 19:23:00, erikchen wrote: > ah ha!. The layout tree in fullscreen is ...
4 years ago (2016-12-21 19:25:45 UTC) #100
erikchen
On 2016/12/21 19:25:45, esprehn wrote: > On 2016/12/21 at 19:23:00, erikchen wrote: > > ah ...
3 years, 12 months ago (2016-12-28 00:13:29 UTC) #101
erikchen
On 2016/12/28 00:13:29, erikchen wrote: > On 2016/12/21 19:25:45, esprehn wrote: > > On 2016/12/21 ...
3 years, 11 months ago (2017-01-21 01:02:20 UTC) #122
erikchen
dcheng: Please review content/common/frame_messages.h. avi: Please review content/
3 years, 10 months ago (2017-02-03 22:14:46 UTC) #134
Avi (use Gerrit)
On 2017/02/03 22:14:46, erikchen wrote: > dcheng: Please review content/common/frame_messages.h. > avi: Please review content/ ...
3 years, 10 months ago (2017-02-03 22:28:32 UTC) #135
dcheng
https://codereview.chromium.org/2564633002/diff/610001/content/common/frame_messages.h File content/common/frame_messages.h (right): https://codereview.chromium.org/2564633002/diff/610001/content/common/frame_messages.h#newcode179 content/common/frame_messages.h:179: IPC_STRUCT_TRAITS_MEMBER(is_display_none) Currently this is passed via IPC, but isn't ...
3 years, 10 months ago (2017-02-05 09:56:08 UTC) #138
erikchen
https://codereview.chromium.org/2564633002/diff/610001/content/common/frame_messages.h File content/common/frame_messages.h (right): https://codereview.chromium.org/2564633002/diff/610001/content/common/frame_messages.h#newcode179 content/common/frame_messages.h:179: IPC_STRUCT_TRAITS_MEMBER(is_display_none) On 2017/02/05 09:56:08, dcheng wrote: > Currently this ...
3 years, 10 months ago (2017-02-10 17:19:31 UTC) #139
dcheng
Sorry for the delayed review. You're right that I think this Just Works (unfortunately, we ...
3 years, 10 months ago (2017-02-13 23:13:55 UTC) #140
erikchen
I've noted your request for tests in the main bug: https://bugs.chromium.org/p/chromium/issues/detail?id=650433#c16
3 years, 10 months ago (2017-02-13 23:27:24 UTC) #141
erikchen
On 2017/02/13 23:27:24, erikchen wrote: > I've noted your request for tests in the main ...
3 years, 10 months ago (2017-02-13 23:27:53 UTC) #142
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/2564633002/610001
3 years, 10 months ago (2017-02-13 23:29:23 UTC) #145
commit-bot: I haz the power
Try jobs failed on following builders: ios-device on master.tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/ios-device/builds/152649) ios-device-xcode-clang on master.tryserver.chromium.mac (JOB_FAILED, ...
3 years, 10 months ago (2017-02-13 23:33:47 UTC) #147
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/2564633002/650001
3 years, 10 months ago (2017-02-14 18:25:35 UTC) #154
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/390107)
3 years, 10 months ago (2017-02-14 22:11:30 UTC) #156
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/2564633002/650001
3 years, 10 months ago (2017-02-15 16:55:45 UTC) #158
commit-bot: I haz the power
Committed patchset #31 (id:650001) as https://chromium.googlesource.com/chromium/src/+/962434d34e2c9bcd17488f499515920c298b5395
3 years, 10 months ago (2017-02-15 18:55:51 UTC) #161
Matt Giuca
A revert of this CL (patchset #31 id:650001) has been created in https://codereview.chromium.org/2696283003/ by mgiuca@chromium.org. ...
3 years, 10 months ago (2017-02-16 03:03:21 UTC) #162
Matt Giuca
3 years, 10 months ago (2017-02-16 03:06:50 UTC) #164
Message was sent while issue was closed.
Sorry to have done this... it was painful hitting that revert button on such a
huge CL. I will monitor whether that fixes it. -- Your friendly sheriff.

Powered by Google App Engine
This is Rietveld 408576698