-
Notifications
You must be signed in to change notification settings - Fork 3.2k
Make option and optgroup actually disabled inside disabled select #12205
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
base: main
Are you sure you want to change the base?
Changes from 4 commits
9e2c274
cefa390
0b4dbe8
01b1944
ac4011b
7b78ae3
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -79215,9 +79215,13 @@ contradict people? | |
|
|
||
| <li>a <code>textarea</code> element that is <span data-x="concept-fe-disabled">disabled</span></li> | ||
|
|
||
| <li>an <code>optgroup</code> element that has a <code data-x="attr-optgroup-disabled">disabled</code> attribute</li> | ||
| <li>an <code>optgroup</code> element that has a <code | ||
| data-x="attr-optgroup-disabled">disabled</code> attribute or whose nearest <span>ancestor</span> | ||
| <code>select</code> element is <span data-x="concept-fe-disabled">disabled</span></li> | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do we need the same definition for ancestor select that we have for option? We probably want to exclude the same set of intermediate elements, no?
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, done |
||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We'll have to generalize the nearest ancestor select algorithm for this to work as currently this results in a type error. You're handing an
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Thanks, I changed the parameter from option to element |
||
| <li>an <code>option</code> element that is <span data-x="concept-option-disabled">disabled</span></li> | ||
| <li>an <code>option</code> element that is <span data-x="concept-option-disabled">disabled</span> | ||
| or whose <span data-x="option element nearest ancestor select">nearest ancestor | ||
| <code>select</code></span> is <span data-x="concept-fe-disabled">disabled</span></li> | ||
|
|
||
| <li>a <code>fieldset</code> element that is a <span data-x="concept-fieldset-disabled">disabled fieldset</span></li> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we fix this at the same time?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done