display-locking icon indicating copy to clipboard operation
display-locking copied to clipboard

A repository for the Display Locking spec

Results 18 display-locking issues
Sort by recently updated
recently updated
newest added

Bikeshed: ContentVisibilityAutoStateChange, RenderingStateChange This is useful for frameworks like react to indicate that the element should be deprioritized for updates when it is not being rendered. /cc @chrishtr

Apologies if I've missed it but it seems currently the [isVisible](https://github.com/WICG/display-locking/blob/main/explainers/isvisible.md) method doesn't provide a way to tie into the extra abilities inside of [IntersectionObserver v2](https://web.dev/intersectionobserver-v2/). Would this be something...

The example still had some content-visibility:hidden-matchable in it and it was also needlessly removing the hidden=until-found attribute which the browser is supposed to do instead.

... and should it have values that indicate priority Presumably this would be an attribute on Element, meaning that any element would support this attribute. This would also be no-op...

updateRendering

I was wondering whether the new `renderPriority` attribute will have effects on iframes (either because it is set on the iframe element itself or because it is inherited from an...

updateRendering

To make an accessible but visually pleasing website, we often need to add a `visually-hidden` (or sometimes called [`sr-only`](https://tailwindcss.com/docs/screen-readers)) CSS class. What it does is allow it to be seen...

(from @chrishtr, via discussion in #201 ): It's an interesting question. What should renderPriority=background do to a DOM subtree that is visible? I suggest we add text like: * renderPriority...

updateRendering

What should happen if there is a descendant chain of elements all of which have content-visibility: hidden and all of which get a call to updateRendering? It is likely that...

updateRendering

macOS Canary 84:0.4 I'm using a magic mouse which has inertia, and when i try to gently scroll back up in Example 4 with `contain: size` on, and i'm in...

bug

AIUI from Issue #112, certain calls such as `getBoundingClientRect()` may defeat the optimization by causing the subtree to get activated/laid out. Perhaps it would make sense to suggest implementation give...

enhancement