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

Issue 2215333002: Fix element visibility check for validation bubbles and SELECT popups. (Closed)

Created:
4 years, 4 months ago by tkent
Modified:
4 years, 4 months ago
Reviewers:
bokan
CC:
blink-reviews, blink-reviews-dom_chromium.org, blink-reviews-html_chromium.org, chromium-reviews, dglazkov+blink, eae+blinkwatch, kinuko+watch, rwlbuis, sof
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix element visibility check for validation bubbles and SELECT popups. - Do not use FrameView::boundsRect() for element visibility check It's scaled by minimum-scale. We should use VisualViewport::size(). - Introduce Element::visibleBoundsInViewport() to merge duplicated code in HTMLSelectElement and ValidationMessageClientImpl. BUG=633457 Committed: https://crrev.com/48565e7338d3f8d0cbfdb082f51e609b7bfd4624 Cr-Commit-Position: refs/heads/master@{#410567}

Patch Set 1 #

Total comments: 10

Patch Set 2 : Rename to visibleBoundsInVisualViewport(), etc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+59 lines, -30 lines) Patch
M third_party/WebKit/Source/core/dom/Element.h View 1 1 chunk +4 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/Element.cpp View 1 2 chunks +15 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.h View 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElement.cpp View 1 2 chunks +1 line, -17 lines 0 comments Download
M third_party/WebKit/Source/core/html/HTMLSelectElementTest.cpp View 1 1 chunk +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/PopupMenuImpl.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/ValidationMessageClientImpl.cpp View 1 1 chunk +1 line, -8 lines 0 comments Download
M third_party/WebKit/Source/web/tests/VisualViewportTest.cpp View 1 1 chunk +16 lines, -0 lines 0 comments Download
A third_party/WebKit/Source/web/tests/data/viewport-select.html View 1 1 chunk +18 lines, -0 lines 0 comments Download

Messages

Total messages: 23 (17 generated)
tkent
bokan@, would you review this please?
4 years, 4 months ago (2016-08-05 12:58:07 UTC) #10
bokan
Sorry for the delay. Change is lgtm. I just have some naming and test suggestions. ...
4 years, 4 months ago (2016-08-08 15:23:00 UTC) #11
tkent
Thank you for reviewing. https://codereview.chromium.org/2215333002/diff/20001/third_party/WebKit/Source/core/dom/Element.h File third_party/WebKit/Source/core/dom/Element.h (right): https://codereview.chromium.org/2215333002/diff/20001/third_party/WebKit/Source/core/dom/Element.h#newcode224 third_party/WebKit/Source/core/dom/Element.h:224: // viewport rectangle, in the ...
4 years, 4 months ago (2016-08-09 03:17:12 UTC) #16
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/2215333002/40001
4 years, 4 months ago (2016-08-09 03:17:38 UTC) #19
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years, 4 months ago (2016-08-09 03:43:33 UTC) #21
commit-bot: I haz the power
4 years, 4 months ago (2016-08-09 03:45:57 UTC) #23
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/48565e7338d3f8d0cbfdb082f51e609b7bfd4624
Cr-Commit-Position: refs/heads/master@{#410567}

Powered by Google App Engine
This is Rietveld 408576698