Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #43524, comment 14


Ignore:
Timestamp:
08/24/2018 04:19:07 PM (6 years ago)
Author:
ettoredn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #43524, comment 14

    v1 v2  
    1010or similar functions.
    1111
    12 Depending on the value of the sizes attribute, the browser will choose the best srcset image to display. I believe if left empty, the browser assumes '100vw', but this may depend on the browser.
     12Depending on the value of the sizes attribute and the viewport, the browser will choose the best srcset image to display. I believe if left empty, the browser assumes '100vw', but this may depend on the browser.
    1313
    1414Passing an argument different than 'full' would force the widest srcset image to be limited to the given image size.