草案
此页面不完整。
这是
实验性技术
检查
浏览器兼容性表格
要小心谨慎在生产中使用这之前。
weight
特性为
FontFace
interface retrieves or sets the weight of the font. It is equivalent to the
font-weight
descriptor.
var weightDescriptor = FontFace.weight; FontFace.weight = weightDescriptor;
A
CSSOMString
containing a descriptor as it would be defined in a style sheet's
@font-face
rule.
| 规范 | 状态 | 注释 |
|---|---|---|
|
CSS Font Loading Module Level 3
The definition of 'weight' in that specification. |
工作草案 | 初始定义。 |
| 桌面 | 移动 | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
weight
|
Chrome 35 | Edge 79 | Firefox Yes | IE ? | Opera Yes | Safari 10 | WebView Android 37 | Chrome Android 35 | Firefox Android Yes | Opera Android Yes | Safari iOS Yes | Samsung Internet Android 4.0 |
完整支持
兼容性未知
实验。期望将来行为有所改变。
FontFace