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

docs: small fixes and improvements #7128

Merged
merged 9 commits into from
Oct 8, 2021
Merged

docs: small fixes and improvements #7128

merged 9 commits into from
Oct 8, 2021

Conversation

j9t
Copy link
Contributor

@j9t j9t commented Sep 28, 2021

This PR includes more changes than I wanted it to include (had mentioned to @annevk and @domenic that I’m breaking these up), however chapter/section 4 has been such a carrot in front of me, I always thought “that’s about it.”

Will create a new PR for any remaining fixes and tweaks for chapter 4.

  • Remove unneeded commas to aid readability
  • Made code samples more consistent (closing all the respective paragraphs)
  • Added more (and more recent) CSS layout options
  • Added colons (to improve readability for some table examples)
  • Removed superfluous copy (reads easier)
  • Made formatting consistent
  • Removed superfluous “completely” [this change bleeds out of chapter 4, to keep it consistent across the spec]
  • Added “element” to make a clause read better
  • Added missing article (“the”)
  • Removed example quotes (→ id=p) to make the example code consistent
  • Split up examples into several examples (which conveniently avoids questions on the original markup, which should otherwise use a list or at least paragraphs)
  • Made one example intro and outro read more fluidly (“in the snippet … the form owner …”)
  • Unquoted an expression where the quotes are confusing
  • Removed an unnecessary space in an example
  • Added a missing article (“a script”)
  • Removed unnecessary space (“can not”)

Signed-off-by: Jens Oliver Meiert jens@meiert.com


/canvas.html ( diff )
/form-control-infrastructure.html ( diff )
/form-elements.html ( diff )
/forms.html ( diff )
/images.html ( diff )
/input.html ( diff )
/interactive-elements.html ( diff )
/parsing.html ( diff )
/scripting.html ( diff )
/tables.html ( diff )

source Outdated
elements should not be used to display transparent images, as such images rarely convey meaning and
rarely add anything useful to the document.</p>
elements should not be used to display transparent images, as such images rarely convey meaning
and don't add anything useful to the document.</p>
Copy link
Member

Choose a reason for hiding this comment

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

Didn't I comment on this already? Do these PRs overlap?

source Show resolved Hide resolved
source Outdated
@@ -40382,7 +40384,7 @@ interface <dfn interface>HTMLTableElement</dfn> : <span>HTMLElement</span> {
<p>There are a variety of ways to include this information, such as:</p>

<dl>
<dt>In prose, surrounding the table</dt>
<dt>In prose, surrounding the table:</dt>
Copy link
Member

Choose a reason for hiding this comment

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

I think the current style reads a little better as this list was already introduced with a colon.

source Show resolved Hide resolved
source Outdated Show resolved Hide resolved
source Show resolved Hide resolved
@j9t
Copy link
Contributor Author

j9t commented Sep 30, 2021

Thanks @annevk. I addressed or responded to your points.

I’m not sure what happened with #7121—it looks like I committed something from my fork’s “main” branch. I might stop with submitting PRs for the moment until the open ones (this, #7121, #7114, #7103, and #7102) have been reviewed.

@j9t
Copy link
Contributor Author

j9t commented Oct 1, 2021

Thanks for the notes, @annevk—adjusted the formatting.

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, apart from two of the example changes I think this is good.

source Show resolved Hide resolved
source Outdated Show resolved Hide resolved
@j9t
Copy link
Contributor Author

j9t commented Oct 4, 2021

@annevk, any other feedback? (Thanks for working with me on this.)

* Adjusted case (“wiki”—should otherwise be qualified for more clarity)
* Rephrased “microformats wiki existing-rel-values page” (super-long, reads awkwardly)
* Added article to make `source` element conditions more readable
* Limited repetition (double “and so forth”)
* Made layout/transparency note slightly more clear

Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
* Remove unneeded commas to aid readability
* Made code samples more consistent (closing all the respective paragraphs)
* Added more (and more recent) CSS layout options
* Added colons (to improve readability for some table examples)

Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
* Removed superfluous copy (reads easier)
* Made formatting consistent

Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
* Removed superfluous “completely” [this change bleeds out of chapter 4, to keep it consistent across the spec]
* Added “element” to make a clause read better
* Added missing article (“the”)

Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
* Removed example quotes (→ `id=p`) to make the example code consistent
* Split up examples into several examples (which conveniently avoids questions on the original markup, which should otherwise use a list or at least paragraphs)
* Made one example intro and outro read more fluidly (“in the snippet … the form owner …”)
* Unquoted an expression where the quotes are confusing
* Removed an unnecessary space in an example
* Added a missing article (“_a_ script”)
* Removed unnecessary space (“can not”)

Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
… of one formatting correction)

Signed-off-by: Jens Oliver Meiert <jens@meiert.com>
@annevk annevk merged commit 5314ade into whatwg:main Oct 8, 2021
@annevk
Copy link
Member

annevk commented Oct 8, 2021

No, all good! I should have looked at this before "the article" PR as that was redundant, but it was easy enough to resolve the conflict.

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.

2 participants