-
Notifications
You must be signed in to change notification settings - Fork 549
8358454: Wrong <br> tags in cssref.html #1820
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -737,7 +737,7 @@ <h3><a id="introtransitions">Transitions</a></h3> | |
| <th class="propertyname" scope="row">transition</th> | ||
| <td class="value"> | ||
| <single-transition># | ||
| <br/><br/> | ||
| <br><br> | ||
| <strong>where</strong> <single‑transition> = [ none | all | <custom‑ident> ] || | ||
| <a href="#typeduration" class="typelink"><duration></a> || | ||
| <a href="#typeeasingfunction" class="typelink"><easing‑function></a> || | ||
|
|
@@ -765,14 +765,14 @@ <h3><a id="introtransitions">Transitions</a></h3> | |
| <h4>Example</h4> | ||
| <p>A button that smoothly changes its opacity on mouse-hover can be defined in a stylesheet like this:</p> | ||
| <p class="example"> | ||
| .button {</br> | ||
| -fx-opacity: 0.8;</br> | ||
| transition-property: -fx-opacity;</br> | ||
| transition-duration: 0.5s;</br> | ||
| }</br> | ||
| </br> | ||
| .button:hover {</br> | ||
| -fx-opacity: 1;</br> | ||
| .button {<br> | ||
| -fx-opacity: 0.8;<br> | ||
| transition-property: -fx-opacity;<br> | ||
| transition-duration: 0.5s;<br> | ||
| }<br> | ||
| <br> | ||
| .button:hover {<br> | ||
| -fx-opacity: 1;<br> | ||
| } | ||
| </p> | ||
|
|
||
|
|
@@ -1679,12 +1679,12 @@ <h4>Color Functions <span class="grammar" style="font-size: smaller;"><color- | |
|
|
||
| <h3><a id="typeeasingfunction"><easing-function></a></h3> | ||
| <p class="grammar">linear | <cubic-bezier-easing-function> | <step-easing-function> | <fx-easing-function></p> | ||
| <p><strong>Linear</strong> <span class="grammar" style="font-size: smaller;">linear</span><br/> | ||
| <p><strong>Linear</strong> <span class="grammar" style="font-size: smaller;">linear</span><br> | ||
| The linear easing function is a simple linear mapping from the input progress value to the output progress value.</p> | ||
| <figure style="display: inline-block"> | ||
| <img src="easing-linear.svg" width="200" alt="Linear easing function"> | ||
| </figure> | ||
| <p><strong>Cubic Bézier Easing Functions</strong> <span class="grammar" style="font-size: smaller;"><cubic-bezier-easing-function></span></br></p> | ||
| <p><strong>Cubic Bézier Easing Functions</strong> <span class="grammar" style="font-size: smaller;"><cubic-bezier-easing-function></span><br></p> | ||
| <p class="grammar">ease | ease-in | ease-out | ease-in-out | cubic-bezier(<a href="#typenumber" class="typelink"><number [0,1]></a>, <a href="#typenumber" class="typelink"><number></a>, <a href="#typenumber" class="typelink"><number [0,1]></a>, <a href="#typenumber" class="typelink"><number></a>)</p> | ||
| <p>The values have the following meaning:</p> | ||
| <table style="margin-left: 40px;"> | ||
|
|
@@ -1730,11 +1730,11 @@ <h3><a id="typeeasingfunction"><easing-function></a></h3> | |
| <tr> | ||
| <td style="width: 120px; vertical-align: top"><span class="grammar">steps</span></td> | ||
| <td>defines a step function with <a href="#typenumber" class="typelink"><integer></a> intervals | ||
| and an optional <span class="grammar"><step-position></span>;<br/>if omitted, | ||
| and an optional <span class="grammar"><step-position></span>;<br>if omitted, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. possible future enhancement: add thin grid lines to the tables, similar to other tables. |
||
| <span class="grammar">end</span> is implied</span> | ||
| </td> | ||
| </tr> | ||
| <tr><td><br/></td></tr> | ||
| <tr><td><br></td></tr> | ||
| <tr> | ||
| <td style="width: 120px; vertical-align: top"><span class="grammar">jump-start</span></td> | ||
| <td>the interval starts with a rise point when the input progress value is 0</td> | ||
|
|
@@ -1778,7 +1778,7 @@ <h3><a id="typeeasingfunction"><easing-function></a></h3> | |
| <img src="easing-stepboth.svg" width="200" alt="jump-both easing function"> | ||
| <figcaption style="margin-left: 30px" class="grammar">steps(3, jump-both)</figcaption> | ||
| </figure> | ||
| <p><strong>SMIL 3.0 Easing Functions</strong> <span class="grammar" style="font-size: smaller;"><fx-easing-function></span></br></p> | ||
| <p><strong>SMIL 3.0 Easing Functions</strong> <span class="grammar" style="font-size: smaller;"><fx-easing-function></span><br></p> | ||
| <p class="grammar">-fx-ease-in | -fx-ease-out | -fx-ease-both</p> | ||
| <p>The values have the following meaning:</p> | ||
| <table style="margin-left: 40px;"> | ||
|
|
||
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why is Linear looks like plain
linearbut Cubic Bézier Easing Functions has triangular brackets<cubic-bezier-easing-function>?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
linearis a concrete value, whereas<cubic-bezier-easing-function>is defined later to be one of five possible concrete values.