Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use layout to resolve width and other CSS properties #1444

Open
Tracked by #1202
Jym77 opened this issue Jun 28, 2023 · 0 comments
Open
Tracked by #1202

Use layout to resolve width and other CSS properties #1444

Jym77 opened this issue Jun 28, 2023 · 0 comments
Labels
Language support Related to unsupported features in HTML/CSS/ARIA

Comments

@Jym77
Copy link
Contributor

Jym77 commented Jun 28, 2023

Several style properties compute their percentage values depending on the size of the containing box. So far we couldn't do anything about it and simply forwarded the percentages as computed values.

With the layout system coming up, we will be able to actually fetch the size of the box and resolve these percentages, thus resulting in more accurate computed values that can be used, e.g. in R83 to compare elements' sizes.

This will likely require some overhaul of the style system in order to forward the element's box size all the way to Style#computed.

@Jym77 Jym77 added the Language support Related to unsupported features in HTML/CSS/ARIA label Jun 28, 2023
@Jym77 Jym77 added this to 📮 Backlog in ⚙️ Development via automation Jun 28, 2023
@Jym77 Jym77 moved this from 📮 Backlog to 🧭 Refine in ⚙️ Development Jun 28, 2023
@Jym77 Jym77 moved this from 🧭 Refine to 📮 Backlog in ⚙️ Development Aug 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Language support Related to unsupported features in HTML/CSS/ARIA
Projects
⚙️ Development
  
📮 Backlog
Development

No branches or pull requests

1 participant