WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
111925
max-height property overlaped by a min-height
https://bugs.webkit.org/show_bug.cgi?id=111925
Summary
max-height property overlaped by a min-height
Nico
Reported
2013-03-09 12:21:54 PST
if an identified element has a max-height value it will be overlaped if the class has a min-height Exemple : The div#max will be 30px height CSS : .min { min-height:30px; } #max { max-height:10px; } HTML <div id="max" class="min"> test </div>
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-07-24 07:09:59 PDT
I changed the test case to following JSFiddle -
https://jsfiddle.net/t1Lhdqay/show
All browsers (Chrome Canary 106, Firefox Nightly 104 and Safari 15.6 on macOS 12.5) render the "test" as 10px rather than 30px. Since all browsers are in consensus, should be considered as "RESOLVED WONTFIX" or "RESOLVED INVALID" unless it is something wrong based on Web-spec? Thanks!
zalan
Comment 2
2022-07-24 09:51:47 PDT
(In reply to Ahmad Saleem from
comment #1
)
> I changed the test case to following JSFiddle - >
https://jsfiddle.net/t1Lhdqay/show
> > All browsers (Chrome Canary 106, Firefox Nightly 104 and Safari 15.6 on > macOS 12.5) render the "test" as 10px rather than 30px. > > Since all browsers are in consensus, should be considered as "RESOLVED > WONTFIX" or "RESOLVED INVALID" unless it is something wrong based on > Web-spec? Thanks!
Thanks!
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug