ProcessingInstruction: sheet プロパティ
Baseline Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since September 2015.
sheet
は ProcessingInstruction
インターフェイスの読み取り専用プロパティで、 ProcessingInstruction
に関連付けられたスタイルシートを保持します。
処理命令 xml-stylesheet
は XML ファイル内でスタイルシートを関連付けるために使用されます。
値
関連する Stylesheet
オブジェクト、または存在しない場合は null
です。
例
html
<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="rule.css"?>
<!-- … -->
この処理命令の sheet
プロパティは StyleSheet
オブジェクトで、rule.css
を示します。
仕様書
Specification |
---|
CSS Object Model (CSSOM) # dom-linkstyle-sheet |
ブラウザーの互換性
Report problems with this compatibility data on GitHubdesktop | mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
sheet |
Legend
Tip: you can click/tap on a cell for more information.
- Full support
- Full support
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.