Bug 1771337 [wpt PR 34217] - Convert `popup=popup` to `popup=auto` or just `popup...
commitf6764f58f6e725bd24faec5b0ddef9db2a9e881a
authorMason Freed <masonf@chromium.org>
Thu, 9 Jun 2022 16:14:09 +0000 (9 16:14 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Fri, 10 Jun 2022 03:32:53 +0000 (10 03:32 +0000)
treee6bfb56687c696f7f02ece907587eccf52d0e8ad
parenta843c5135e8b0ba7da4aa6785d0478a46a7a50c3
Bug 1771337 [wpt PR 34217] - Convert `popup=popup` to `popup=auto` or just `popup`, a=testonly

Automatic update from web-platform-tests
Convert `popup=popup` to `popup=auto` or just `popup`

Per the [1] resolution, `popup=popup` has been renamed to `popup=auto`.
Additionally, per the [2] resolution, "boolean-like" behavior is also
supported, such that `<div popup>` means the same thing as `<div popup=auto>`. This CL implements both of these changes.

Note that this CL has one case that still needs to be fixed:
  <div id=foo popup=invalid>
  <script>
    foo.popup === null; // false, should be true
  </script>

To fix the above, I need to figure out how to specify the ReflectMissing
and ReflectInvalid values so that they mean "null".

[1] https://github.com/openui/open-ui/issues/491#issuecomment-1132165724
[2] https://github.com/openui/open-ui/issues/533#issuecomment-1138874090

Bug: 1307772
Change-Id: I6037c5322f7408ebd2c91690f89ecbc513c66bdb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3668816
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Aaron Leventhal <aleventhal@chromium.org>
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1009383}

--

wpt-commits: 71cf6a42d3335c0c55cfe5b18c3b250c21a0ffbc
wpt-pr: 34217
36 files changed:
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-many-options.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-nested.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-displayed-ref.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-option-arbitrary-content-displayed.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-parts-structure.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-popup-position-with-zoom.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-popup-position.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-popup.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-shadow-root-replacement.tentative.html
testing/web-platform/tests/html/semantics/forms/the-selectmenu-element/selectmenu-value-selectedOption.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-anchor-idl-property.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-anchor-nesting.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-attribute-basic.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-backdrop-appearance-ref.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-backdrop-appearance.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-defaultopen-2.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-defaultopen-display.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-defaultopen.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-events.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-focus.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-hidden-display.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-inside-display-none.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-invoking-attribute.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-light-dismiss-on-scroll.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-light-dismiss.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-not-keyboard-focusable.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-open-display.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-open-overflow-display-ref.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-open-overflow-display.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-removal-2.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-removal.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-shadow-dom.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-stacking-context.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-stacking.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-top-layer-interactions.tentative.html
testing/web-platform/tests/html/semantics/popups/popup-types.tentative.html