[Viewport Segments] Per CSS WG resolution move the JavaScript segment property
from window.visualViewport to the newly added window.viewport.
See w3c/csswg-drafts#9237 (comment)
for the full IRC log of the conversation.
w3c/csswg-drafts#10564 is the PR adding the segments
property part of the CSS Viewport Level 1 specification.
There is no functional changes in how the segments property works, tests
are updated to reflect the new position.
Right now the viewport object is tied to the runtime flag of
Viewport Segments because we expect the feature to ship before
the viewport attribute receive more fields.
Bug: 40113439
Change-Id: Ic0624314ee4300899e9e6e98f009e0b4f1fe9655
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5783999
Commit-Queue: Alexis Menard alexis.menard@intel.com
Reviewed-by: Reilly Grant reillyg@chromium.org
Reviewed-by: Chris Harrelson chrishtr@chromium.org
Cr-Commit-Position: refs/heads/main@{#1344484}