@@ -1570,7 +1570,7 @@ are represented as {{CSSUnitValue}}s.
1570
1570
[Constructor(double value, DOMString unit)]
1571
1571
interface CSSUnitValue : CSSNumericValue {
1572
1572
attribute double value;
1573
- attribute DOMString unit;
1573
+ readonly attribute DOMString unit;
1574
1574
};
1575
1575
</xmp>
1576
1576
@@ -1588,21 +1588,6 @@ are represented as {{CSSUnitValue}}s.
1588
1588
and its {{CSSUnitValue/unit}} set to |unit|.
1589
1589
</div>
1590
1590
1591
- <div algorithm="CSSUnitValue.unit">
1592
- The <dfn attribute for=CSSUnitValue>unit</dfn> attribute of a {{CSSUnitValue}} |this| must,
1593
- on setting a value |unit|,
1594
- perform the following steps:
1595
-
1596
- 1. If [=creating a type=] from |unit| returns failure,,
1597
- [=throw=] a {{TypeError}} .
1598
-
1599
- 2. Otherwise,
1600
- set |this|’s {{CSSUnitValue/unit}} internal slot to |unit|.
1601
-
1602
- On reading,
1603
- it must return the value of |this|’s {{CSSUnitValue/unit}} internal slot.
1604
- </div>
1605
-
1606
1591
<div algorithm>
1607
1592
The <dfn>[=type=] of a {{CSSUnitValue}}</dfn>
1608
1593
is the result of [=creating a type=] from its {{CSSUnitValue/unit}} internal slot.
@@ -1681,32 +1666,32 @@ interface CSSMathValue : CSSNumericValue {
1681
1666
1682
1667
[Constructor(CSSNumberish... args)]
1683
1668
interface CSSMathSum : CSSMathValue {
1684
- attribute CSSNumericArray values;
1669
+ readonly attribute CSSNumericArray values;
1685
1670
};
1686
1671
1687
1672
[Constructor(CSSNumberish... args)]
1688
1673
interface CSSMathProduct : CSSMathValue {
1689
- attribute CSSNumericArray values;
1674
+ readonly attribute CSSNumericArray values;
1690
1675
};
1691
1676
1692
1677
[Constructor(CSSNumberish arg)]
1693
1678
interface CSSMathNegate : CSSMathValue {
1694
- attribute CSSNumericValue value;
1679
+ readonly attribute CSSNumericValue value;
1695
1680
};
1696
1681
1697
1682
[Constructor(CSSNumberish arg)]
1698
1683
interface CSSMathInvert : CSSMathValue {
1699
- attribute CSSNumericValue value;
1684
+ readonly attribute CSSNumericValue value;
1700
1685
};
1701
1686
1702
1687
[Constructor(CSSNumberish... args)]
1703
1688
interface CSSMathMin : CSSMathValue {
1704
- attribute CSSNumericArray values;
1689
+ readonly attribute CSSNumericArray values;
1705
1690
};
1706
1691
1707
1692
[Constructor(CSSNumberish... args)]
1708
1693
interface CSSMathMax : CSSMathValue {
1709
- attribute CSSNumericArray values;
1694
+ readonly attribute CSSNumericArray values;
1710
1695
};
1711
1696
1712
1697
interface CSSNumericArray {}; // See issue below
0 commit comments