WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
210371
Images with style="display: none; image-orientation: none;" do not report the correct size
https://bugs.webkit.org/show_bug.cgi?id=210371
Summary
Images with style="display: none; image-orientation: none;" do not report the...
Said Abou-Hallawa
Reported
2020-04-10 20:41:26 PDT
Created
attachment 396146
[details]
test case Open the attached test case. This test case contains three images; all of them have "image-orientation: none;". The first image is visible, the second one has "visibility: hidden;" and the third one has "display: none;". Expected: All the three images report the same size which is 100x50. Result: The image with "display: none;" reports a wrong size 50x100.
Attachments
test case
(1.50 KB, text/html)
2020-04-10 20:41 PDT
,
Said Abou-Hallawa
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2023-07-23 04:02:53 PDT
Chrome Canary 117: id = visibile: computedStyleSize = (50px by 100px), size = (50 by 100) id = visibility-hidden: computedStyleSize = (50px by 100px), size = (50 by 100) id = display-none: computedStyleSize = (auto by auto), size = (50 by 100) Firefox Nightly 117: id = visibile: computedStyleSize = (50px by 100px), size = (50 by 100) id = visibility-hidden: computedStyleSize = (50px by 100px), size = (50 by 100) id = display-none: computedStyleSize = (auto by auto), size = (50 by 100) WebKit ToT: id = visibile: computedStyleSize = (50px by 100px), size = (50 by 100) id = visibility-hidden: computedStyleSize = (50px by 100px), size = (50 by 100) id = display-none: computedStyleSize = (auto by auto), size = (50 by 100) _______ All browsers are matching each other. Do we need to do anything else? 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