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 support for @value attribute #18

Closed
gkellogg opened this issue Apr 3, 2015 · 0 comments
Closed

Add support for @value attribute #18

gkellogg opened this issue Apr 3, 2015 · 0 comments

Comments

@gkellogg
Copy link
Member

gkellogg commented Apr 3, 2015

From the RDFa+HTML errata:

HTML’s <data> element and its @value attribute are currently not defined for an RDFa processor, although it could be used to generate literal values. It could also be useful to define @value for RDFa data processing of other elements where it is allowed, namely:

  • <li> elements inside <ol> lists. There are cases where it's semantically relevant to identify the position of an object in a series. HTML allows it by giving an explicit value to list items where order matters (though this would force authors to use another element, e.g. <span>, to mark up the real content of the list item, but it seems reasonable).
  • <input> (especially when in read-only mode, these are cases where @value matters).
gkellogg added a commit that referenced this issue Apr 11, 2015
* Remove whitespace around body tag, which removes many errant newlines, but isn't quite as pretty as it should be.
* Add support for `@value` attribute. Fixes #18.
gkellogg added a commit that referenced this issue Apr 11, 2015
* Remove whitespace around body tag, which removes many errant newlines, but isn't quite as pretty as it should be.
* Add support for `@value` attribute. Fixes #18.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant