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

Remove mutability check from legacy activation behaviors #5827

Merged
merged 2 commits into from Aug 17, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
15 changes: 5 additions & 10 deletions source
Expand Up @@ -44695,9 +44695,8 @@ interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
agent should not allow the user to modify the element's <span
data-x="concept-fe-value">value</span> or <span data-x="concept-fe-checked">checkedness</span>.</p>

<p>When an <code>input</code> element is <span data-x="concept-fe-disabled">disabled</span> and
is not in the <span data-x="attr-input-type-checkbox">Checkbox</span> nor <span
data-x="attr-input-type-radio">Radio</span> states, it is not <i
<p>When an <code>input</code> element is <span
data-x="concept-fe-disabled">disabled</span>, it is not <i
data-x="concept-fe-mutable">mutable</i>.</p>

<p class="note">The <code data-x="attr-input-readonly">readonly</code> attribute can also in some
Expand All @@ -44715,9 +44714,9 @@ interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
<p>The <span>activation behavior</span> for <code>input</code> elements are these steps:</p>

<ol>
<li><p>If this element is not <i data-x="concept-fe-mutable">mutable</i> and is not in <span
data-x="attr-input-type-checkbox">Checkbox</span> nor <span data-x="attr-input-type-radio">
Radio</span>, then return.</p></li>
<li><p>If this element is not <i data-x="concept-fe-mutable">mutable</i> and is not in the <span
data-x="attr-input-type-checkbox">Checkbox</span> state and is not in the <span
data-x="attr-input-type-radio">Radio</span> state, then return.</p></li>

<li><p>Run this element's <dfn>input activation behavior</dfn>, if any, and do nothing
otherwise.</p></li>
Expand All @@ -44727,8 +44726,6 @@ interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
steps:</p>

<ol>
<li><p>If this element is not <i data-x="concept-fe-mutable">mutable</i>, then return.</p></li>

<li><p>If this element's <code data-x="attr-input-type">type</code> attribute is in the <span
data-x="attr-input-type-checkbox">Checkbox state</span>, then set this element's <span
data-x="concept-fe-checked">checkedness</span> to its opposite value (i.e. true if it is false,
Expand All @@ -44746,8 +44743,6 @@ interface <dfn>HTMLInputElement</dfn> : <span>HTMLElement</span> {
steps:</p>

<ol>
<li><p>If the element is not <i data-x="concept-fe-mutable">mutable</i>, then return.</p></li>

<li><p>If the element's <code data-x="attr-input-type">type</code> attribute is in the <span
data-x="attr-input-type-checkbox">Checkbox state</span>, then set the element's <span
data-x="concept-fe-checked">checkedness</span> and the element's <code
Expand Down