Skip to content

Commit c6a322e

Browse files
committed
[css-variables] Add a changes section.
1 parent 616ab4c commit c6a322e

2 files changed

Lines changed: 33 additions & 4 deletions

File tree

css-variables/Overview.bs

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ Level: 1
77
Group: csswg
88
TR: http://www.w3.org/TR/css-variables-1/
99
ED: http://dev.w3.org/csswg/css-variables/
10+
Previous Version: http://www.w3.org/TR/2013/WD-css-variables-1-20130620/
1011
Previous Version: http://www.w3.org/TR/2013/WD-css-variables-20130312/
1112
Previous Version: http://www.w3.org/TR/2012/WD-css-variables-20120410/
1213
Editor: Tab Atkins Jr., Google, http://xanthir.com/contact
@@ -623,7 +624,21 @@ Serializing Custom Properties</h4>
623624

624625

625626
<h2 id='changes'>
626-
Changes</h2>
627+
Changes since the June 20 2013 Last Call Working Draft</h2>
628+
629+
<ul>
630+
<li>
631+
The syntax of custom properties was changed from ''var-foo'' to ''--foo''.
632+
633+
<li>
634+
The ''var()'' function takes the full custom property name as its first argument,
635+
rather than the name minus a prefix.
636+
637+
<li>
638+
The CSSVariablesMap interface was removed,
639+
in favor of a better custom-property API to be defined in the future.
640+
</ul>
641+
627642

628643

629644
<h2 id="acks">

css-variables/Overview.html

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<h1 class="p-name no-ref" id=title>CSS Custom Properties for Cascading Variables Module Level 1</h1>
5858
<h2 class="no-num no-toc no-ref heading settled heading" id=subtitle><span class=content>Editor’s Draft,
5959
<span class=dt-updated><span class=value-title title=20140325>25 March 2014</span></span></span></h2>
60-
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-variables/>http://dev.w3.org/csswg/css-variables/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-variables-1/>http://www.w3.org/TR/css-variables-1/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-variables/>http://dev.w3.org/csswg/css-variables/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css-variables-20130312/ rel=previous>http://www.w3.org/TR/2013/WD-css-variables-20130312/</a><dd><a href=http://www.w3.org/TR/2012/WD-css-variables-20120410/ rel=previous>http://www.w3.org/TR/2012/WD-css-variables-20120410/</a>
60+
<div data-fill-with=spec-metadata><dl><dt>This version:<dd><a class=u-url href=http://dev.w3.org/csswg/css-variables/>http://dev.w3.org/csswg/css-variables/</a><dt>Latest version:<dd><a href=http://www.w3.org/TR/css-variables-1/>http://www.w3.org/TR/css-variables-1/</a><dt>Editor’s Draft:<dd><a href=http://dev.w3.org/csswg/css-variables/>http://dev.w3.org/csswg/css-variables/</a><dt>Previous Versions:<dd><a href=http://www.w3.org/TR/2013/WD-css-variables-1-20130620/ rel=previous>http://www.w3.org/TR/2013/WD-css-variables-1-20130620/</a><dd><a href=http://www.w3.org/TR/2013/WD-css-variables-20130312/ rel=previous>http://www.w3.org/TR/2013/WD-css-variables-20130312/</a><dd><a href=http://www.w3.org/TR/2012/WD-css-variables-20120410/ rel=previous>http://www.w3.org/TR/2012/WD-css-variables-20120410/</a>
6161
<dt>Feedback:</dt>
6262
<dd><a href="mailto:www-style@w3.org?subject=%5Bcss-variables%5D%20feedback">www-style@w3.org</a>
6363
with subject line
@@ -120,7 +120,7 @@ <h2 class="no-num no-toc no-ref heading settled heading" id=contents><span class
120120
<li><a href=#cssom><span class=secno>4</span> APIs</a>
121121
<ul class=toc>
122122
<li><a href=#serializing-custom-props><span class=secno>4.1</span> Serializing Custom Properties</a></ul></ul>
123-
<li><a href=#changes><span class=secno>5</span> Changes</a>
123+
<li><a href=#changes><span class=secno>5</span> Changes since the June 20 2013 Last Call Working Draft</a>
124124
<li><a href=#acks><span class=secno>6</span> Acknowledgments</a>
125125
<li><a href=#conformance><span class=secno></span> Conformance</a>
126126
<ul class=toc>
@@ -667,7 +667,21 @@ <h4 class="heading settled heading" data-level=4.1 id=serializing-custom-props><
667667

668668

669669
<h2 class="heading settled heading" data-level=5 id=changes><span class=secno>5 </span><span class=content>
670-
Changes</span><a class=self-link href=#changes></a></h2>
670+
Changes since the June 20 2013 Last Call Working Draft</span><a class=self-link href=#changes></a></h2>
671+
672+
<p> <ul>
673+
<li>
674+
The syntax of custom properties was changed from <span class=css data-link-type=maybe title=var-foo>var-foo</span> to <span class=css data-link-type=maybe title=--foo>--foo</span>.
675+
676+
<li>
677+
The <a class=css data-link-type=maybe href=#funcdef-var title=var()>var()</a> function takes the full custom property name as its first argument,
678+
rather than the name minus a prefix.
679+
680+
<li>
681+
The CSSVariablesMap interface was removed,
682+
in favor of a better custom-property API to be defined in the future.
683+
</ul>
684+
671685

672686

673687
<h2 class="heading settled heading" data-level=6 id=acks><span class=secno>6 </span><span class=content>

0 commit comments

Comments
 (0)