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

editorial: updates to attrs #242

Merged
merged 1 commit into from
Sep 14, 2019
Merged

editorial: updates to attrs #242

merged 1 commit into from
Sep 14, 2019

Conversation

scottaohara
Copy link
Member

@scottaohara scottaohara commented Sep 14, 2019

update attribute links to HTML spec for:

  • cite
  • class
  • cols
  • colspan
  • content
  • contenteditable
  • controls
  • coords
  • crossorigin
  • data
  • datetime
  • default
  • defer
  • dir
  • dirname

add attributes:

  • as
  • color

remove obsolete attributes:

  • contextmenu
  • dropzone

Preview | Diff

update attribute links to HTML spec for:
* `cite`
* `class`
* `cols`
* `colspan`
* `content`
* `contenteditable`
* `controls`
* `coords`
* `crossorigin`
* `data`
* `datetime`
* `default`
* `defer`
* `dir`
* `dirname`

add attributes:
* `as`
* `color`

remove obsolete attributes:
* `contextmenu`
* `dropzone`
@scottaohara scottaohara merged commit e1b1ba9 into gh-pages Sep 14, 2019
@scottaohara scottaohara deleted the attr_editorial_pt2 branch September 14, 2019 02:23
@marcoscaceres
Copy link
Member

Fyi, you can have ReSpec automatically link HTML elements by using this syntax: [^element^].... so [^link^], for example.

@scottaohara
Copy link
Member Author

scottaohara commented Sep 14, 2019

@marcoscaceres does that work to point to specific attributes within their definitions though? cause i've only seen data-cite=html/link-to-specific-attr-definition used for this.

@marcoscaceres
Copy link
Member

@marcoscaceres does that work to point to specific attributes within their definitions though?

No. For those, you need to use {{ElementInterfaceName/attribute}}.

@marcoscaceres
Copy link
Member

To see what I mean, head over to https://respec.org/xref/ and search for "rel", for example. It will show you you "How to cite" in the results table.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants