diff options
| author | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:15 -0500 |
|---|---|---|
| committer | Peter Bengtsson <mail@peterbe.com> | 2020-12-08 14:41:15 -0500 |
| commit | 4b1a9203c547c019fc5398082ae19a3f3d4c3efe (patch) | |
| tree | d4a40e13ceeb9f85479605110a76e7a4d5f3b56b /files/de/web/api/csspagerule | |
| parent | 33058f2b292b3a581333bdfb21b8f671898c5060 (diff) | |
| download | translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.gz translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.tar.bz2 translated-content-4b1a9203c547c019fc5398082ae19a3f3d4c3efe.zip | |
initial commit
Diffstat (limited to 'files/de/web/api/csspagerule')
| -rw-r--r-- | files/de/web/api/csspagerule/index.html | 129 |
1 files changed, 129 insertions, 0 deletions
diff --git a/files/de/web/api/csspagerule/index.html b/files/de/web/api/csspagerule/index.html new file mode 100644 index 0000000000..c6a30fc95e --- /dev/null +++ b/files/de/web/api/csspagerule/index.html @@ -0,0 +1,129 @@ +--- +title: CSSPageRule +slug: Web/API/CSSPageRule +tags: + - API + - CSSOM + - Referenz +translation_of: Web/API/CSSPageRule +--- +<p>{{ APIRef("CSSOM") }}</p> + +<h2 id="Übersicht">Übersicht</h2> + +<p><strong><code>CSSPageRule</code></strong> ist eine Schnittstelle, die eine einzelne CSS {{cssxref("@page")}} Regel repräsentiert. Sie implementiert die {{domxref("CSSRule")}} Schnittstelle mit dem Typwert <code>6</code> (<code>CSSRule.PAGE_RULE</code>).</p> + +<h2 id="Syntax">Syntax</h2> + +<p>Die Syntax wird im <a href="http://dev.w3.org/2006/webapi/WebIDL/" title="http://dev.w3.org/2006/webapi/WebIDL/">WebIDL</a> Format beschrieben.</p> + +<pre>interface CSSPageRule : CSSRule { + attribute DOMString selectorText; + readonly attribute CSSStyleDeclaration style; +}; +</pre> + +<h2 id="Eigenschaften">Eigenschaften</h2> + +<p>Als eine {{ domxref("CSSRule") }} implementiert <code>CSSPageRule</code> auch die Eigenschaften dieser Schnittstelle. Sie hat die folgenden speziellen Eigenschaften:</p> + +<dl> + <dt>{{domxref("CSSPageRule.selectorText")}}</dt> + <dd>Repräsentiert den Text eines zur At-Regel gehörenden Seitenselektors.</dd> + <dt>{{domxref("CSSPageRule.style")}} {{readonlyinline()}}</dt> + <dd>Gibt den zur At-Regel gehörenden Deklarationsblock zurück.</dd> +</dl> + +<h2 id="Methoden">Methoden</h2> + +<p>Als eine {{ domxref("CSSRule") }} implementiert <code>CSSPageRule</code> auch die Methoden dieser Schnittstelle. Sie hat keine speziellen Methoden.</p> + +<h2 id="Spezifikationen">Spezifikationen</h2> + +<table class="standard-table"> + <thead> + <tr> + <th scope="col">Spezifikation</th> + <th scope="col">Status</th> + <th scope="col">Anmerkung</th> + </tr> + </thead> + <tbody> + <tr> + <td>{{ SpecName('CSSOM', '#the-csspagerule-interface', 'CSSPageRule') }}</td> + <td>{{ Spec2('CSSOM') }}</td> + <td>Keine Änderungen bezüglich {{SpecName('DOM2 Style')}}</td> + </tr> + <tr> + <td>{{SpecName('DOM2 Style', 'css.html#CSS-CSSPageRule', 'CSSPageRule') }}</td> + <td>{{ Spec2('DOM2 Style') }}</td> + <td> </td> + </tr> + </tbody> +</table> + +<h2 id="Browser_Kompatibilität">Browser Kompatibilität</h2> + +<p>{{ CompatibilityTable() }}</p> + +<div id="compat-desktop"> +<table class="compat-table"> + <tbody> + <tr> + <th>Merkmal</th> + <th>Chrome</th> + <th>Firefox (Gecko)</th> + <th>Internet Explorer</th> + <th>Opera</th> + <th>Safari (WebKit)</th> + </tr> + <tr> + <td>Grundlegende Unterstützung</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatGeckoDesktop("19") }}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + </tr> + <tr> + <td><code>selectorText</code></td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + <td>{{ CompatVersionUnknown }}</td> + </tr> + </tbody> +</table> +</div> + +<div id="compat-mobile"> +<table class="compat-table"> + <tbody> + <tr> + <th>Merkmal</th> + <th>Android</th> + <th>Firefox Mobile (Gecko)</th> + <th>IE Phone</th> + <th>Opera Mobile</th> + <th>Safari Mobile</th> + </tr> + <tr> + <td>Grundlegende Unterstützung</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatGeckoMobile("19") }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + </tr> + <tr> + <td><code>selectorText</code></td> + <td>{{ CompatUnknown() }}</td> + <td>{{CompatNo}}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + <td>{{ CompatUnknown() }}</td> + </tr> + </tbody> +</table> +</div> |
