In `popover` IDL's getter steps return the "canonical" keyword
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox115 | --- | fixed |
People
(Reporter: mbrodesser, Assigned: mbrodesser)
References
(Blocks 1 open bug)
Details
Attachments
(1 file)
This is specified by https://html.spec.whatwg.org/#reflecting-content-attributes-in-idl-attributes:canonical-keyword-2.
Here it implies if some element's attribute value is the empty string, someElement.popover should equal "auto", because the canonical keyword (https://html.spec.whatwg.org/#canonical-keyword) for the empty string is "auto". Covered by a test (https://searchfox.org/mozilla-central/rev/f60cf6bfa8bd096efd9bb3a445364f5a0f32897a/testing/web-platform/tests/html/semantics/popovers/popover-attribute-basic.html#100,102).
| Assignee | ||
Comment 1•2 years ago
|
||
Covered by the sub-test at
https://searchfox.org/mozilla-central/rev/f60cf6bfa8bd096efd9bb3a445364f5a0f32897a/testing/web-platform/tests/html/semantics/popovers/popover-attribute-basic.html#100,102.
Verified locally that it passes with the patch and failed without it.
The whole test
(https://searchfox.org/mozilla-central/rev/f60cf6bfa8bd096efd9bb3a445364f5a0f32897a/testing/web-platform/tests/html/semantics/popovers/popover-attribute-basic.html#120)
still fails at a later stage, hence the meta data isn't changed.
Comment 3•2 years ago
|
||
| bugherder | ||
Description
•