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

Multicol usage with column-count and column-width #36

Open
rachelandrew opened this issue Jul 22, 2020 · 2 comments
Open

Multicol usage with column-count and column-width #36

rachelandrew opened this issue Jul 22, 2020 · 2 comments
Labels
✅ Has algorithm (1/3) An implementable algorithm for how to measure this stat has been described in the issue ✅ Has JS (2/3) JS has been written to calculate this stat ✅ Has SQL (3/3) BigQuery SQL has been written to calculate this stat. proposed stat Proposed statistic to study Section: Layout

Comments

@rachelandrew
Copy link
Collaborator

How much are people using multicol on the web?

@rachelandrew rachelandrew added the proposed stat Proposed statistic to study label Jul 22, 2020
@LeaVerou
Copy link
Owner

LeaVerou commented Jul 22, 2020

This should be very easy to measure by just the presence of the core multicol attributes (columns, column-count, column-width).

@LeaVerou LeaVerou added ⚠️ Needs SQL Needs SQL to calculate this stat ⚠️ Needs JS Needs JS to calculate this stat ⚠️ Needs algorithm labels Aug 4, 2020
@LeaVerou LeaVerou added ✅ Has algorithm (1/3) An implementable algorithm for how to measure this stat has been described in the issue and removed ⚠️ Needs algorithm labels Aug 22, 2020
@LeaVerou
Copy link
Owner

LeaVerou commented Sep 6, 2020

JS (assuming appropriate imports from https://github.com/LeaVerou/rework-utils):

countProperties(ast.stylesheet.rules, {propeties: /^column[s-]/});

@LeaVerou LeaVerou added ✅ Has JS (2/3) JS has been written to calculate this stat and removed ⚠️ Needs JS Needs JS to calculate this stat labels Sep 6, 2020
LeaVerou added a commit that referenced this issue Sep 7, 2020
@rviscomi rviscomi added ✅ Has SQL (3/3) BigQuery SQL has been written to calculate this stat. and removed ⚠️ Needs SQL Needs SQL to calculate this stat labels Oct 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✅ Has algorithm (1/3) An implementable algorithm for how to measure this stat has been described in the issue ✅ Has JS (2/3) JS has been written to calculate this stat ✅ Has SQL (3/3) BigQuery SQL has been written to calculate this stat. proposed stat Proposed statistic to study Section: Layout
Projects
None yet
Development

No branches or pull requests

3 participants