Skip to content

Commit 2a6a86f

Browse files
committed
[mediaqueries] Add issue about <range> being restricted to integer components.
1 parent c6cfcaa commit 2a6a86f

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

mediaqueries/Overview.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,10 @@ <h3 class="heading settled heading" data-level=1.2 id=values><span class=secno>1
238238
<a class="production css-code" data-link-type=type href=#typedef-ratio title="<ratio>">&lt;ratio&gt;</a>s can be ordered or compared by transforming them into the number
239239
obtained by dividing their first <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a> by their second <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a>.
240240

241+
<p class=issue id=issue-c2c00837><a class=self-link href=#issue-c2c00837></a>
242+
Reasonable to restrict <a class="production css-code" data-link-type=type href=#typedef-ratio title="<ratio>">&lt;ratio&gt;</a> to <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a>s?
243+
I’ve seen aspect ratios written with decimal points in real life.
244+
241245
<p> The <dfn class=css-code data-dfn-type=type data-export="" id=typedef-mq-boolean>&lt;mq-boolean&gt;<a class=self-link href=#typedef-mq-boolean></a></dfn> value type is an <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a>
242246
with the value <span class=css data-link-type=maybe title=0>0</span> or <span class=css data-link-type=maybe title=1>1</span>.
243247
Any other integer value is invalid.
@@ -2067,6 +2071,10 @@ <h2 class="no-num no-ref heading settled heading" id=property-index><span class=
20672071

20682072

20692073
<h2 class="no-num heading settled" id=issues-index><span class=content>Issues Index</span><a class=self-link href=#issues-index></a></h2><div style="counter-reset: issue"><div class=issue>
2074+
Reasonable to restrict <a class="production css-code" data-link-type=type href=#typedef-ratio title="<ratio>">&lt;ratio&gt;</a> to <a class="production css-code" data-link-type=type href=http://dev.w3.org/csswg/css-syntax-3/#typedef-integer title="<integer>">&lt;integer&gt;</a>s?
2075+
I’ve seen aspect ratios written with decimal points in real life.
2076+
2077+
<a href=#issue-c2c00837></a></div><div class=issue>
20702078
Another media feature should probably be added to deal with the type of resolution authors want to know to deal with monochrome printing.
20712079

20722080
<a href=#issue-f5f73c8d></a></div><div class=issue>

mediaqueries/Overview.src.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,10 @@ <h3 id="values">
9797
<<ratio>>s can be ordered or compared by transforming them into the number
9898
obtained by dividing their first <<integer>> by their second <<integer>>.
9999

100+
<p class='issue'>
101+
Reasonable to restrict <<ratio>> to <<integer>>s?
102+
I've seen aspect ratios written with decimal points in real life.
103+
100104
The <dfn type>&lt;mq-boolean></dfn> value type is an <<integer>>
101105
with the value ''0'' or ''1''.
102106
Any other integer value is invalid.

0 commit comments

Comments
 (0)