[Webkit-unassigned] [Bug 119764] srcset: Respect updates to display density

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Aug 14 11:10:42 PDT 2013


https://bugs.webkit.org/show_bug.cgi?id=119764





--- Comment #5 from Sam Weinig <sam at webkit.org>  2013-08-14 11:10:17 PST ---
(In reply to comment #4)
> (In reply to comment #3)
> > (In reply to comment #1)
> > > Yeah, -image-set suffers equally.
> > 
> > Are you sure?  All of these things worked at some point. Can either of you please provide a concrete set of steps to reproduce this bug?
>  
> I should clarify. -image-set worked at some point. But of course srcset is new, so that has never worked.

This works for image-set because on device scale factor changes we force a style recalc in all frames in the page (see Page::setDeviceScaleFactor).  Page::setDeviceScaleFactor is getting a bit intense, it may (or may not) make sense to generalize things a bit and add some DeviceScaleFactorListener generalization that HTMLImageElement could register for.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list