[webkit-dev] Request for position: blocking="render" attribute on ,

2022-01-13 Thread Xiaocheng Hu via webkit-dev
Hi webkit-dev,

This is a request for WebKit's position on the blocking="render" attribute
on , 

[webkit-dev] Request for position: CSS tree-scoped at-rule names and refs (for @font-face etc.)

2021-07-19 Thread Xiaocheng Hu via webkit-dev
Hi webkit-dev,

This is a request for WebKit's position on CSS tree-scoped names and
references for @font-face, @keyframes, @counter-style and other
name-defining at-rules.

Spec:
  https://drafts.csswg.org/css-scoping/#shadow-names

Explainer:
  https://drafts.csswg.org/css-scoping/#example-f1503361
  https://drafts.csswg.org/css-scoping/#example-ee72cb37

Existing WebKit bug:
  I'm not aware of any WebKit bug for exactly the same issue. Please let me
know if I missed any. There are some related bugs as listed below:
  https://bugs.webkit.org/show_bug.cgi?id=72461
  https://bugs.webkit.org/show_bug.cgi?id=186837

Summary:

It has been a long standing issue on how name-defining at-rules should be
handled across shadow tree boundaries. The existing behaviors are
non-interoperable between browsers, and even inconsistent in the same
browser between different rules [1]. Following a recent CSSWG resolution
[2], a new and reasonable behavior has been proposed. Chrome is planning to
implement this new behavior, starting with the @counter-style rule [3].

[1] https://wiki.csswg.org/spec/css-scoping
[2] https://github.com/w3c/csswg-drafts/issues/1995#issuecomment-848941922
[3] https://chromestatus.com/feature/5716198446596096
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


Re: [webkit-dev] Request for position: CSS custom counter style

2021-02-25 Thread Xiaocheng Hu via webkit-dev
Thanks for the response!

On Thu, Feb 25, 2021 at 10:08 AM Sam Sneddon  wrote:

>
>
> On 19 Feb 2021, at 20:39, Xiaocheng Hu via webkit-dev <
> webkit-dev@lists.webkit.org> wrote:
>
> Hi webkit-dev,
>
> This is a request for WebKit's position on CSS custom counter style
> (@counter-style rule). The spec status is Candidate Recommendation. Firefox
> has shipped it in 2014, while Chrome is planning to ship it by M90 in April
> 2021.
>
> Explainer: https://developer.mozilla.org/en-US/docs/Web/CSS/@counter-style
> Spec: https://drafts.csswg.org/css-counter-styles-3
>
> Summary: The CSS @counter-style rule allows web authors to specify and use
> custom counter styles in list markers and CSS counters. This helps web
> internationalization.
>
> Thanks!
>
>
> We are generally supportive of it.
>
> /Sam
>
>
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Request for position: CSS @font-face descriptor advance-override

2021-02-22 Thread Xiaocheng Hu via webkit-dev
Hi webkit-dev,

This is a request for WebKit's position on a new descriptor
'advance-override' of the CSS @font-face rule.

This is a new feature that the CSSWG just added into CSS Fonts Level 5 for
reducing layout shifting caused by web fonts. Chrome has already
implemented it in M90 behind a flag.

Explainer:
https://gist.github.com/xiaochengh/3aae8a97d1b0388c8e701819b63e2c49
Spec: https://drafts.csswg.org/css-fonts-5/#font-metrics-override-desc

May I assume https://github.com/w3c/csswg-drafts/pull/5991, authored by
Myles, as a positive signal?

Thank you!
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev


[webkit-dev] Request for position: CSS custom counter style

2021-02-19 Thread Xiaocheng Hu via webkit-dev
Hi webkit-dev,

This is a request for WebKit's position on CSS custom counter style
(@counter-style rule). The spec status is Candidate Recommendation. Firefox
has shipped it in 2014, while Chrome is planning to ship it by M90 in April
2021.

Explainer: https://developer.mozilla.org/en-US/docs/Web/CSS/@counter-style
Spec: https://drafts.csswg.org/css-counter-styles-3

Summary: The CSS @counter-style rule allows web authors to specify and use
custom counter styles in list markers and CSS counters. This helps web
internationalization.

Thanks!
___
webkit-dev mailing list
webkit-dev@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-dev