NEW 125610
Use overflowRect's width for contentsWidth in RenderMarquee::computePosition
https://bugs.webkit.org/show_bug.cgi?id=125610
Summary Use overflowRect's width for contentsWidth in RenderMarquee::computePosition
KyungTae Kim
Reported 2013-12-11 18:22:50 PST
Created attachment 219027 [details] testcase Currently, the preferredWidth is used for contentsWidth to compute children's position in render marquee, but it is wrong when the children have a percent width type. It was modified from overflowRect's width to preferredWidth by bug 64230, but the preferredWidth is not same with the contentsWidth when the children have a percent width type. So, overflowRect's width should be used for contentsWidth in here.
Attachments
testcase (561 bytes, text/html)
2013-12-11 18:22 PST, KyungTae Kim
no flags
Ahmad Saleem
Comment 1 2022-09-12 04:25:04 PDT
All browsers behave differently: *** Safari Technology 15.6.1 & Safari Technology Preview 153 *** 1) percent-width image children <------- Differ from other browsers Broken Image icon is expanded to the container size and and showing normal marquee animation 2) text with ltr direction Bouncing between container like normal marquee 3) text with rtl direction <------- Differ from other browsers No marquee animation and text is stuck on right side *** Chrome Canary 107 *** 1) percent-width image children <------- Differ from other browsers Broken Image icon is expanded to the container size but have bottom padding and and showing normal marquee animation 2) text with ltr direction Bouncing between container like normal marquee 3) text with rtl direction <------- Differ from other browsers marquee animation but get stuck mid way of container *** Firefox Nightly 107 *** 1) percent-width image children <------- Differ from other browsers Broken Image icon is expanded to the container size and and showing normal marquee animation but the icon size of broken is not expanded like Safari to showcase broken image damsons (width / height etc.) 2) text with ltr direction Bouncing between container like normal marquee 3) text with rtl direction <------- Differ from other browsers marquee animation but behave same as 'ltr' _______ Just wanted to share updated testing results across browsers. Thanks!
Radar WebKit Bug Importer
Comment 2 2022-09-12 09:59:41 PDT
Note You need to log in before you can comment on or make changes to this bug.