Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert
embed hidden
into a proper boolean attribute
https://bugs.webkit.org/show_bug.cgi?id=259550 Reviewed by Tim Nguyen. This patch aligns WebKit with Blink / Chromium. Inspired by: https://chromium-review.googlesource.com/c/chromium/src/+/3565492 This patch makes the 'hidden' attribute behaves as a normal boolean attribute - presence of the attribute is interpreted as a "true" value. This appears to be per-spec: - https://html.spec.whatwg.org/#the-embed-element - https://html.spec.whatwg.org/#the-hidden-attribute - https://html.spec.whatwg.org/#boolean-attribute * Source/WebCore/html/HTMLEmbedElement.cpp: (HTMLEmbedElement::collectPresentationalHintsForAttribute): Remove 'attribute' cases and add assert for 'value' * LayoutTests/TestExpectations: Remove failing test case Canonical link: https://commits.webkit.org/266399@main
- Loading branch information