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

Unified Diff: third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html

Issue 1862213002: Roll third_party/polymer. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove obsolete appearance_browsertest.js, result of a previous bad merge. Created 4 years, 8 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/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html b/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html
index 5f5e645f77f4e38bd292a6defe5e3eb39362aa79..622648f08035f0cadd4e088c2fddc259dd4b7237 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-tabs/paper-tabs.html
@@ -52,7 +52,7 @@ between different views.
To use links in tabs, add `link` attribute to `paper-tab` and put an `<a>`
-element in `paper-tab`.
+element in `paper-tab` with a `tabindex` of -1.
Example:
@@ -66,13 +66,13 @@ Example:
&lt;paper-tabs selected="0">
&lt;paper-tab link>
- &lt;a href="#link1" class="link">TAB ONE&lt;/a>
+ &lt;a href="#link1" class="link" tabindex="-1">TAB ONE&lt;/a>
&lt;/paper-tab>
&lt;paper-tab link>
- &lt;a href="#link2" class="link">TAB TWO&lt;/a>
+ &lt;a href="#link2" class="link" tabindex="-1">TAB TWO&lt;/a>
&lt;/paper-tab>
&lt;paper-tab link>
- &lt;a href="#link3" class="link">TAB THREE&lt;/a>
+ &lt;a href="#link3" class="link" tabindex="-1">TAB THREE&lt;/a>
&lt;/paper-tab>
&lt;/paper-tabs>
</code></pre>
@@ -84,7 +84,7 @@ The following custom properties and mixins are available for styling:
Custom property | Description | Default
----------------|-------------|----------
`--paper-tabs-selection-bar-color` | Color for the selection bar | `--paper-yellow-a100`
-`--paper-tabs-selection-bar` | Mixin applied to the selection bar | {}
+`--paper-tabs-selection-bar` | Mixin applied to the selection bar | `{}`
`--paper-tabs` | Mixin applied to the tabs | `{}`
@hero hero.svg
@@ -102,9 +102,9 @@ Custom property | Description | Default
font-size: 14px;
font-weight: 500;
overflow: hidden;
- -moz-user-select: none;
- -ms-user-select: none;
- -webkit-user-select: none;
+ -moz-user-select: none;
+ -ms-user-select: none;
+ -webkit-user-select: none;
user-select: none;
/* NOTE: Both values are needed, since some phones require the value to be `transparent`. */

Powered by Google App Engine
This is Rietveld 408576698