| <!doctype html> |
| <link rel="author" title="Xiaocheng Hu" href="mailto:xiaochengh@chromium.org"> |
| <link rel="help" href="https://www.w3.org/TR/css-backgrounds-3/#background-position"> |
| <link rel="help" href="https://drafts.csswg.org/css-values-4/#comp-func"> |
| <link rel="match" href="reference/background-position-negative-percentage-comparison-ref.html"> |
| <style> |
| .target { |
| margin: 50px; |
| width: 50px; |
| height: 50px; |
| border: 1px solid black; |
| background-image: url("support/100x100-blue-and-orange.png"); |
| background-position: min(0%, 100%) max(0%, 100%); |
| } |
| </style> |
| <div class="target"></div> |