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

Change the superclass of range from widget to structure #894

Merged
merged 2 commits into from
Jan 31, 2019

Conversation

joanmarie
Copy link
Contributor

@joanmarie joanmarie commented Jan 30, 2019

This is needed to support the aria-value* attributes on non-interative,
and potentially static objects such as a meter.

Because range now subclasses structure, we need to use multiple inheritance
with the widget roles which subclass range. Those roles are: progressbar,
scrollbar, slider, and spinbutton. The latter two already subclass both range
and input thus no further change is needed. Progressbar and scrollbar now
subclass both range and widget.

Addresses github issue #892.


Preview | Diff

This is needed to support the aria-value* attributes on non-interative,
and potentially static objects such as a meter.

Because range now subclasses structure, we need to use multiple inheritance
with the widget roles which subclass range. Those roles are: progressbar,
scrollbar, slider, and spinbutton. The latter two already subclass both range
and input thus no further change is needed. Progressbar and scrollbar now
subclass both range and widget.

Addresses github issue #892.
@joanmarie joanmarie self-assigned this Jan 30, 2019
@joanmarie
Copy link
Contributor Author

I just used github's "diff" tool to see what all changed in the actual spec content. (This is helpful because inherited states and properties get generated by scripts, rather than being hard-coded in the spec text.)

I don't see any unexpected changes related to inheritance. Or for that matter related to anything else. 😄 Thus I believe this change is safe regarding taxonomy fallout.

@joanmarie joanmarie changed the title Change the subclass of range from widget to structure Change the superclass of range from widget to structure Jan 31, 2019
@joanmarie joanmarie merged commit 5d08578 into master Jan 31, 2019
@joanmarie joanmarie deleted the range-superclass branch January 31, 2019 19:08
@joanmarie
Copy link
Contributor Author

Merged into master and stable after making the editorial change requested at today's meeting ("a structure"->"an element") and adding the ChangeLog entry.

index.html Show resolved Hide resolved
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

Successfully merging this pull request may close these issues.

2 participants