Skip to content

Commit 15eb3c7

Browse files
committed
added issue on OM access to components of flex property
1 parent 2cf279c commit 15eb3c7

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

css3-flexbox/Overview.src.html

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1309,6 +1309,26 @@ <h2 id="pagination">
13091309
</li>
13101310
</ol>
13111311

1312+
<h2 id="cssom">CSSOM</h2>
1313+
1314+
<div class="issue">
1315+
<p>&#39;Flex&#39; property is currently defined as shorthand only, combining three
1316+
values. When queried&nbsp; from OM, it is seen as a string with up to three
1317+
values, which can be very complicated to deal with properly.</p>
1318+
1319+
<p>There should be separate properties to access flexibility components in OM, such as:</p>
1320+
1321+
<pre class="idl">
1322+
[Supplemental] interface "<a href="http://www.w3.org/TR/cssom/#cssstyledeclaration">CSSStyleDeclaration</a> {
1323+
attribute DOMString? flexPositive;
1324+
attribute DOMString? flexNegative;
1325+
attribute DOMString? flexPreferredSize;
1326+
};
1327+
</pre>
1328+
1329+
See <a href="https://www.w3.org/Bugs/Public/show_bug.cgi?id=16145">Bug-16145</a>
1330+
</div>
1331+
13121332
<h2 id="conformance">
13131333
Conformance</h2>
13141334

0 commit comments

Comments
 (0)