Closed Bug 1891743 Opened 6 months ago Closed 6 months ago

[wpt-sync] Sync PR 45739 - [PEPC] Provide partial padding support to allow for common use case

Categories

(Core :: DOM: Core & HTML, task, P4)

task

Tracking

()

RESOLVED FIXED
127 Branch
Tracking Status
firefox127 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 45739 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/45739
Details from upstream follow.

Andy Paicu <andypaicu@chromium.org> wrote:

[PEPC] Provide partial padding support to allow for common use case

Removal of 'padding' support from the permission element has removed
support for a common use case that used padding in conjuction with
'width: auto'. Since it is very difficult to provide a fixed width
for the permission element (as the text can change and is not under
the control of the site author), this CL provides a mechanism that
sets the width/height based on padding.

We don't want to simply support padding unchecked since it can be
used to push the text outside of the permission element area, and
creating a bounded expression is very difficult because 'calc-size'
is not supported for padding lengths.

Bug: 1462930
Change-Id: I19e6f9ff6fcd11073b1da0efaa68f743ea3886bb
Reviewed-on: https://chromium-review.googlesource.com/5458152
WPT-Export-Revision: f5ab213d807b90f988b211f12d92fb9a7ea3e3d1

PR 45739 applied with additional changes from upstream: 7c2a090d60996315c82651c562aaea988d2220b5
Component: web-platform-tests → DOM: Core & HTML
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 2 tests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
FAIL: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/baee9d4abcc8 [wpt PR 45739] - [PEPC] Provide partial padding support to allow for common use case, a=testonly https://hg.mozilla.org/integration/autoland/rev/21e09b445917 [wpt PR 45739] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 6 months ago
Resolution: --- → FIXED
Target Milestone: --- → 127 Branch
You need to log in before you can comment on or make changes to this bug.