Oriol Brufau
Oriol Brufau
Differential Revision: https://phabricator.services.mozilla.com/D153446 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1782673 gecko-commit: 64b80c6cb76018559377836e6e8c3389c8ffc8d3 gecko-reviewers: emilio
https://drafts.csswg.org/resize-observer-1/Overview.html#resizeobserversize ```js interface ResizeObserverSize { readonly attribute unrestricted double inlineSize; readonly attribute unrestricted double blockSize; }; ``` Why make them `unrestricted`? They are readonly, so they can't be set from...
https://drafts.csswg.org/css-cascade-4/#legacy-shorthand > When the old property has a distinct syntax from the new property, the two names are aliased using the [shorthand](https://drafts.csswg.org/css-cascade-4/#shorthand-property) mechanism. These shorthands are defined to be [legacy...
https://drafts.csswg.org/resize-observer-1/#create-and-populate-a-resizeobserverentry > 3. Set this.[borderBoxSize](https://drafts.csswg.org/resize-observer-1/#dom-resizeobserverentry-borderboxsize) slot to result of[ computing size given target and observedBox of "border-box"](https://drafts.csswg.org/resize-observer-1/#calculate-box-size). > 4. Set this.[contentBoxSize](https://drafts.csswg.org/resize-observer-1/#dom-resizeobserverentry-contentboxsize) slot to result of[ computing size given target and...
https://drafts.csswg.org/resize-observer/#create-and-populate-a-resizeobserverentry has this step: > 6. Set this.[contentRect](https://drafts.csswg.org/resize-observer/#dom-resizeobserverentry-contentrect) to logical this.[contentBoxSize](https://drafts.csswg.org/resize-observer/#dom-resizeobserverentry-contentboxsize) given target and observedBox of "content-box". This looks unintelligible to me. I suspect the «given target and observedBox of...
https://drafts.csswg.org/resize-observer-1/#dom-resizeobservation-isactive descrives a `isActive()` method for [`ResizeObservation`](https://drafts.csswg.org/resize-observer-1/#resizeobservation), but it's not in the interface definition: ```js interface ResizeObservation { constructor(Element target, ResizeObserverBoxOptions observedBox); readonly attribute Element target; readonly attribute ResizeObserverBoxOptions observedBox;...
https://andreubotella.com/csswg-auto-build/css-sizing-3/#definite > A size that can be determined without performing layout So if I have something like ```html a a ``` Should the inner elements resolve `50%` to `0px` and...
Suppose an element stores a last remembered size with width/inline-size of 100px and height/block-size of 200px. Then we add `content-visibility: hidden` so that the element uses that last remembered size....
From https://drafts.csswg.org/resize-observer-1/#intro > Observations do not fire for non-replaced inline Elements. Well that contradicts Blink, WebKit and Gecko: ```html new ResizeObserver(entries => { for (let entry of entries) { console.log(entry.contentRect);...
https://drafts.csswg.org/css-sizing-4/#last-remembered > At the time that [ResizeObserver](https://drafts.csswg.org/resize-observer-1/#resizeobserver) events are determined and delivered, if an element has [`contain-intrinsic-size: auto`](https://drafts.csswg.org/css-sizing-4/#propdef-contain-intrinsic-size), is capable of being a [ResizeObserver](https://drafts.csswg.org/resize-observer-1/#resizeobserver) target, but does not have [size...