Skip to content

[css-flex] Add APIs for discovering flex information not exposed by properties #5682

@mrego

Description

@mrego

This is the same issue than #4511 but for flexbox instead of grid layout.

Despite flexbox is simpler than grid, it might be needed some internal information to be able to develop some stuff like dev tools, or a flex highlighter in an editor, or things like that. Those tools could probably back compute that information, but that's information already known by the engine so maybe it could be a good idea to expose it.

I guess @captainbrosset can provide examples of the kind of things that would be needed here, as he's working on flexbox tooling for Chromium DevTools.

JFYI, in this case Firefox doesn't have an internal API, like for grid.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions