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

Add the deletion and insertion roles (w3c#526) #916

Merged
merged 2 commits into from
Mar 29, 2019

Conversation

aleventhal
Copy link
Contributor

@aleventhal aleventhal commented Mar 19, 2019

@aleventhal aleventhal self-assigned this Mar 19, 2019
@aleventhal aleventhal requested a review from jnurthen March 19, 2019 23:05
Copy link
Contributor

@mcking65 mcking65 left a comment

Choose a reason for hiding this comment

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

Suggested wording for greater consistency with the definitions of other structural roles.

index.html Outdated
<div class="role" id="deletion">
<rdef>deletion</rdef>
<div class="role-description">
<p>A deletion represents the previous removal of content, or a potential future removal of content. Deletion is helpful for marking differences with a previous version of content, as well as suggestions from co-authors for removal of content.</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Perhaps:

<p>A deletion element contains content that is marked as removed or content that is being suggested for removal. See related <rref>insertion</rref>.</p>
<p>Deletions, which are often styled as struck out,  are typically used to either mark differences between two versions of content or to designate content suggested for removal in scenarios where multiple people are revising content.</p>

I suggest two paragraphs to be consistent with other roles where the definition is a single, short sentence or phrase followed by a second explanitory paragraph.

As a structural role, the definition language should clearly define the element as a container. This suggested revision attempts to do so in a way that is consistent with the style of other structural roles.

index.html Outdated
<div class="role" id="insertion">
<rdef>insertion</rdef>
<div class="role-description">
<p>An insertion represents the previous addition of content, or a potential future addition of content. Insertion is helpful for marking differences with a previous version of content, as well as suggestions from co-authors for addition of content.</p>
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggest the following for the same reasons stated above in the insertion definition comment.

<p>An insertion element contains content that is marked as recently added or content that is being suggested for addition. See related <rref>deletion</rref>.</p>
<p>Insertions are typically used to either mark differences between two versions of content or to designate content suggested for addition in scenarios where multiple people are revising content.</p>

@aleventhal
Copy link
Contributor Author

Matt, I basically used your text except:

  • removed the word "recently", since the recency is not important
  • removed the word "element", since although a role is used on an element we aren't defining an element type here

Copy link
Contributor

@melanierichards melanierichards left a comment

Choose a reason for hiding this comment

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

Left a couple comments that don't need to block merge

@jnurthen jnurthen merged commit f2caeec into w3c:master Mar 29, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants