Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit365d26e

Browse files
committed
Add a <cxx-term> element to represent technical terms.
For now, this does nothing other than italicize the term, but we can make itlink to the definition in the future.
1 parent823924c commit365d26e

File tree

2 files changed

+24
-0
lines changed

2 files changed

+24
-0
lines changed

‎framework.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,5 +34,6 @@
3434
<linkrel="import"href="note.html"/>
3535
<linkrel="import"href="footnote.html"/>
3636
<linkrel="import"href="example.html"/>
37+
<linkrel="import"href="term.html"/>
3738
<linkrel="import"href="publish.html"/>
3839
<linkrel="import"href="range.html"/>

‎term.html‎

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
<!-- Copyright 2014 Google Inc. All rights reserved.
2+
3+
Licensed under the Apache License, Version 2.0 (the "License");
4+
you may not use this file except in compliance with the License.
5+
You may obtain a copy of the License at
6+
7+
http://www.apache.org/licenses/LICENSE-2.0
8+
9+
Unless required by applicable law or agreed to in writing, software
10+
distributed under the License is distributed on an "AS IS" BASIS,
11+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
See the License for the specific language governing permissions and
13+
limitations under the License.
14+
-->
15+
16+
<!-- This element represents a technical term defined somewhere else in the
17+
standard or TS. -->
18+
19+
<polymer-elementname="cxx-term"noscript>
20+
<!-- From whatwg: "The i element represents a span of text in an alternate
21+
voice or mood, ... such as ... a technical term ..." -->
22+
<template><i><content></content></i></template>
23+
</polymer-element>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp