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

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

Issue 1766433002: Roll Polymer to 1.3.1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 9 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-item/paper-item.html
diff --git a/third_party/polymer/v1_0/components-chromium/paper-item/paper-item.html b/third_party/polymer/v1_0/components-chromium/paper-item/paper-item.html
index bfafc7cc84afb5157cdd19f6a34deac5a80b1438..2f4ceb98623701f50779e2a14905526532210147 100644
--- a/third_party/polymer/v1_0/components-chromium/paper-item/paper-item.html
+++ b/third_party/polymer/v1_0/components-chromium/paper-item/paper-item.html
@@ -29,6 +29,14 @@ items.
<iron-icon icon="warning"></iron-icon>
</paper-item>
+To use `paper-item` as a link, wrap it in an anchor tag. Since `paper-item` will
+already receive focus, you may want to prevent the anchor tag from receiving
+focus as well by setting its tabindex to -1.
+
+ <a href="https://www.polymer-project.org/" tabindex="-1">
+ <paper-item raised>Polymer Project</paper-item>
+ </a>
+
### Styling
The following custom properties and mixins are available for styling:

Powered by Google App Engine
This is Rietveld 408576698