aboutsummaryrefslogtreecommitdiff
path: root/files/zh-cn/web/svg/attribute/baseprofile/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'files/zh-cn/web/svg/attribute/baseprofile/index.html')
-rw-r--r--files/zh-cn/web/svg/attribute/baseprofile/index.html61
1 files changed, 61 insertions, 0 deletions
diff --git a/files/zh-cn/web/svg/attribute/baseprofile/index.html b/files/zh-cn/web/svg/attribute/baseprofile/index.html
new file mode 100644
index 0000000000..973a26bcf7
--- /dev/null
+++ b/files/zh-cn/web/svg/attribute/baseprofile/index.html
@@ -0,0 +1,61 @@
+---
+title: baseProfile
+slug: Web/SVG/Attribute/baseProfile
+translation_of: Web/SVG/Attribute/baseProfile
+---
+<p>« 返回 SVG 特性参考</p>
+
+<p><code>baseProfile</code> 特性描述了作者认为正确渲染内容所需要的最小的 SVG 语言概述。这个特性不会说明任何处理限制,可以把它看作是元数据。 比如,这个特性的值可以被编辑工具用来在用户的修改超出所指定的基准概述范围时发出警告。</p>
+
+<p>每个 SVG 概述应该为这个特性定义一个适合的文本。如果没有指定这个特性,效果就跟指定 <code>none</code> 一样。</p>
+
+<h2 id="使用背景">使用背景</h2>
+
+<table>
+ <tbody>
+ <tr>
+ <th scope="row">目录</th>
+ <td>无</td>
+ </tr>
+ <tr>
+ <th scope="row">值</th>
+ <td><strong>none</strong> | full| basic| tiny </td>
+ </tr>
+ <tr>
+ <th scope="row">动画特性</th>
+ <td>无</td>
+ </tr>
+ <tr>
+ <th scope="row">规范文档</th>
+ <td><a href="http://www.w3.org/TR/SVG11/text.html#BaselineShiftProperty" title="http://www.w3.org/TR/SVG11/text.html#BaselineShiftProperty">SVG 1.1 (第二版)</a></td>
+ </tr>
+ </tbody>
+</table>
+
+<dl>
+ <dt>none</dt>
+ <dd>代表了最小的 SVG 语言配置,没有描述作者关于正确渲染内容的观点。</dd>
+ <dt>full</dt>
+ <dd>代表一个正常的概述,适用于 PC。</dd>
+ <dt>basic</dt>
+ <dd>代表一个轻量级的概述,适用于 PDA。</dd>
+ <dt>tiny </dt>
+ <dd>代表更轻量的概述,适用于手机。</dd>
+</dl>
+
+<h2 id="例子">例子</h2>
+
+<pre class="brush: html">&lt;svg width="120" height="120" version="1.1"
+ xmlns="http://www.w3.org/2000/svg" baseProfile="full"&gt;
+
+ ...
+
+&lt;/svg&gt;</pre>
+
+<h2 id="元素">元素</h2>
+
+<p>以下元素会用到 <code>baseProfile</code> 特性</p>
+
+<ul>
+ <li>{{ SVGElement("svg") }}</li>
+</ul>