Issue #1783 - Part 2: Update ResizeObserver and resizeObserverSize.

This adds the later spec revision's contentBoxSize and borderBoxSize, and the
inlineSize and blockSize concepts.
The older spec contentRect remains functional as well for backwards
compatibility with the earlier spec (that was IMHO perfectly fine as it was...)
This commit is contained in:
Moonchild 2021-06-19 15:38:14 +00:00 • committed by roytam1
commit 25164d0b75
4 changed files with 228 additions and 82 deletions

View file

@ -736,6 +736,11 @@ DOMInterfaces = {
'headerFile': 'mozilla/dom/ResizeObserver.h',
},
'ResizeObserverSize': {
'nativeType': 'mozilla::dom::ResizeObserverSize',
'headerFile': 'mozilla/dom/ResizeObserver.h',
},
'Response': {
'binaryNames': { 'headers': 'headers_' },
},