Commit 1bad5fbc authored by Sahir Vellani's avatar Sahir Vellani Committed by Commit Bot

Set ResizeObserverUpdates runtime enabled flag to stable

With this feature enabled, the following changes will be in effect:
1) ResizeObserverSize inteface will be exposed
2) Content box, border box, and device pixel border box can be
observed by the resize observer

Intent to Prototype and Ship:
groups.google.com/a/chromium.org/d/msg/blink-dev/_j6K_xSxWj0/fbn4kzx9AgAJ

Bug: 1027684
Change-Id: Iea04bbfd24ad6508dad04bc8bb218709926cb6d2
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2138117Reviewed-by: default avatarDaniel Libby <dlibby@microsoft.com>
Reviewed-by: default avatarPhilip Rogers <pdr@chromium.org>
Reviewed-by: default avatarChris Harrelson <chrishtr@chromium.org>
Commit-Queue: Sahir Vellani <sahir.vellani@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#757573}
parent 37173f99
...@@ -1444,7 +1444,7 @@ ...@@ -1444,7 +1444,7 @@
}, },
{ {
name: "ResizeObserverUpdates", name: "ResizeObserverUpdates",
status: "test", status: "stable",
}, },
{ {
name: "RestrictAppCacheToSecureContexts", name: "RestrictAppCacheToSecureContexts",
......
# This suite runs the test in resize-observer/ with --stable-release-mode, with which
# we run tests with only stable feature (no experiments).
# See the virtual_test_suites() method in tools/blinkpy/web_tests/port/base.py.
<!doctype HTML>
<script src="../../../resources/testharness.js"></script>
<script src="../../../resources/testharnessreport.js"></script>
<style>
div {
width: 100px;
height: 100px;
}
</style>
<div id="observeme"></div>
<script>
//Ensure no error is thrown, second argument in observe() is ignored
test(() => {
new ResizeObserver(entries => {
}).observe(observeme, "TEST");
observeme.style.height = "110px";
}, "No error is thrown when observe() is called");
</script>
...@@ -5603,9 +5603,17 @@ interface ResizeObserver ...@@ -5603,9 +5603,17 @@ interface ResizeObserver
method unobserve method unobserve
interface ResizeObserverEntry interface ResizeObserverEntry
attribute @@toStringTag attribute @@toStringTag
getter borderBoxSize
getter contentBoxSize
getter contentRect getter contentRect
getter devicePixelContentBoxSize
getter target getter target
method constructor method constructor
interface ResizeObserverSize
attribute @@toStringTag
getter blockSize
getter inlineSize
method constructor
interface Response interface Response
static method error static method error
static method redirect static method redirect
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment