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

Unified Diff: chrome/browser/resources/options/startup_section.html

Issue 539383003: Fix some more for= usage. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 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: chrome/browser/resources/options/startup_section.html
diff --git a/chrome/browser/resources/options/startup_section.html b/chrome/browser/resources/options/startup_section.html
index 41a34ecb47bdad8646ff951f16537262854f931e..fd14dabd4a35d332ef2ce96b33e2e793ceb76cc1 100644
--- a/chrome/browser/resources/options/startup_section.html
+++ b/chrome/browser/resources/options/startup_section.html
@@ -1,53 +1,48 @@
<section id="startup-section" guest-visibility="hidden">
<h3 i18n-content="sectionTitleStartup"></h3>
<div id="startup-section-content">
- <div class="radio" id="newtab-section-content">
- <span class="controlled-setting-with-label">
- <input id="startup-newtab" type="radio" name="startup" value="5"
+ <div class="radio controlled-setting-with-label"
+ id="newtab-section-content">
+ <label>
+ <input type="radio" name="startup" value="5"
pref="session.restore_on_startup"
metric="Options_Startup_NewTab">
<span>
- <label for="startup-newtab" i18n-content="startupShowNewTab"></label>
+ <span i18n-content="startupShowNewTab"></span>
<span class="controlled-setting-indicator"
- pref="session.restore_on_startup" value="5">
- </span>
+ pref="session.restore_on_startup" value="5"></span>
</span>
- </span>
+ </label>
</div>
- <div class="radio">
- <span class="controlled-setting-with-label">
+ <div class="radio controlled-setting-with-label">
+ <label>
<input id="startup-restore-session" type="radio" name="startup"
value="1" pref="session.restore_on_startup"
metric="Options_Startup_LastSession">
<span>
- <label for="startup-restore-session"
- i18n-content="startupRestoreLastSession">
- </label>
+ <span i18n-content="startupRestoreLastSession"></span>
<span class="controlled-setting-indicator"
- pref="session.restore_on_startup" value="1">
- </span>
+ pref="session.restore_on_startup" value="1"></span>
</span>
- </span>
+ </label>
</div>
- <div class="radio">
- <span class="controlled-setting-with-label">
+ <div class="radio controlled-setting-with-label">
+ <label>
<input id="startup-show-pages" type="radio" name="startup"
pref="session.restore_on_startup"
value="4" metric="Options_Startup_Custom">
<span>
- <label for="startup-show-pages" i18n-content="startupShowPages">
- </label>
- <span class="controlled-setting-indicator"
- pref="session.restore_on_startup" value="4">
- </span>
- <button id="startup-set-pages" class="link-button"
- i18n-content="startupSetPages">
- </button>
+ <span i18n-content="startupShowPages"></span>
<span class="controlled-setting-indicator"
- pref="session.startup_urls">
- </span>
+ pref="session.restore_on_startup" value="4"></span>
</span>
</label>
+ <button id="startup-set-pages" class="link-button"
+ i18n-content="startupSetPages">
+ </button>
+ <span class="controlled-setting-indicator"
+ pref="session.startup_urls">
+ </span>
</div>
</div>
</section>

Powered by Google App Engine
This is Rietveld 408576698