[blink-dev] Intent to Prototype and Ship: Snap border, outline and column-rule widths before layout

2022-09-28 Thread Traian Captan
Contact emails tcap...@chromium.org Explainer Though not a formal explainer, Emilio has an excellent writeup of this issue at https://crisal.io/words/2020/06/13/rounding-borders.html. Spec With this change to blink, all implementations will agree, and this can be specified (see: https://github

Re: [blink-dev] Intent to Implement and Ship: Unprefixed -webkit-image-set

2022-11-30 Thread Traian Captan
Hi, This issue has been bugging devs since 2016. I'm landing a patch to unprefix -webkit-image-set which will expose the current image-set functionality without needing the '-webkit-' prefix. To address the compat issue, if b

Re: [blink-dev] Intent to Implement and Ship: Unprefixed -webkit-image-set

2022-12-01 Thread Traian Captan
d. See: https://github.com/w3c/csswg-drafts/issues/7662 > > 以上 > 一丝 > > > Traian Captan 于2022年12月1日周四 07:59写道: > >> Hi, >> >> This issue has been bugging devs since 2016. >> >> I'm landing a patch >> <https://chromium-review.googlesour

Re: [blink-dev] Intent to Implement and Ship: Unprefixed -webkit-image-set

2022-12-01 Thread Traian Captan
t 1:59 AM Traian Captan wrote: > >> Hi, >> >> This issue has been bugging devs since 2016. >> >> I'm landing a patch >> <https://chromium-review.googlesource.com/c/chromium/src/+/4063134> to >> unprefix -webkit-image-set which will expose th

Re: [blink-dev] Intent to Implement and Ship: Unprefixed -webkit-image-set

2022-12-01 Thread Traian Captan
ed about you taking on this area! At the same time, I agree with > Rego that we should not be landing patches for this without a new intent > that looks at the current compat landscape. > Can you put this behind a flag and send a new intent? Thanks! :) > > On Fri, Dec 2, 2022 at 3:4

Re: [blink-dev] Intent to Implement and Ship: Unprefixed -webkit-image-set

2022-12-02 Thread Traian Captan
we should also update things at: > https://chromestatus.com/feature/5432024223449088 I'll send a brand new one. > And probably notify MDN so it can get updated if the prefix is no longer > needed in any browser. > Good idea. Regards, Traian On Wed, Nov 30, 2022 at 11:57 PM Ma

[blink-dev] Intent to Ship: Unprefix -webkit-image-set

2022-12-05 Thread Traian Captan
Contact emailstcap...@chromium.org ExplainerNone Specification https://w3c.github.io/csswg-drafts/css-images-4/#image-set-notation Summary Unprefix -webkit-image-set to expose the current image-set functionality without needing the '-webkit-' prefix. Blink componentBlink

[blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2022-12-07 Thread Traian Captan
6, 2022 at 3:23:32 AM UTC+1 Traian Captan wrote: > >> Contact emailstcap...@chromium.org >> >> ExplainerNone >> >> Specification >> https://w3c.github.io/csswg-drafts/css-images-4/#image-set-notation >> >> Summary >> >> Unprefix -webk

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2022-12-07 Thread Traian Captan
Hi Rego, > I do wonder what's the goal of removing the prefix, if we're not also > improving the spec compliance and interoperability? > It's an incremental step in the direction of spec compliance and interoperability. Further improvements will follow. This is similar to how Firefox handled the

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2022-12-07 Thread Traian Captan
t; to explain which is shipping exactly, is there any kind of documentation >> about that? >> > > IMO, un-prefixing is an un-alloyed good thing, regardless of how spec > compliant chromium's implementation is. If it is in fact as buggy as you > suggest, then let the bugs

[blink-dev] Intent to Ship: meter element fallback styles

2024-08-12 Thread Traian Captan
Contact emailstcap...@chromium.org ExplainerNone SpecificationNone Summary With this change elements with `appearance: none` will have a reasonable fallback style that matches Safari and Firefox instead of just disappearing from the page. As well developers will be able to custom style the el

Re: [blink-dev] Intent to Ship: meter element fallback styles

2024-08-15 Thread Traian Captan
On Mon, Aug 12, 2024 at 10:51 PM Domenic Denicola wrote: > SpecificationNone >> > > My understanding is that appearance: none has a specification, probably > around https://drafts.csswg.org/css-ui/#appearance-switching . Can you > ensure this field is filled out, and more importantly, that the >

Re: [blink-dev] Intent to Ship: meter element fallback styles

2024-08-18 Thread Traian Captan
> > This relates to the interoperability issues discussed below. You say "This > change increases interop with Safari and Firefox which already provide a > reasonable fallback style for elements with `appearance: none`," > but don't give detail on whether our "reasonable fallback style" is the > s

Re: [blink-dev] Intent to Ship: meter element fallback styles

2024-08-22 Thread Traian Captan
Thanks Alex! On Wed, Aug 21, 2024 at 8:43 AM Alex Russell wrote: > LGTM1; thanks for the detailed responses to Domenic. > > On Sunday, August 18, 2024 at 10:30:50 PM UTC-7 Traian Captan wrote: > >> This relates to the interoperability issues discussed below. You say >>

Re: [blink-dev] Intent to Ship: meter element fallback styles

2024-08-22 Thread Traian Captan
s to Domenic. > > On Sunday, August 18, 2024 at 10:30:50 PM UTC-7 Traian Captan wrote: > >> This relates to the interoperability issues discussed below. You say >>> "This change increases interop with Safari and Firefox which already >>> provide a reason

[blink-dev] Intent to Prototype: Intersection Observer Scroll Margin

2023-09-14 Thread Traian Captan
Contact emailstcap...@chromium.org ExplainerNone Specification https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-scrollmargin Summary Intersection Observer scrollMargin allows developers to observe targets inside nested scroll containers that are currently clipped away by the

[blink-dev] Intent to Ship: Intersection Observer Scroll Margin

2023-09-25 Thread Traian Captan
Contact emailstcap...@chromium.org ExplainerNone Specification https://w3c.github.io/IntersectionObserver/#dom-intersectionobserver-scrollmargin Summary Intersection Observer scrollMargin allows developers to observe targets inside nested scroll containers that are currently clipped away by the

[blink-dev] Re: Intent to Ship: Intersection Observer Scroll Margin

2023-09-29 Thread Traian Captan
Hi Alex, The much larger intersection observer feature went through a TAG review in https://github.com/w3ctag/design-reviews/issues/197, and this is only a minor addition to that. Regards, Traian On Fri, Sep 29, 2023 at 12:43 PM Alex Russell wrote: > This looks relatively non-controversial, b

[blink-dev] Re: Intent to Ship: Intersection Observer Scroll Margin

2023-09-29 Thread Traian Captan
Hi Alex, Just in case, I file a TAG review issue: https://github.com/w3ctag/design-reviews/issues/905 Regards, Traian On Fri, Sep 29, 2023 at 2:22 PM Traian Captan wrote: > Hi Alex, > > The much larger intersection observer feature went through a TAG review in > https://githu

[blink-dev] Re: Intent to Ship: Intersection Observer Scroll Margin

2023-10-04 Thread Traian Captan
On Tuesday, September 26, 2023 at 1:10:34 AM UTC+2 Traian Captan wrote: > > Contact emailstcap...@chromium.org > > ExplainerNone > > Specificationhttps://w3c.github.io/IntersectionObserver/#dom- > intersectionobserver-scrollmargin > > Summary > > Intersection Observer s

Re: [blink-dev] Re: Intent to Ship: Intersection Observer Scroll Margin

2023-10-11 Thread Traian Captan
2023 at 10:50:14 PM UTC-7 Yoav Weiss wrote: >> >>> On Wed, Oct 4, 2023 at 10:27 PM Traian Captan >>> wrote: >>> >>>> Hi Yoav, >>>> >>>> I don't know of Gecko's and WebKit's concrete implementation plans for

[blink-dev] Intent to Prototype: Lazy load scroll margin

2023-11-16 Thread Traian Captan
Contact emailstcap...@chromium.org ExplainerNone Specificationhttps://html.spec.whatwg.org/#lazy-load-root-margin Summary Changes the lazy load intersection observer's init dictionary to use a scrollMargin instead of a rootMargin. This allows lazy loading images contained inside CSS scrollers,

[blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-21 Thread Traian Captan
Contact emailstcap...@chromium.org ExplainerNone Specificationhttps://html.spec.whatwg.org/#lazy-load-root-margin Summary Changes the lazy load intersection observer's init dictionary to use a scrollMargin instead of a rootMargin. This allows lazy loading images contained inside CSS scrollers,

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-21 Thread Traian Captan
Yes, that's correct. On Tue, Nov 21, 2023 at 9:18 PM Yoav Weiss wrote: > Do I understand correctly that currently lazy-loaded images in CSS > scrollers have suboptimal behavior and this would improve that without > potentially harming other cases? > > On Wed, Nov 22, 20

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-29 Thread Traian Captan
cases without nested scrollers, initializing an intersection observer with either scroll or root margin will behave the same. However, in cases with nested scrollers, using root margin will cause images to load late while using scroll margin will cause them to load as expected. On Tue, Nov 21, 2023 a

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-30 Thread Traian Captan
tersecting}`); } On Mon, Nov 27, 2023 at 11:40 PM Rick Byers wrote: > On Wed, Nov 22, 2023 at 2:37 PM Yoav Weiss wrote: > >> Thanks, that sounds like a strict improvement. >> >> On Wed, Nov 22, 2023 at 6:25 AM Traian Captan >> wrote: >> >>> Yes

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-30 Thread Traian Captan
> On Thu, Nov 30, 2023 at 5:07 PM Traian Captan > wrote: > >> Thank you Rick! >> >> I did some investigating into why WebKit is passing some of the new WPTs >> for lazy loaded images. >> I think it might be because WebKit is considering the edge as inclusive

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-30 Thread Traian Captan
e care > of it as well. Let me know when this is in canary and I can try and test it > out (at the moment I am not using lazy loading as a result). :) > > ☆*PhistucK* > > > On Thu, Nov 30, 2023 at 10:27 AM Traian Captan > wrote: > >> Hi Rick, >> >> Yes

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-30 Thread Traian Captan
You're welcome Rick! On Thu, Nov 30, 2023 at 5:33 AM Rick Byers wrote: > Thank you Traian! > > On Thu, Nov 30, 2023 at 7:27 PM Traian Captan > wrote: > >> Hi Rick, >> >> Yes. I uploaded a CL that increases the spacer size by 30px: >> https://chr

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-30 Thread Traian Captan
Thank you Mike! On Thu, Nov 30, 2023 at 10:54 AM Mike Taylor wrote: > LGTM2 > On 11/30/23 9:33 AM, Traian Captan wrote: > > You're welcome Rick! > > > On Thu, Nov 30, 2023 at 5:33 AM Rick Byers wrote: > >> Thank you Traian! >> >> On Thu,

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-11-30 Thread Traian Captan
Thank you Chris! On Thu, Nov 30, 2023 at 10:57 AM Chris Harrelson wrote: > LGTM3 > > On Thu, Nov 30, 2023 at 10:54 AM Mike Taylor > wrote: > >> LGTM2 >> On 11/30/23 9:33 AM, Traian Captan wrote: >> >> You're welcome Rick! >> >&

[blink-dev] Intent to Ship: Auto Sizes for Lazy Loaded Images with Srcset

2023-11-30 Thread Traian Captan
Contact emailstcap...@chromium.org Explainerhttps://github.com/whatwg/html/issues/4654 Specificationhttps://html.spec.whatwg.org/#sizes-attributes Summary Auto Sizes allows developers to set the sizes attribute to auto (sizes=auto) for lazy loaded image elements with srcset. For this use case t

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-12-04 Thread Traian Captan
. > > I will file an issue with the reduced test case for the > no-dimensions-until-loaded issue. > > > > ☆*PhistucK* > > > On Thu, Nov 30, 2023 at 5:33 PM Traian Captan > wrote: > >> Will do. >> Would you mind sharing an example of the case you encoun

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-12-12 Thread Traian Captan
, that is debatable... Because the image is 0x0 before it is loaded >>> and centered, it is technically not in the viewport, but I am not sure why >>> it would be 0x0. I am changing the original snippet to this (untested, just >>> more like what I have) - >>> >&

Re: [blink-dev] Intent to Ship: Lazy load scroll margin

2023-12-12 Thread Traian Captan
otice merch-zones/gifts/live.jpg image downloads >>>> >>>> I have also attached videos to explain the change. >>>> >>>> Thank you! >>>> >>>> On Tuesday, December 5, 2023 at 12:23:51 PM UTC-8 PhistucK wrote: >>>>

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2023-01-23 Thread Traian Captan
Hi Rego, If we have plans to fix issues on this feature later, why not fixing > them before and then shipping when things look good? Sounds good. I'll fix the issues first, and then I will update the Intent. Checking the tests results in wpt.fyi: > > https://wpt.fyi/results/css/css-images/image-

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2023-01-23 Thread Traian Captan
Thanks Noam! I'll add support for the other cases behind the feature flag and we'll ship it when we are "interoperable enough". Regards, Traian On Wed, Dec 14, 2022 at 6:41 AM Noam Rosenthal wrote: > > > On Wed, Dec 14, 2022 at 2:28 PM Manuel Rego Casasnovas > wrote: > >> If we have plans to

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2023-03-07 Thread Traian Captan
This intent message was generated by Chrome Platform Status <https://chromestatus.com/>. Regards, Traian On Mon, Jan 23, 2023 at 2:57 PM Traian Captan wrote: > Thanks Noam! > > I'll add support for the other cases behind the feature flag and we'll > ship it when we are

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2023-03-08 Thread Traian Captan
Thanks Yoav! On Wed, Mar 8, 2023 at 1:53 AM Yoav Weiss wrote: > My LGTM1 still stands! :) > > On Wed, Mar 8, 2023 at 8:40 AM Traian Captan wrote: > >> Hi, >> >> Following the previous conversation, we worked on adding support for the >> missing functionalit

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2023-03-08 Thread Traian Captan
Thanks Rego! On Wed, Mar 8, 2023 at 6:51 AM Manuel Rego Casasnovas wrote: > LGTM2 > > Thank you very much for fixing the issues before shipping. > > On 08/03/2023 10:53, Yoav Weiss wrote: > > Even though wpt.fyi > > < > https://wpt.fyi/results/css/css-images/image-set/image-set-computed.sub.htm

Re: [blink-dev] Re: Intent to Ship: Unprefix -webkit-image-set

2023-03-08 Thread Traian Captan
Thanks Daniel! On Wed, Mar 8, 2023 at 2:39 PM Daniel Bratell wrote: > LGTM3 to ship image-set > > /Daniel > > On 2023-03-08 15:51, Manuel Rego Casasnovas wrote: > > LGTM2 > > > > Thank you very much for fixing the issues before shipping. > > > > On 08/03/2023 10:53, Yoav Weiss wrote: > >> Even

[blink-dev] Intent to Prototype: Auto Sizes for Lazy Loaded Images with Srcset

2023-06-01 Thread Traian Captan
Contact emailstcap...@chromium.org Explainerhttps://github.com/whatwg/html/issues/4654 Specificationhttps://github.com/whatwg/html/pull/8008 Summary Auto Sizes allows developers to omit the sizes attribute (or set it to sizes=auto) for lazy loaded image elements with srcset. For this use case t