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

Unified Diff: sdk/lib/html/dartium/html_dartium.dart

Issue 52443007: Allow matchingTarget to also include the currentTarget. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
Download patch
Index: sdk/lib/html/dartium/html_dartium.dart
diff --git a/sdk/lib/html/dartium/html_dartium.dart b/sdk/lib/html/dartium/html_dartium.dart
index 7d5d233479d2842d0b99f5a4f6a3d0fb36d87fab..2ee6d4022d77fc90732a9657163888325dac63db 100644
--- a/sdk/lib/html/dartium/html_dartium.dart
+++ b/sdk/lib/html/dartium/html_dartium.dart
@@ -10962,7 +10962,7 @@ class Event extends NativeFieldWrapperClass2 {
var currentTarget = this.currentTarget;
var target = this.target;
var matchedTarget;
- while (matchedTarget == null && target != currentTarget && target != null) {
+ while (matchedTarget == null && target != currentTarget.parent && target != null) {
if (target.matches(_selector)) {
matchedTarget = target;
}
@@ -34378,6 +34378,13 @@ final _pureIsolatePrintClosure = (s) {
final _forwardingPrintClosure = _Utils.forwardingPrint;
+final _uriBaseClosure = () => Uri.parse(window.location.href);
+
+final _pureIsolateUriBaseClosure = () {
+ throw new UnimplementedError("Uri.base on a background isolate "
+ "is not supported in the browser");
+};
+
class _Timer implements Timer {
var _canceler;

Powered by Google App Engine
This is Rietveld 408576698