Summary: |
Padding and border double-counted against percentage height when a child of a table-cell uses box-sizing:border-box |
Product: |
WebKit
|
Reporter: |
Tab Atkins <tabatkins> |
Component: |
CSS | Assignee: |
Nobody <webkit-unassigned> |
Status: |
RESOLVED
CONFIGURATION CHANGED
|
|
|
Severity: |
Normal
|
CC: |
bfulgham, eric, hyatt, jchaffraix, joethomas, manuel
|
Priority: |
P2
|
|
|
Version: |
528+ (Nightly build) | |
|
Hardware: |
Unspecified | |
|
OS: |
Unspecified | |
|
URL: |
data:text/html;charset=utf-8,<!DOCTYPE%20html>%0A<table>%0A%20<tr>%0A%20%20<td%20style%3D"width%3A%2050px%3B%20height%3A%2050px%3B%20padding%3A%200%3B%20background%3A%20red%3B">%0A%20%20%20<div%20style%3D"height%3A100%25%3B%20border%3A%205px%20solid%20green%3B%20padding%3A%205px%3B%20background%3A%20green%3B%20box-sizing%3A%20border-box%3B"><%2Fdiv>%0A<%2Ftable>There%20should%20be%20no%20red.
|
Attachments: |
|
2012-02-17 15:38 PST, Joe Thomas