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

Issue 986793002: Fix hit-testing of elements with the same z-index. (Closed)

Created:
5 years, 9 months ago by ojan
Modified:
5 years, 9 months ago
CC:
abarth-chromium, esprehn, mojo-reviews_chromium.org, qsr+mojo_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Fix hit-testing of elements with the same z-index. hit-testing needs to walk in backwards order from paint. The previous attempt at reverse sorting by z-index didn't reverse things with the same z-index. Instead, forward sort the same way as we do with paint and then reverse the whole vector. R=abarth@chromium.org, eseidel@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/8578ab267bc10446adc7cc5a076ca1d695644387

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+111 lines, -8 lines) Patch
M sky/engine/core/rendering/RenderBox.cpp View 3 chunks +7 lines, -8 lines 0 comments Download
A sky/tests/layout/document-elementFromPoint-absolute-position.sky View 1 chunk +92 lines, -0 lines 0 comments Download
A sky/tests/layout/document-elementFromPoint-absolute-position-expected.txt View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 5 (2 generated)
abarth-chromium
lgtm
5 years, 9 months ago (2015-03-06 23:43:54 UTC) #2
eseidel
lgtm
5 years, 9 months ago (2015-03-06 23:46:05 UTC) #4
ojan
5 years, 9 months ago (2015-03-06 23:53:06 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
8578ab267bc10446adc7cc5a076ca1d695644387 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698