Skip to content

Commit b4faea6

Browse files
committed
[cssom] Define resolved value for logical properties
Fixes w3c#384. Per resolution in https://lists.w3.org/Archives/Public/www-style/2016Aug/0070.html
1 parent f32b172 commit b4faea6

File tree

1 file changed

+25
-10
lines changed

1 file changed

+25
-10
lines changed

cssom/Overview.bs

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ spec:css-namespaces-3; type:dfn; text:namespace prefix
107107
spec:dom; type:interface; text:Document
108108
spec:html; type:dfn; text:ascii case-insensitive
109109
spec:html; type:dfn; text:case-sensitive
110+
spec:css-logical-props-1; type:property; text:inline-size
110111
</pre>
111112

112113
<script src=https://resources.whatwg.org/file-issue.js defer data-file-issue-url="https://github.com/w3c/csswg-drafts/issues/new?title=%5Bcssom%5D%20"></script>
@@ -2675,31 +2676,44 @@ as follows:
26752676
<dt>'line-height'
26762677
<dd>The <a>resolved value</a> is the <a>used value</a>.
26772678

2679+
<dt>'block-size'
26782680
<dt>'height'
2679-
<dt>'margin'
2681+
<dt>'inline-size'
2682+
<dt>'margin-block-end'
2683+
<dt>'margin-block-start'
26802684
<dt>'margin-bottom'
2685+
<dt>'margin-inline-end'
2686+
<dt>'margin-inline-start'
26812687
<dt>'margin-left'
26822688
<dt>'margin-right'
26832689
<dt>'margin-top'
2684-
<dt>'padding'
2690+
<dt>'margin'
2691+
<dt>'padding-block-end'
2692+
<dt>'padding-block-start'
26852693
<dt>'padding-bottom'
2694+
<dt>'padding-inline-end'
2695+
<dt>'padding-inline-start'
26862696
<dt>'padding-left'
26872697
<dt>'padding-right'
26882698
<dt>'padding-top'
2699+
<dt>'padding'
26892700
<dt>'width'
2690-
<dd>If the property applies to the element or pseudo-element and the
2691-
<a>resolved value</a> of the 'display' property is not
2692-
''display/none'', the <a>resolved value</a> is the
2693-
<a>used value</a>. Otherwise the <a>resolved value</a> is the
2694-
<a>computed value</a>.
2701+
<dd>If the property applies to the element or pseudo-element and the <a>resolved value</a> of the
2702+
'display' property is not ''display/none'', then the <a>resolved value</a> is the <a>used
2703+
value</a>. Otherwise the <a>resolved value</a> is the <a>computed value</a>.
26952704

26962705
<dt>'bottom'
26972706
<dt>'left'
2707+
<dt>'offset-block-end'
2708+
<dt>'offset-block-start'
2709+
<dt>'offset-inline-end'
2710+
<dt>'offset-inline-start'
26982711
<dt>'right'
26992712
<dt>'top'
27002713
<dd>If the property applies to a positioned element and the <a>resolved value</a> of the 'display'
2701-
property is not ''display/none'', and the property is not over-constrained, the <a>resolved
2702-
value</a> is the <a>used value</a>. Otherwise the <a>resolved value</a> is the computed value.
2714+
property is not ''display/none'', and the property is not over-constrained, then the <a>resolved
2715+
value</a> is the <a>used value</a>. Otherwise the <a>resolved value</a> is the <a>computed
2716+
value</a>.
27032717

27042718
<dt>Any other property
27052719
<dd>The <a>resolved value</a> is the <a>computed value</a>.
@@ -2829,7 +2843,8 @@ Robert O'Callahan,
28292843
Simon Sapin,
28302844
Sjoerd Visscher,
28312845
Sylvain Galineau,
2832-
Tarquin Wilton-Jones, and
2846+
Tarquin Wilton-Jones,
2847+
Xidorn Quan, and
28332848
Zack Weinberg
28342849
for contributing to this specification.
28352850

0 commit comments

Comments
 (0)