-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Safari/WebKit ignores vertical padding on a display:table element with 100% height #54635
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
base: main
Are you sure you want to change the base?
Conversation
…h 100% height https://bugs.webkit.org/show_bug.cgi?id=155919 rdar://122587242 Reviewed by NOBODY (OOPS!). This is a DRAFT PR. It progresses one WPT test for tables, but it regresses two. So probably there is more work to do. When a CSS table (aka an HTML element with display: table) has a height specified in percentage, the element should not ignore the padding information and add it to the computed height. This will align WebKit with Gecko and Blink. * Source/WebCore/rendering/RenderTable.cpp: (WebCore::RenderTable::convertStyleLogicalHeightToComputedHeight):
|
EWS run on current version of this PR (hash 2fcae46) Details |
|
This should progress but it will fail at least two others. |
|
It should be progressing and it does on my local build. I have to double check. |
|
In https://wpt.live/css/css-tables/tentative/td-box-sizing-002.html It's interesting because we get new failures but also partial fixes. And From left to right: STP 233, Firefox Nightly 147, Chrome Canary 144, MiniBrowser with the patch. |
|
@karlcow - I think you need to look into
and if you notice failure of |
🛠 vision-apple
2fcae46
2fcae46