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

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 2661623003: Revert of DevTools: Move radio button input element into Shadow DOM (Closed)
Patch Set: Created 3 years, 11 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
Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
index 2739d234b0ccaeddd70c89746211f67c2bdb89e0..ef8aed6389eba681045fa65787b2f186f404147a 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1354,9 +1354,10 @@
* @this {Element}
*/
createdCallback: function() {
+ this.radioElement = this.createChild('input', 'dt-radio-button');
+ this.radioElement.type = 'radio';
var root = UI.createShadowRootWithCoreStyles(this, 'ui/radioButton.css');
- this.radioElement = root.createChild('input', 'dt-radio-button');
- this.radioElement.type = 'radio';
+ root.createChild('content').select = '.dt-radio-button';
root.createChild('content');
this.addEventListener('click', radioClickHandler, false);
},

Powered by Google App Engine
This is Rietveld 408576698