DescriptionFix two srcset related bugs
Two problems with the current srcset parsing algorithm are fixed here:
1. When a set of descriptors contained only invalid descriptors, the resource wasn't ignored.
2. When more than 1 resource shared a single DPR value, the last one was taken into account, rather than the first one.
I've also added test and fixed current ones to prevent this from regressing in the future.
BUG=347998
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168241
Patch Set 1 #Patch Set 2 : Removed a useless if #
Messages
Total messages: 7 (0 generated)
|