Closed
Bug 1973494
Opened 11 months ago
Closed 10 months ago
Command & CommandFor only allows custom values starting with `--`
Categories
(Core :: DOM: Core & HTML, defect)
Core
DOM: Core & HTML
Tracking
()
RESOLVED
FIXED
142 Branch
| Tracking | Status | |
|---|---|---|
| firefox142 | --- | fixed |
People
(Reporter: keithamus, Assigned: keithamus)
References
(Blocks 1 open bug, )
Details
Attachments
(1 file)
"Custom values" are considered to have a - anywhere in the string, but this is not per spec, the spec dictates that custom command keywords should start with a double dash (--).
https://html.spec.whatwg.org/multipage/form-elements.html#attr-button-command-custom
| Assignee | ||
Updated•11 months ago
|
Summary: Command & CommandFor allows values with `-` → Command & CommandFor only allows custom values starting with `--`
| Assignee | ||
Comment 1•11 months ago
|
||
Pushed by mozilla@keithcirkel.co.uk:
https://github.com/mozilla-firefox/firefox/commit/41e61fa7f53f
https://hg.mozilla.org/integration/autoland/rev/4aaedf3cc515
Only mark Custom commands as attrs that start with two dashes r=dom-core,edgar
Pushed by amarc@mozilla.com:
https://github.com/mozilla-firefox/firefox/commit/f853b72f0f22
https://hg.mozilla.org/integration/autoland/rev/a10a9cf354cc
Revert "Bug 1973494 - Only mark Custom commands as attrs that start with two dashes r=dom-core,edgar" for causing wpt failures @ command-and-commandfor/on-dialog-behavior.html
Backed out for causing wpt failures @ on-dialog-behavior.html
Flags: needinfo?(mozilla)
| Assignee | ||
Updated•11 months ago
|
Flags: needinfo?(mozilla)
Updated•11 months ago
|
Severity: -- → S3
Pushed by mozilla@keithcirkel.co.uk:
https://github.com/mozilla-firefox/firefox/commit/bdea3b40442d
https://hg.mozilla.org/integration/autoland/rev/1d5f48ffdf9d
Only mark Custom commands as attrs that start with two dashes r=dom-core,edgar
Comment 6•10 months ago
|
||
| bugherder | ||
Status: ASSIGNED → RESOLVED
Closed: 10 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Updated•10 months ago
|
QA Whiteboard: [qa-triage-done-c143/b142]
You need to log in
before you can comment on or make changes to this bug.
Description
•