Skip to content

Add type="" and start="" to <ul> #4036

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

Closed
wants to merge 1 commit into from
Closed

Add type="" and start="" to <ul> #4036

wants to merge 1 commit into from

Conversation

domenic
Copy link
Member

@domenic domenic commented Sep 14, 2018

Closes #3979. As discussed there, this allows for labeled, but
unordered, lists.


Normative changes for implementations:

  1. type="" now should work on ul and affect the rendering. The (non-conforming) none/disc/circle/square values still affect the rendering as before.
  2. start="" now should work on ul, in the same way it does on ol.
  3. The start IDL attribute should be introduced, reflecting the start="" content attribute
  4. Determining the ordinal value of <li>s inside <ul>s uses the same algorithm as inside <ol>s, except that reversed="" is ignored.

Things that did not change:

  • The values none/circle/square/disc when applied to <ul type=""> still affect the rendering, even if they are non-conforming for authors to use.
  • The type IDL attribute still does simple string reflection of the type="" content attribute. (It moved from the obsolete-features section to the main part of the spec, but its behavior is the same.)

Firefox matches (1), (2), and (4). Nobody does (3).

This design was chosen to be as close as possible to Firefox while also being reasonable (thus introducing (3)). Alternate possible designs to discuss:

  • Don't bother with start="" at all, so that it has no effect on <ul>.
  • Also introduce reversed="" to <ul>, so that the model is exactly the same for both <ol> and <ul>.

Let's discuss in #3979 (not in this PR).


/grouping-content.html ( diff )
/indices.html ( diff )
/obsolete.html ( diff )
/rendering.html ( diff )

Closes #3979. As discussed there, this allows for labeled, but
unordered, lists.
@domenic
Copy link
Member Author

domenic commented Jul 8, 2020

Closing due to lack of implementer interest. We'll leave the corresponding issue, #3979, open.

@domenic domenic closed this Jul 8, 2020
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.

Allow type attribute on <ul>
2 participants