[blink-dev] Re: Intent to Prototype: CSS 'stretch' sizing keyword

2024-09-23 Thread 'David Grogan' via blink-dev
I intend to add support for flex-basis:stretch as part of this. On Mon, Sep 23, 2024 at 9:57 PM Daniel Holbert wrote: > I think this is a Chrome bug. `flex-basis` is specced as accepting > everything that `width` accepts (plus another keyword): > > Value: content | <'width'> > https://drafts.cs

[blink-dev] Intent to Prototype: CSS 'stretch' sizing keyword

2024-09-19 Thread &#x27;David Grogan&#x27; via blink-dev
Contact emailsdgro...@chromium.org ExplainerNone Specificationhttps://drafts.csswg.org/css-sizing-4/#sizing-values Summary A keyword for CSS sizing properties (e.g. 'width', 'height') that allows elements to grow to exactly fill their containing block's available space. It is similar to '100%',

[blink-dev] Re: Intent to Ship: CSS 'stretch' sizing keyword

2025-04-16 Thread &#x27;David Grogan&#x27; via blink-dev
FWIW, I intend to attempt to implement the behavior described in https://github.com/w3c/csswg-drafts/issues/11784#issuecomment-2734854579 real soon now. If implementing turns out to be feasible and doesn't uncover any inconsistencies then we're fine with switching to the new behavior. Thanks for t

Re: [blink-dev] Intent to Prototype: CSS env variable for OS-level font scale

2025-02-28 Thread &#x27;David Grogan&#x27; via blink-dev
and then the browser-level on top? > > [image: Screenshot 2025-02-27 at 12.17.24.png] > > > On Wed, Feb 26, 2025 at 10:15 PM 'David Grogan' via blink-dev < > blink-dev@chromium.org> wrote: > >> Contact emailsdgro...@chromium.org >> >> Explai

[blink-dev] Intent to Ship: CSS 'stretch' sizing keyword

2025-03-07 Thread &#x27;David Grogan&#x27; via blink-dev
Contact emailsdgro...@chromium.org ExplainerBehaves as 100%, except it sizes the margin box regardless of the value of box-sizing.

[blink-dev] Intent to Prototype: CSS env variable for OS-level font scale

2025-02-26 Thread &#x27;David Grogan&#x27; via blink-dev
Contact emailsdgro...@chromium.org ExplainerNone yet. An example usage is Specificationhttps://github.com/w3c/csswg-drafts/issues/10674 Summary Exposes a user's preferred font scale to CSS. Currently, it is not practical for a page to detect if the user has changed their preferred font size vi

Re: [blink-dev] Intent to Ship: CSS env variable for OS-level font scale

2025-06-17 Thread &#x27;David Grogan&#x27; via blink-dev
Update: after further discussion with Torne, we've decided on a WebView plan, namely that for the time being: - env(preferred-text-scale) will be set only when the layout_mode is set to TEXT_AUTOSIZING (which is similar to how Chrome on Android works) - setTextZoom