Chromium Code Reviews
DescriptionFixed srcset descriptor parsing bug and added tests
Srcset's 'w' descriptor parsing accepted descriptors of the form "400pw".
This CL fixes that by making their parsing stricter.
It also adds a bunch of tests to prevent it from regressing, and to make sure
float based descriptors are properly parsed as well.
BUG=389575
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177120
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||