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

Issue 2234173002: Skip hit testing containers with invalid bounding boxes (Closed)

Created:
4 years, 4 months ago by pdr.
Modified:
4 years, 4 months ago
Reviewers:
Stephen Chennney, fs
CC:
blink-reviews, blink-reviews-layout_chromium.org, chromium-reviews, krit, eae+blinkwatch, f(malita), fs, gyuyoung2, jchaffraix+rendering, kouhei+svg_chromium.org, leviw+renderwatch, pdr+renderingwatchlist_chromium.org, pdr+svgwatchlist_chromium.org, rwlbuis, Stephen Chennney, szager+layoutwatch_chromium.org, zoltan1
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Skip hit testing containers with invalid bounding boxes When an SVG container has no children, it's bounding box is considered invalid. We had an assert that would fire when hit testing invalid containers, but this assert should just be an if statement because it is okay to hit test empty containers. BUG=629274 Committed: https://crrev.com/0bb88dbb01568d8f386365abac2bfd148bb9b2b6 Cr-Commit-Position: refs/heads/master@{#411536}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address reviewer comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+27 lines, -3 lines) Patch
A third_party/WebKit/LayoutTests/svg/hittest/empty-container.html View 1 1 chunk +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/svg/LayoutSVGContainer.cpp View 1 1 chunk +3 lines, -3 lines 0 comments Download

Messages

Total messages: 18 (10 generated)
pdr.
4 years, 4 months ago (2016-08-10 23:23:55 UTC) #3
fs
lgtm https://codereview.chromium.org/2234173002/diff/1/third_party/WebKit/LayoutTests/svg/hittest/empty-container.html File third_party/WebKit/LayoutTests/svg/hittest/empty-container.html (right): https://codereview.chromium.org/2234173002/diff/1/third_party/WebKit/LayoutTests/svg/hittest/empty-container.html#newcode15 third_party/WebKit/LayoutTests/svg/hittest/empty-container.html:15: Hit testing an empty container should not crash. ...
4 years, 4 months ago (2016-08-11 15:22:04 UTC) #7
pdr.
https://codereview.chromium.org/2234173002/diff/1/third_party/WebKit/LayoutTests/svg/hittest/empty-container.html File third_party/WebKit/LayoutTests/svg/hittest/empty-container.html (right): https://codereview.chromium.org/2234173002/diff/1/third_party/WebKit/LayoutTests/svg/hittest/empty-container.html#newcode15 third_party/WebKit/LayoutTests/svg/hittest/empty-container.html:15: Hit testing an empty container should not crash. On ...
4 years, 4 months ago (2016-08-11 22:51:24 UTC) #8
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/2234173002/20001
4 years, 4 months ago (2016-08-11 22:52:16 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/259824)
4 years, 4 months ago (2016-08-12 00:15:18 UTC) #13
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/2234173002/20001
4 years, 4 months ago (2016-08-12 00:17:01 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001)
4 years, 4 months ago (2016-08-12 03:17:50 UTC) #16
commit-bot: I haz the power
4 years, 4 months ago (2016-08-12 03:20:33 UTC) #18
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/0bb88dbb01568d8f386365abac2bfd148bb9b2b6
Cr-Commit-Position: refs/heads/master@{#411536}

Powered by Google App Engine
This is Rietveld 408576698