Skip to content

Commit

Permalink
[css-fonts] make negative font-size-adjust values invalid.
Browse files Browse the repository at this point in the history
  • Loading branch information
John Daggett committed Mar 19, 2015
1 parent bd8f88c commit d4231da
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 19 deletions.
11 changes: 5 additions & 6 deletions biblio.ref
Expand Up @@ -2272,10 +2272,9 @@
%A Edward O'Connor
%A Silvia Pfeiffer
%A Ian Hickson
%S W3C Candidate Recommendation
%O (Work in progress.)
%D 17 June 2014
%U http://www.w3.org/TR/2014/WD-html5-20140617/
%S W3C Recommendation
%D 28 October 2014
%U http://www.w3.org/TR/2014/REC-html5-20141028/

%L HTML5-AUTHOR
%T HTML5: Edition for Web Authors
Expand Down Expand Up @@ -5620,8 +5619,8 @@
%L UNICODE
%A The Unicode Consortium
%T The Unicode Standard
%D 2013
%O Defined by: The Unicode Standard, Version 6.3.0, (Mountain View, CA: The Unicode Consortium, 2013. ISBN 978-1-936213-08-5), as updated from time to time by the publication of new versions
%D 2014
%O Defined by: The Unicode Standard, Version 7.0.0, (Mountain View, CA: The Unicode Consortium, 2014. ISBN 978-1-936213-09-2), as updated from time to time by the publication of new versions.
%U http://www.unicode.org/standard/versions/enumeratedversions.html

%L UNICODE-XML
Expand Down
31 changes: 18 additions & 13 deletions css-fonts/Fonts.html
Expand Up @@ -118,15 +118,15 @@

<h1>CSS Fonts Module Level 3</h1>

<h2 class="no-num no-toc" id=editors-draft-27-october-2014>Editor's Draft
27 October 2014</h2>
<h2 class="no-num no-toc" id=editors-draft-19-march-2015>Editor's Draft 19
March 2015</h2>

<dl id=authors>
<dt>This version:

<dd><a
href="http://dev.w3.org/csswg/css-fonts/">http://dev.w3.org/csswg/css-fonts/</a>
<!-- <dd><a href="http://www.w3.org/TR/2014/ED-css-fonts-3-20141027/">http://www.w3.org/TR/2014/ED-css-fonts-3-20141027/</a> -->
<!-- <dd><a href="http://www.w3.org/TR/2015/ED-css-fonts-3-20150319/">http://www.w3.org/TR/2015/ED-css-fonts-3-20150319/</a> -->


<dt>Latest version:
Expand Down Expand Up @@ -178,7 +178,7 @@ <h2 class="no-num no-toc" id=editors-draft-27-october-2014>Editor's Draft
<!--begin-copyright-->
<p class=copyright><a
href="http://www.w3.org/Consortium/Legal/ipr-notice#Copyright"
rel=license>Copyright</a> © 2014 <a href="http://www.w3.org/"><abbr
rel=license>Copyright</a> © 2015 <a href="http://www.w3.org/"><abbr
title="World Wide Web Consortium">W3C</abbr></a><sup>®</sup> (<a
href="http://www.csail.mit.edu/"><abbr title="Massachusetts Institute of
Technology">MIT</abbr></a>, <a href="http://www.ercim.eu/"><abbr
Expand Down Expand Up @@ -1472,14 +1472,14 @@ <h3 id=font-size-prop><span class=secno>3.5 </span>Font size: the <a
<dt><dfn id=length-size-value><var>&lt;length&gt;</var></dfn>

<dd>A length value specifies an absolute font size (independent of the
user agent's font table). Negative lengths are illegal.
user agent's font table). Negative lengths are invalid.

<dt><dfn id=percentage-size-value><var>&lt;percentage&gt;</var></dfn>

<dd>A percentage value specifies an absolute font size relative to the
parent element's font size. Use of percentage values, or values in
<code class=property>em</code>’s, leads to more robust and
cascadable style sheets.
cascadable style sheets. Negative percentages are invalid.
</dl>

<p>The following table provides user agent guidelines for the absolute-size
Expand Down Expand Up @@ -1735,6 +1735,8 @@ <h3 id=font-size-adjust-prop><span class=secno>3.6 </span>Relative sizing:
c = adjusted font-size to use
</pre>

<p>Negative values are invalid.</p>

<p>This value applies to any font that is selected but in typical usage
it should be based on the <a href="#aspect-value"><i>aspect
value</i></a> of the first font in the font-family list. If this is
Expand Down Expand Up @@ -6040,6 +6042,9 @@ <h3 class=no-num id=recent-changes> Changes from the <a
href="#propdef-font-variant" title="font-variant!!property"><code
class=property>font-variant</code></a> shorthand

<li>make negative values for font-size-adjust invalid, along with negative
percentage font-size values

<li>minor editorial cleanups
</ul>

Expand Down Expand Up @@ -6287,9 +6292,9 @@ <h3 class=no-num id=normative-references>Normative References</h3>
<dt id=ref-HTML5>[HTML5]

<dd>Robin Berjon; et al. <a
href="http://www.w3.org/TR/2014/WD-html5-20140617/"><cite>HTML5.</cite></a>
17 June 2014. W3C Candidate Recommendation. (Work in progress.) URL: <a
href="http://www.w3.org/TR/2014/WD-html5-20140617/">http://www.w3.org/TR/2014/WD-html5-20140617/</a>
href="http://www.w3.org/TR/2014/REC-html5-20141028/"><cite>HTML5.</cite></a>
28 October 2014. W3C Recommendation. URL: <a
href="http://www.w3.org/TR/2014/REC-html5-20141028/">http://www.w3.org/TR/2014/REC-html5-20141028/</a>
</dd>
<!---->

Expand Down Expand Up @@ -6354,10 +6359,10 @@ <h3 class=no-num id=normative-references>Normative References</h3>

<dd>The Unicode Consortium. <a
href="http://www.unicode.org/standard/versions/enumeratedversions.html"><cite>The
Unicode Standard.</cite></a> 2013. Defined by: The Unicode Standard,
Version 6.3.0, (Mountain View, CA: The Unicode Consortium, 2013. ISBN
978-1-936213-08-5), as updated from time to time by the publication of
new versions URL: <a
Unicode Standard.</cite></a> 2014. Defined by: The Unicode Standard,
Version 7.0.0, (Mountain View, CA: The Unicode Consortium, 2014. ISBN
978-1-936213-09-2), as updated from time to time by the publication of
new versions. URL: <a
href="http://www.unicode.org/standard/versions/enumeratedversions.html">http://www.unicode.org/standard/versions/enumeratedversions.html</a>
</dd>
<!---->
Expand Down

0 comments on commit d4231da

Please sign in to comment.