Skip to content

Commit fdd50d8

Browse files
author
Michael Strauß
committed
8358454: Wrong <br> tags in cssref.html
Reviewed-by: angorya, jhendrikx
1 parent 9edc169 commit fdd50d8

File tree

1 file changed

+14
-14
lines changed
  • modules/javafx.graphics/src/main/docs/javafx/scene/doc-files

1 file changed

+14
-14
lines changed

modules/javafx.graphics/src/main/docs/javafx/scene/doc-files/cssref.html

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -737,7 +737,7 @@ <h3><a id="introtransitions">Transitions</a></h3>
737737
<th class="propertyname" scope="row">transition</th>
738738
<td class="value">
739739
&lt;single-transition&gt;#
740-
<br/><br/>
740+
<br><br>
741741
<strong>where</strong> &lt;single&#8209;transition&gt; = [ none | all | &lt;custom&#8209;ident&gt; ] ||
742742
<a href="#typeduration" class="typelink">&lt;duration&gt;</a> ||
743743
<a href="#typeeasingfunction" class="typelink">&lt;easing&#8209;function&gt;</a> ||
@@ -765,14 +765,14 @@ <h3><a id="introtransitions">Transitions</a></h3>
765765
<h4>Example</h4>
766766
<p>A button that smoothly changes its opacity on mouse-hover can be defined in a stylesheet like this:</p>
767767
<p class="example">
768-
.button {</br>
769-
&nbsp;&nbsp;&nbsp; -fx-opacity: 0.8;</br>
770-
&nbsp;&nbsp;&nbsp; transition-property: -fx-opacity;</br>
771-
&nbsp;&nbsp;&nbsp; transition-duration: 0.5s;</br>
772-
}</br>
773-
</br>
774-
.button:hover {</br>
775-
&nbsp;&nbsp;&nbsp; -fx-opacity: 1;</br>
768+
.button {<br>
769+
&nbsp;&nbsp;&nbsp; -fx-opacity: 0.8;<br>
770+
&nbsp;&nbsp;&nbsp; transition-property: -fx-opacity;<br>
771+
&nbsp;&nbsp;&nbsp; transition-duration: 0.5s;<br>
772+
}<br>
773+
<br>
774+
.button:hover {<br>
775+
&nbsp;&nbsp;&nbsp; -fx-opacity: 1;<br>
776776
}
777777
</p>
778778

@@ -1679,12 +1679,12 @@ <h4>Color Functions <span class="grammar" style="font-size: smaller;">&lt;color-
16791679

16801680
<h3><a id="typeeasingfunction">&lt;easing-function&gt;</a></h3>
16811681
<p class="grammar">linear | &lt;cubic-bezier-easing-function&gt; | &lt;step-easing-function&gt; | &lt;fx-easing-function&gt;</p>
1682-
<p><strong>Linear</strong> <span class="grammar" style="font-size: smaller;">linear</span><br/>
1682+
<p><strong>Linear</strong> <span class="grammar" style="font-size: smaller;">linear</span><br>
16831683
The linear easing function is a simple linear mapping from the input progress value to the output progress value.</p>
16841684
<figure style="display: inline-block">
16851685
<img src="easing-linear.svg" width="200" alt="Linear easing function">
16861686
</figure>
1687-
<p><strong>Cubic Bézier Easing Functions</strong> <span class="grammar" style="font-size: smaller;">&lt;cubic-bezier-easing-function&gt;</span></br></p>
1687+
<p><strong>Cubic Bézier Easing Functions</strong> <span class="grammar" style="font-size: smaller;">&lt;cubic-bezier-easing-function&gt;</span><br></p>
16881688
<p class="grammar">ease | ease-in | ease-out | ease-in-out | cubic-bezier(<a href="#typenumber" class="typelink">&lt;number&nbsp;[0,1]&gt;</a>, <a href="#typenumber" class="typelink">&lt;number&gt;</a>, <a href="#typenumber" class="typelink">&lt;number&nbsp;[0,1]&gt;</a>, <a href="#typenumber" class="typelink">&lt;number&gt;</a>)</p>
16891689
<p>The values have the following meaning:</p>
16901690
<table style="margin-left: 40px;">
@@ -1730,11 +1730,11 @@ <h3><a id="typeeasingfunction">&lt;easing-function&gt;</a></h3>
17301730
<tr>
17311731
<td style="width: 120px; vertical-align: top"><span class="grammar">steps</span></td>
17321732
<td>defines a step function with <a href="#typenumber" class="typelink">&lt;integer&gt;</a> intervals
1733-
and an optional <span class="grammar">&lt;step-position&gt;</span>;<br/>if omitted,
1733+
and an optional <span class="grammar">&lt;step-position&gt;</span>;<br>if omitted,
17341734
<span class="grammar">end</span> is implied</span>
17351735
</td>
17361736
</tr>
1737-
<tr><td><br/></td></tr>
1737+
<tr><td><br></td></tr>
17381738
<tr>
17391739
<td style="width: 120px; vertical-align: top"><span class="grammar">jump-start</span></td>
17401740
<td>the interval starts with a rise point when the input progress value is 0</td>
@@ -1778,7 +1778,7 @@ <h3><a id="typeeasingfunction">&lt;easing-function&gt;</a></h3>
17781778
<img src="easing-stepboth.svg" width="200" alt="jump-both easing function">
17791779
<figcaption style="margin-left: 30px" class="grammar">steps(3, jump-both)</figcaption>
17801780
</figure>
1781-
<p><strong>SMIL 3.0 Easing Functions</strong> <span class="grammar" style="font-size: smaller;">&lt;fx-easing-function&gt;</span></br></p>
1781+
<p><strong>SMIL 3.0 Easing Functions</strong> <span class="grammar" style="font-size: smaller;">&lt;fx-easing-function&gt;</span><br></p>
17821782
<p class="grammar">-fx-ease-in | -fx-ease-out | -fx-ease-both</p>
17831783
<p>The values have the following meaning:</p>
17841784
<table style="margin-left: 40px;">

0 commit comments

Comments
 (0)