forked from mirrors/gecko-dev
Automatic update from web-platform-tests [PEPC] Limit min/max-height/width for PEPC Put limits on what the min/max-width/height can be. The min-height will have to be at least 1em The max-height will have to be at most 3em Widths are enforced by building an expression that makes use of calc-size: The min-width will have to be at least fit-content. The max-width will have to be at most 3x fit-content. Bug: 1462930 Change-Id: Idb00f9614cde69e4ff2ca295ca5e89b85b3d0f04 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5386157 Reviewed-by: Thomas Nguyen <tungnh@chromium.org> Reviewed-by: David Baron <dbaron@chromium.org> Commit-Queue: Andy Paicu <andypaicu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1286356} -- wpt-commits: 7c2a090d60996315c82651c562aaea988d2220b5 wpt-pr: 45509
22 lines
No EOL
496 B
HTML
22 lines
No EOL
496 B
HTML
<!DOCTYPE html>
|
|
<meta charset=utf-8>
|
|
<link rel="match" href="display-css-property-reftest-ref.html">
|
|
<link rel="help" href="https://github.com/WICG/PEPC/blob/main/explainer.md#locking-the-pepc-style">
|
|
<body>
|
|
<div>
|
|
The permission element should either be display 'none' or 'inline-block'
|
|
</div>
|
|
|
|
<style>
|
|
#id1 {
|
|
display: flex;
|
|
}
|
|
#id2 {
|
|
display: none;
|
|
}
|
|
</style>
|
|
|
|
<permission id="id1" type="geolocation">
|
|
<permission id="id2" type="camera">
|
|
<span>After element</span>
|
|
</body> |