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
Fix content attribute links for the meter element #3481
Conversation
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.
Thanks, just a couple minor nits due to an unfortunate coincidence.
source
Outdated
string.</p> | ||
|
||
<p>The <dfn><code data-x="dom-meter-min">min</code></dfn> IDL attribute, on getting, must return | ||
the <span data-x="concept-meter-minimum">minimum value</span>. On setting, the given value must be | ||
converted to the <span>best representation of the number as a floating-point number</span> and | ||
then the <code data-x="dom-meter-min">min</code> content attribute must be set to that string.</p> | ||
then the <code data-x="attr-meter-min">min</code> content attribute must be set to that string.</p> |
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.
Unfortunately the additional character makes this >100 columns. You'll need to break before "string.</p>
"
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.
https://output.jsbin.com/maferi can help automate this process.
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.
Should be fixed now.
source
Outdated
|
||
<p>The <dfn><code data-x="dom-meter-max">max</code></dfn> IDL attribute, on getting, must return | ||
the <span data-x="concept-meter-maximum">maximum value</span>. On setting, the given value must be | ||
converted to the <span>best representation of the number as a floating-point number</span> and | ||
then the <code data-x="dom-meter-max">max</code> content attribute must be set to that string.</p> | ||
then the <code data-x="attr-meter-max">max</code> content attribute must be set to that string.</p> |
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.
Same
source
Outdated
|
||
<p>The <dfn><code data-x="dom-meter-low">low</code></dfn> IDL attribute, on getting, must return | ||
the <span data-x="concept-meter-low">low boundary</span>. On setting, the given value must be | ||
converted to the <span>best representation of the number as a floating-point number</span> and | ||
then the <code data-x="dom-meter-low">low</code> content attribute must be set to that string.</p> | ||
then the <code data-x="attr-meter-low">low</code> content attribute must be set to that string.</p> |
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.
Same
source
Outdated
string.</p> | ||
|
||
<p>The <dfn><code data-x="dom-meter-optimum">optimum</code></dfn> IDL attribute, on getting, must | ||
return the <span data-x="concept-meter-optimum">optimum value</span>. On setting, the given value | ||
must be converted to the <span>best representation of the number as a floating-point number</span> | ||
and then the <code data-x="dom-meter-optimum">optimum</code> content attribute must be set to that | ||
and then the <code data-x="attr-meter-optimum">optimum</code> content attribute must be set to that |
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.
Here before "that"
This pull request fixes #3356. The fix was trivial and I didn't want to leave the issue there.
/form-elements.html ( diff )