aboutsummaryrefslogtreecommitdiff
path: root/files/ja/web/api/cssvalue/index.html
blob: 07d56db6de63ac387440f9328eb7fb7af1012cb2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
---
title: CSSValue
slug: Web/API/CSSValue
tags:
  - API
  - CSSOM
  - CSSValue
  - Interface
  - NeedsExample
  - Obsolete
  - Reference
translation_of: Web/API/CSSValue
---
<div>{{APIRef("CSSOM")}}</div>

<p><code><strong>SSValue</strong></code> インターフェイスは、 CSS プロパティの現在の計算値を表します。</p>

<h2 id="プロパティ">プロパティ</h2>

<dl>
 <dt>{{DOMxRef("CSSValue.cssText")}}</dt>
 <dd>現在の値を表す {{DOMxRef("DOMString")}}</dd>
 <dt>{{DOMxRef("CSSValue.cssValueType")}}{{ReadOnlyInline}}</dt>
 <dd>値の型を定義するコードを表す <code>unsigned short</code> 。可能な値は次のとおりです:
 <table class="standard-table">
  <tbody>
   <tr>
    <td class="header">定数</td>
    <td class="header">説明</td>
   </tr>
   <tr>
    <td><code>CSS_CUSTOM</code></td>
    <td>The value is a custom value.</td>
   </tr>
   <tr>
    <td><code>CSS_INHERIT</code></td>
    <td>The value is inherited and the <code>cssText</code> contains <code>"inherit"</code>.</td>
   </tr>
   <tr>
    <td><code>CSS_PRIMITIVE_VALUE</code></td>
    <td>The value is a primitive value and an instance of the {{DOMxRef("CSSPrimitiveValue")}} interface can be obtained by using binding-specific casting methods on this instance of the <code>CSSValue</code> interface.</td>
   </tr>
   <tr>
    <td><code>CSS_VALUE_LIST</code></td>
    <td>The value is a <code>CSSValue</code> list and an instance of the {{DOMxRef("CSSValueList")}} interface can be obtained by using binding-specific casting methods on this instance of the <code>CSSValue</code> interface.</td>
   </tr>
  </tbody>
 </table>
 </dd>
</dl>

<h2 id="仕様">仕様</h2>

<table class="standard-table">
 <tbody>
  <tr>
   <th scope="col">仕様</th>
   <th scope="col">ステータス</th>
   <th scope="col">備考</th>
  </tr>
  <tr>
   <td>{{SpecName('DOM2 Style', 'css.html#CSS-CSSValue', 'CSSValue')}}</td>
   <td>{{Spec2('DOM2 Style')}}</td>
   <td>初回定義</td>
  </tr>
 </tbody>
</table>

<h2 id="ブラウザー実装状況">ブラウザー実装状況</h2>

<div>


<p>{{Compat("api.CSSValue")}}</p>
</div>

<h2 id="関連項目">関連項目</h2>

<ul>
 <li>{{DOMxRef("CSSPrimitiveValue")}}</li>
 <li>{{DOMxRef("CSSValueList")}}</li>
</ul>