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

Table column with 0% width is not 0-width #3501

Open
1 task
StringEpsilon opened this issue Feb 8, 2025 · 0 comments
Open
1 task

Table column with 0% width is not 0-width #3501

StringEpsilon opened this issue Feb 8, 2025 · 0 comments

Comments

@StringEpsilon
Copy link

Summary

A table column with width="0%" is rendered with a visible width. I found this on a website that uses tables for a percentage bar.

Operating system

Linux

Steps to reproduce

  1. Open the reduced test case.

Expected behavior

Firefox:
image

Actual behavior

Ladybird:
image

URL for a reduced test case

N/A

HTML/SVG/etc. source for a reduced test case

<table bgcolor="#FF0000" cellpadding="0" cellspacing="0" width="200" height="20">
	<tr>
		<td width="0%" bgcolor="#000">
		<td width="100%">

Log output and (if possible) backtrace

none

Screenshots or screen recordings

No response

Build flags or config settings

No response

Contribute a patch?

  • I’ll contribute a patch for this myself.
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

1 participant