зеркало из https://github.com/mozilla/gecko-dev.git
361f923f82
Based on the spec, if the aspect-ratio property value is: 1) auto: we should always use content-box dimensions. 2) <ratio>: the aspect-ratio works with box sizing dimensions. 3) auto && <ratio>: we use content-box dimensions in all cases. So we need an extra flag to address that we should use box-sizing or always use content-box dimensions while computing the size in ratio-dependent axis. This also updates some wpts for non-replaced elements because we should use content-box if aspect-ratio is 'auto && <ratio>'. Differential Revision: https://phabricator.services.mozilla.com/D100072 |
||
---|---|---|
.. | ||
components | ||
ports/geckolib | ||
tests/unit | ||
moz.build | ||
rustfmt.toml |