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

Ladybird multi-column content issue (column-width css property) #23921

Open
jordanmartell0 opened this issue Apr 10, 2024 · 2 comments
Open

Ladybird multi-column content issue (column-width css property) #23921

jordanmartell0 opened this issue Apr 10, 2024 · 2 comments

Comments

@jordanmartell0
Copy link

Hi, I'm a University of Utah student working on Ladybird as part of my final project for CS 4560 Web Browser Internals. While using the browser, I found a bug in how it positions text in separate columns, specifically with the column-width css property. I minimized the bug down to this simple html and css. Screenshots of how Chrome and Ladybird render this webpage are below

<style>
.menu-items{
    column-width:18em;
}
</style>    
<div class="menu-items">
    <div>1</div>
    <div>2</div>
</div>

Chrome:

image

Ladybird:

image

I am not super familiar with the code (it's possible that this property simply has not been implemented yet) but am interested in looking into this. I would need some pointers on how to proceed, so I'd appreciate if anyone could point my group in the right direction. Thanks!

@kalenikaliaksandr
Copy link
Contributor

key component we currently lack to implement this property is CSS fragmentation support https://www.w3.org/TR/css-break-3/

@awesomekling
Copy link
Member

And to be clear, implementing CSS fragmentation will be a very large undertaking with architectural changes across all of layout. Not suitable for a beginner project :)

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

No branches or pull requests

3 participants