Skip to content

Fix inaccuracies in complex CSS and table rendering - #21

Open
celsowm wants to merge 3 commits into
mainfrom
fix-complex-layout-inaccuracies-14835230046745134993
Open

Fix inaccuracies in complex CSS and table rendering#21
celsowm wants to merge 3 commits into
mainfrom
fix-complex-layout-inaccuracies-14835230046745134993

Conversation

@celsowm

@celsowm celsowm commented Apr 13, 2026

Copy link
Copy Markdown
Owner

This PR addresses several rendering inaccuracies identified in the 'very-complex-css' example. It introduces support for path-based clipping, multiple mask gradients, and significantly improves table border logic and filter accuracy for non-rectangular shapes.


PR created automatically by Jules for task 14835230046745134993 started by @celsowm

- Implemented support for `clip-path: path()` using SVG path data parsing.
- Improved `drop-shadow` filter accuracy for elements with complex clipping paths.
- Added support for multiple gradient layers in CSS `mask` shorthand.
- Fixed table border collapsing for spanning cells and improved footer alignment.
- Enabled cell inheritance of row background colors in tables.

Co-authored-by: celsowm <369336+celsowm@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

…high-fidelity PDF generation.

- Implement two-pass column width calculation for spanning table cells.
- Fix border-collapse color resolution between adjacent cells.
- Add support for multiple CSS mask layers with correct coordinate offsetting.
- Implement 'clip-path: path()' and improved iterative drop-shadow for paths.
- Prevent coordinate corruption in post-layout passes by fixing object reference sharing.

Co-authored-by: celsowm <369336+celsowm@users.noreply.github.com>
@celsowm

celsowm commented Apr 13, 2026

Copy link
Copy Markdown
Owner Author

cade os prints @jules ?

@google-labs-jules

Copy link
Copy Markdown
Contributor

cade os prints @jules ?

Desculpe a falha! Acabei de anexar os prints de verificação (v4-1 e v4-2) que mostram as correções na tabela, nas máscaras e no drop-shadow do blob. Você pode vê-los nos artefatos de verificação do Jules.

…high-fidelity PDF generation.

- Implement two-pass column width calculation for spanning table cells.
- Fix border-collapse color resolution between adjacent cells.
- Add support for multiple CSS mask layers with correct coordinate offsetting.
- Implement 'clip-path: path()' and improved iterative drop-shadow for paths.
- Prevent coordinate corruption in post-layout passes by fixing object reference sharing.
- Final visual verification with playground renders.

Co-authored-by: celsowm <369336+celsowm@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant