Skip to content
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

Merged
merged 1 commit into from Feb 19, 2018
Merged

Fix content attribute links for the meter element #3481

merged 1 commit into from Feb 19, 2018

Conversation

donovanglover
Copy link
Contributor

@donovanglover donovanglover commented Feb 17, 2018

This pull request fixes #3356. The fix was trivial and I didn't want to leave the issue there.


/form-elements.html ( diff )

Copy link
Member

@annevk annevk left a 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>
Copy link
Member

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>"

Copy link
Member

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.

Copy link
Contributor Author

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>
Copy link
Member

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>
Copy link
Member

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here before "that"

@annevk annevk merged commit ccf9e0b into whatwg:master Feb 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

Incorrect links in <meter> element IDL attribute definitions
3 participants