This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 19565 - Unusual parameter values yield unusual rendering
Summary: Unusual parameter values yield unusual rendering
Status: RESOLVED FIXED
Alias: None
Product: webplatform.org
Classification: Unclassified
Component: content (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Chris Mills
QA Contact: public-webplatform-bugs list
URL: http://docs.webplatform.org/wiki/css/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-16 22:44 UTC by Eliot Graff
Modified: 2013-09-05 16:23 UTC (History)
3 users (show)

See Also:


Attachments

Description Eliot Graff 2012-10-16 22:44:04 UTC
In the mentioned topic, the parameter values are not simple typos, and the form interprets them weirdly.

Source:

|Values={{CSS Property Value
|Data Type=snapInterval(<start length>, <step length>)
|Description=Specifies where the snap-points will be placed. 

<ul>
<li>'''start&lt;length&gt;''' specifies where the first snap-point will be placed.</li>
<li>'''step&lt;length&gt;''' specifies the distance between subsequent snap-points both to the left and the right of the initial snap-point.</li>
</ul>
}}{{CSS Property Value
|Data Type=snapList(&lt;list lengths&gt;)
|Description=Specifies the position of individual snap-points.  

<ul>
<li>If the value specified in '''&lt;list lengths&gt;''' is less than [[css/properties/ms-scroll-limit-xMin|'''-ms-scroll-limit-x-min''']] the value of '''-ms-scroll-limit-x-min''' is used.</li>
<li>If the value specified in '''&lt;list lengths&gt;''' is greater that [[css/properties/ms-scroll-limit-xMax|'''-ms-scroll-limit-x-max''']], the value of '''-ms-scroll-limit-x-max''' is used.</li>
</ul>
}}


Expected rendering:
snapInterval(<start length>, <step length>) 
Specifies where the snap-points will be placed. 
  •start<length> specifies where the first snap-point will be placed.
  •step<length> specifies the distance between subsequent snap-points both to the left and the right of the initial snap-point.
snapList(<list lengths>) 
Specifies the position of individual snap-points. 
  •If the value specified in <list lengths> is less than -ms-scroll-limit-x-min the value of -ms-scroll-limit-x-min is used.
  •If the value specified in <list lengths> is greater that -ms-scroll-limit-x-max, the value of -ms-scroll-limit-x-max is used.




Actual rendering (There's no code here. This is what appears in the topic):


[[css/data types/snapInterval(<start length>, <step length>)|<snapInterval(<start length>, <step length>)>]] 
Specifies where the snap-points will be placed.  
  *start<length> specifies where the first snap-point will be placed.
  *step<length> specifies the distance between subsequent snap-points both to the left and the right of the initial snap-point.


[[css/data types/snapList(<list lengths>)|<snapList(<list lengths>)>]] 
Specifies the position of individual snap-points.  
  *If the value specified in <list lengths> is less than -ms-scroll-limit-x-min the value of -ms-scroll-limit-x-min is used.
  *If the value specified in <list lengths> is greater that -ms-scroll-limit-x-max, the value of -ms-scroll-limit-x-max is used.
Comment 1 Dominique Hazael-Massieux 2012-10-17 07:22:58 UTC
snapInterval() should probably use the CSS Function template rather than the CSS Property one.

That being said, the CSS Function template doesn't yet let one pick parameters and other expected definitions.
Comment 2 Alex Komoroske 2012-10-19 23:11:31 UTC
Turns out the problem was either the () or <> in the datatype field. This page should really be switched to use the CSS Function template--once we get that template set up correctly.
Comment 3 JuleeAtAdobe 2012-12-04 02:49:06 UTC
Reverting this bug's platform to All, as experience happens on all platforms.
Comment 4 Eliot Graff 2013-09-05 16:23:11 UTC
I believe that this has been worked out.