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

Unified Diff: chrome/browser/resources/options/options_page.js

Issue 6961034: WebUI: Remove work around for label click bug. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/options/options_page.js
diff --git a/chrome/browser/resources/options/options_page.js b/chrome/browser/resources/options/options_page.js
index e0f81728a989b890648b8f9258653c85c01f0029..2d1093bdde7e6de689b47c707f314614cad06b3d 100644
--- a/chrome/browser/resources/options/options_page.js
+++ b/chrome/browser/resources/options/options_page.js
@@ -687,16 +687,6 @@ cr.define('options', function() {
if (!topPage || topPage.isOverlay || !topPage.parentPage)
return;
- // Do nothing if the client coordinates are not within the source element.
- // This situation is indicative of a Webkit bug where clicking on a
- // radio/checkbox label span will generate an event with client coordinates
- // of (-scrollX, -scrollY).
- // See https://bugs.webkit.org/show_bug.cgi?id=56606
- if (event.clientX == -document.body.scrollLeft &&
- event.clientY == -document.body.scrollTop) {
- return;
- }
-
// Don't interfere with navbar clicks.
if ($('navbar').contains(event.target))
return;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698