Skip to content

Commit

Permalink
Bug 1782752 [wpt PR 35308] - Add block-start/end and overflow propert…
Browse files Browse the repository at this point in the history
…ies to `popup`, a=testonly

Automatic update from web-platform-tests
Add block-start/end and overflow properties to `popup`

These were missing - see [1]. Without at least the block start
and end positions, pop-ups could easily be shown off screen below
the viewport.

[1] openui/open-ui#561 (comment)

Bug: 1307772
Change-Id: I006c664f89e8996d75c74130e4510967acfd486b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3803128
Auto-Submit: Mason Freed <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Reviewed-by: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1030616}

--

wpt-commits: 84cf9a63a6d8d96c2965ea018c0b170699e2c08d
wpt-pr: 35308
  • Loading branch information
mfreed7 authored and moz-wptsync-bot committed Aug 4, 2022
1 parent 13f243d commit 1c5c243
Showing 1 changed file with 8 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,20 +2,23 @@
position: fixed;
inset-inline-start: 0;
inset-inline-end: 0;
inset-block-start: 0;
inset-block-end: 0;
width: fit-content;
height: fit-content;
margin: auto;
border: solid;
overflow: auto;
padding: 1em;
background-color: Canvas;
color: CanvasText;
background-color: Canvas;
}
.fake-pop-up-backdrop {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
inset-inline-start: 0;
inset-inline-end: 0;
inset-block-start: 0;
inset-block-end: 0;
background: transparent;
pointer-events: none !important;
}

0 comments on commit 1c5c243

Please sign in to comment.