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
Formatting of some 'element' occurences #549
Conversation
73846d6
to
dcae88b
Compare
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.
Also the Travis build is failing. Please run "validate"
@@ -3802,7 +3802,7 @@ | |||
<ol> | |||
<li><p>Let <var>rectangle</var> be | |||
the first element of the <a><code>DOMRect</code></a> sequence | |||
returned by calling <a>getClientRects</a> on <var><a>element</a></var>. | |||
returned by calling <a>getClientRects</a> on the <a>element</a>. |
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.
s/the element/element/
We need to mark the element
in the text just above this as a variable too.
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.
I think I resolved this properly, let me know and sorry for the back and forth.
@@ -5048,7 +5048,7 @@ | |||
<a><code>type</code> attribute</a> is <a>File</a>: | |||
<ol> | |||
<li><p>Let <var>text</var> be the result of | |||
joining together each element in <var>character array</var> to a string. | |||
joining together each character in <var>character array</var> to a string. |
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.
We may not have a normal character: it might be a grapheme cluster
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.
Done!
@@ -8060,7 +8060,7 @@ | |||
from the <var>parameters</var> argument. | |||
|
|||
<li><p>Let <var>text</var> be the result of | |||
joining together each element in <var>character array</var> to a string. | |||
joining together each character in <var>character array</var> to a string. |
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.
As above.
<li><p>If <var>screenshot result</var> is a | ||
<a><code>canvas</code> element</a>, let <var>encoding result</var> | ||
be the result of <a>encoding as Base64</a> the | ||
<var>screenshot result</var>. |
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.
The result is either success with some data or an error. Think of it as the Result
enum in Rust.
Consequently, saying “if screenshot result is a <cavnas>
element” doesn’t make sense.
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.
Ah! I completely ignored this. Thanks.
the first element of the <a><code>DOMRect</code></a> sequence | ||
returned by calling <a>getClientRects</a> on <var><a>element</a></var>. | ||
the first <a>element</a> of the <a><code>DOMRect</code></a> sequence | ||
returned by calling <a>getClientRects</a> on <a>element</a>. |
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.
<var>element<var> at the end of this line.
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.
Done!
e567380
to
5411880
Compare
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.
r+
Rebased, squashed, and pushed. |
This change is