mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-22 09:45:41 +00:00
9c6dd560e5
There is a spec issue about should we expose this API: https://github.com/w3c/csswg-drafts/issues/3946 It's no clear that should we really need this API, so let's match Chromium for now. Differential Revision: https://phabricator.services.mozilla.com/D31891 --HG-- extra : moz-landing-system : lando
16 lines
345 B
HTML
16 lines
345 B
HTML
<html>
|
|
<head>
|
|
<script>
|
|
function start() {
|
|
const o1 =
|
|
document.createElementNS('http://www.w3.org/1999/xhtml', 'slot');
|
|
const observer = new ResizeObserverEntry(o1);
|
|
typeof observer.borderBoxSize;
|
|
typeof observer.contentBoxSize;
|
|
}
|
|
|
|
window.addEventListener('load', start);
|
|
</script>
|
|
</head>
|
|
</html>
|