-
-
Notifications
You must be signed in to change notification settings - Fork 696
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
Add support for CSS Grid Layout Module #543
Comments
@LucienD You're lucky, the algorithm has already been done for you 😉. |
Hi @liZe, where in the project would I start to begin figuring out how I may contribute this? |
Hello @MindFluid!
Good news, thank you! First of all: this issue needs a lot of work and requires a lot of patience. The first steps are not that hard and are a good way to understand WeasyPrint, but implementing grid's algorithm is really complex. So: if you don't feel like you can spend days before getting a simple grid on a PDF, you can try other issues with the "Good first issue" label. I can help you a lot on these issues, just ask. If you're not afraid and want to work on this issue, no problem! As I said, the first steps are a good way to discover WeasyPrint. Even if you will not get a grid quickly, there's a lot of fun problems to solve and of small rewards to get. Here are the steps you can follow: Define your test caseThe first way to test during development (the one I prefer) is to create a small HTML file with only CSS and to launch For example, a good first file for you could be: <style>
article {
grid-template-columns: auto 1fr;
grid-template-rows: auto 50px;
}
div {
grid-column-start: 1;
grid-row-start: 1;
}
</style> For the moment, you get:
Your first mission is to make these messages disappear. You can only focus on these 4 properties for now. How to do that? Go to the next step! Validate the propertiesCSS properties related to grid are currently unknown for WeasyPrint. You must add a validator to check that the values are correct. Validators are in The syntax of the values allowed for the properties are defined in the "Value" line of each property in the specification (for example, it is The A validator must return the pythonic representation of the values. For example, if your property needs a string, you return a If you reach this point, congratulations! This comment is already too long, you'll discover the next steps in the next comment! If you need help or have any questions, just ask, I'll do my best to help! |
Thanks for the detailed answer @liZe, I'll try find some time this year to get around this! |
Is any work being done on this? |
Nobody's working on that as far as I know. |
I just ran into this. Definitely would be awesome if this could be used. |
Hello @rarenatoe. I’d love to have this feature too. Everybody does. But unfortunately I don’t have the time to implement it: the amount of work needed to support this is important, and there are lots of other bugs to fix and features to add. You can help us by writing some code (if you have Python skills), we can help you if you want. If you’re not a Python dev, you can also support us on OpenCollective, it really gives us more time to work on WeasyPrint, and hopefully to solve this issue more quickly. |
hi can you guide me on it so that i can implement it? |
Hello. What about organizing a google summer of code to handle those kind of issue ? EDIT PS here is the 2020 org list https://summerofcode.withgoogle.com/archive/2020/organizations/ ffmeg, opencv inkscape, processing foundation, purr data, videolan |
Hello @keinagae! The best way for you to start working on Grid support is to follow this comment. If you reach the end of the comment, I’ll write the next one 😉.
Hello @o314. Getting money from Google to develop a web engine that can help users to get rid of Google products is a bit awkward for us 😉. |
Hello @liZe, CSS grid support would be very nice to have, so I decided to try my hand at this, based on your comment above. I only just started playing around with it, but maybe you could have a look, to see if I'm at least moving in the right direction? It's a work in progress... EDIT: After re-reading the original comment, just now, I see it already answers some of my questions. |
Hi @dennisvang, That’s a good start! When your validations are done, just ask me, I’ll add a comment with the next steps! |
Hello! (The survey is now closed. Thanks for all your answers! We’ll share the results soon 😉) If you’re interested in grid, we created a short survey where you can give a boost to this feature and help us to improve WeasyPrint 😉 Vote for it! |
@liZe I want the next steps. |
i dont want to receive this mails any more
El vie, 18 jun 2021 a las 11:50, Khalid Muhammad ***@***.***>)
escribió:
… Hi @dennisvang <https://github.com/dennisvang>,
That’s a good start! When your validations are done, just ask me, I’ll add
a comment with the next steps!
@liZe <https://github.com/liZe> I want the next steps.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#543 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AJ32JM2QCPZQD5QA72VZ4B3TTNTLJANCNFSM4EEWX6NQ>
.
--
[image: Avatar]
JAVIER RODRIGUEZ AGUILERA
MACHINE LEARNING ANALYST
GERENCIA INTELIGENCIA ARTIFICIAL
*email:* ***@***.***
ALCANTARA 99, Piso 6,SANTIAGO
Teléfono: 02 26927000 Ext: 9633
Te invitamos a ingresar a nuestros *Canales Digitales, Bci.cl y App Bci*,
en donde podrás realizar consultas y hacer tus operaciones bancarias las *24
horas del día*, todos los días del año.
*Bci.cl*, realiza todas tus operaciones bancarias y de inversión, en
cualquier momento.
*App Bci*, descárgala desde App Store o Google Play y accede a tu
información de manera rápida, fácil y segura.
*Chat Digital*, busca el ícono en tu sitio privado y contacta a un
ejecutivo virtual que te ayudará en línea.
*Clientes empresas*, ingresa a nuestra plataforma digital 360 | connect, en
www.bci/empresas o con la Mesa de ayuda
al 2 2697 5000.
--
* Nunca y bajo ninguna circunstancia, te solicitaremos de manera
escrita o verbal, tus claves personales, tampoco en links enviados por
sitios con apariencia legítima, vía SMS, correos electrónicos o emails..
* Protege y nunca compartas tus claves de acceso, BciPass, Multipass.
*
Accede directo ingresando la dirección electrónica de Bci en la barra de tu
navegador.
* No accedas a la página del banco a través de links
entregados por buscadores (Google, otros) o a través de enlaces que
aparezcan en otras web, porque pueden llevarte a sitios falsos y tener
links maliciosos.
* Nunca bloquearemos tu cuenta como argumento para
solicitar actualización de datos
CONFIDENCIALIDAD: Toda la información
contenida en este mensaje es confidencial y destinada al uso exclusivo del
emisor y/o del destinatario. Cualquier tratamiento no autorizado de esta
información podrá ser sancionado conforme a la Ley. Si recibió este mensaje
por error, por favor infórmenos, borre el mensaje y sus archivos adjuntos
|
Hi @jrodria! |
@jrodria No te vayas :( |
Hello! As it’s soon our 2-year anniversary as CourtBouillon, we opened a short survey to know more about your expectations. The survey will be opened until October 10th. Update: the survey is now closed. You can find the results here. |
Hello! As you may know, two weeks ago was CourtBouillon 3-year anniversary 🎉. For this occasion, we prepared a short survey to have your opinion on this year’s features and to know what you’d like to see in the future! The survey is opened until November 19. |
Hi!, I'm interested in supporting this issue, is there a |
Hi! You can read the contribute page of the documentation. To be honest, this feature is quite hard to implement. Maybe you can dive into WeasyPrint’s code by trying to solve a good first issue? |
is grid still not working? |
The issue is still opened, linked to milestone 62.0 and the last version of WeasyPrint is 61.2. So it’s planned for the next main version. |
A pull request has been opened: #2121. If you’re interested in Grid, it’s time to test and give us some feedback! |
We’ll merge #2121 in a couple of days, last chance to test! |
exciting. i didnt get a chance to test it, but that might change soon. if i find something, i'll create a fresh bug report. cheers and thank you for weasyprint :) |
Could this be added to supported CSS specs? It makes layout design sooo much easier.
https://www.w3.org/TR/css-grid-1/
The text was updated successfully, but these errors were encountered: