Intent to Prototype: 'display' property with two values

134 views
Skip to first unread message

TAMURA, Kent

unread,
Apr 6, 2023, 2:19:50 AM4/6/23
to blink-dev

Contact emails

tk...@chromium.org

Explainer

https://developer.mozilla.org/ja/docs/Web/CSS/display

Specification

https://w3c.github.io/csswg-drafts/css-display/#the-display-properties


Summary

CSS 'display' property supports two keywords. Web authors can specify - How the box and its neighbor boxes are located; inline or block - How children of the box are laid out; flow, flex, grid, etc. separately. For example, `display: inline flow` instead of `display: inline-block` `display: block flex` instead of `display: flex`


Blink component

Blink>CSS


TAG review

None.
Two other browsers already shipped this.

TAG review status

Not applicable.

Risks



Interoperability and Compatibility

Risks are very low. It's an additional behavior of an existing CSS property, and two other browsers already shipped the feature.



Gecko: Shipped/Shipping

WebKit: Shipped/Shipping

Web developers: Positive (https://bugs.chromium.org/p/chromium/issues/detail?id=995106) The bug has 16 stars.

Other signals:

WebView application risks




Debuggability



Is this feature fully tested by web-platform-tests?

Yes
https://wpt.fyi/results/css/css-display/parsing/display-valid.html

Flag name



Requires code in //chrome?

False

Tracking bug

https://bugs.chromium.org/p/chromium/issues/detail?id=995106

Estimated milestones

No milestones specified



Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5091238937624576

Links to previous Intent discussions





--
TAMURA Kent
Software Engineer, Google


Rick Byers

unread,
Apr 6, 2023, 10:00:50 AM4/6/23
to TAMURA, Kent, blink-dev
Looks completely uncontentious, thanks for working to improve interop Kent!

--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion on the web visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAGH7WqHp0X4b%3DadYDPGVGVMwhP3Pt8Sj4EGj5AE31OddYyODRw%40mail.gmail.com.

TAMURA, Kent

unread,
Apr 7, 2023, 2:17:27 AM4/7/23
to blink-dev
Correction: We will be able to specify three values like "display: inline flow-root list-item".  It's in the scope of the intent.


Reply all
Reply to author
Forward
0 new messages