[wpt-sync] Sync PR 45739 - [PEPC] Provide partial padding support to allow for common use case
Categories
(Core :: DOM: Core & HTML, task, P4)
Tracking
()
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
Assignee | ||
Comment 1•6 months ago
|
||
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 2•6 months ago
|
||
Assignee | ||
Comment 3•6 months ago
|
||
Assignee | ||
Comment 4•6 months ago
|
||
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
- /html/semantics/permission-element/bounded-sizes.tentative.html [wpt.fyi]
- Properties with out-of-bounds values should be corrected:
FAIL
(Chrome:FAIL
, Safari:FAIL
) - Properties with values in bounds should not be modified:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
- Properties with out-of-bounds values should be corrected:
- /html/semantics/permission-element/bounded-sizes-reftest.tentative.html [wpt.fyi]:
FAIL
(Chrome:FAIL
, Safari:FAIL
)
Comment 6•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/baee9d4abcc8
https://hg.mozilla.org/mozilla-central/rev/21e09b445917
Description
•