Skip to content
This repository was archived by the owner on Apr 11, 2024. It is now read-only.

Commit dae9a77

Browse files
committed
Add Resize Observer
1 parent cc20547 commit dae9a77

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

scripts/9/data.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2733,6 +2733,14 @@ var tests = [
27332733
[ 'w3c', 'https://wicg.github.io/IntersectionObserver/' ],
27342734
[ 'mdn', '/Web/API/Intersection_Observer_API' ]
27352735
]
2736+
}, {
2737+
id: 'resizeObserver',
2738+
name: 'Resize Observer',
2739+
value: { maximum: 1, award: { PREFIX: 1 } },
2740+
status: 'experimental',
2741+
urls: [
2742+
[ 'w3c', 'https://wicg.github.io/ResizeObserver/' ]
2743+
]
27362744
}, {
27372745
id: 'url',
27382746
name: 'URL API',

scripts/9/engine.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3786,6 +3786,16 @@ Test9 = (function () {
37863786
},
37873787

37883788

3789+
/* resize observer */
3790+
3791+
function (results) {
3792+
results.addItem({
3793+
key: 'scripting.resizeObserver',
3794+
passed: 'ResizeObserver' in window ? YES : 'WebKitResizeObserver' in window || 'MozResizeObserver' in window || 'msResizeObserver' in window ? YES | PREFIX : NO
3795+
});
3796+
},
3797+
3798+
37893799
/* url api */
37903800

37913801
function (results) {

0 commit comments

Comments
 (0)