And make sure we return the surface of the right size for canvas, which
makes that assumption in a bunch of places.
Depends on D114686
Differential Revision: https://phabricator.services.mozilla.com/D114687
As per https://drafts.csswg.org/css-will-change/#will-change.
> If any non-initial value of a property would cause the element to
> generate a containing block for absolutely positioned elements,
> specifying that property in will-change must cause the element to
> generate a containing block for absolutely positioned elements.
But in this case the transform property wouldn't apply to the element so
there's no reason to create a stacking-context.
Differential Revision: https://phabricator.services.mozilla.com/D114121
Automatic update from web-platform-tests
Implement <popup> focus, autofocus, delegatesfocus
This CL implements most of the focus behavior for <popup. This includes
the default focus behavior, plus the implementation of the autofocus
and delegatesfocus attributes. See [1] for more context. A WPT is
added here that exercised all new functionality.
[1] https://open-ui.org/components/popup.research.explainer
Bug: 1168738
Change-Id: I6ec607c7dc250c8edb0d8bd4245e0f21303599a8
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2869490
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: Ionel Popescu <iopopesc@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#879576}
--
wpt-commits: c7701fb99a781145d3e68bdb5901f2600280cc0d
wpt-pr: 28827
Automatic update from web-platform-tests
[Web Bluetooth] Throw TypeError if dataPrefix is present and empty
This CL makes sure a TypeError is thrown when manufacturer data filter
contains an empty dataPrefix.
Spec: https://github.com/WebBluetoothCG/web-bluetooth/pull/548
Bug: 707635
Change-Id: I849e4aa095e8128899802210c84be5f813d5b439
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2878794
Reviewed-by: Reilly Grant <reillyg@chromium.org>
Commit-Queue: François Beaufort <beaufort.francois@gmail.com>
Cr-Commit-Position: refs/heads/master@{#880686}
--
wpt-commits: c435fae819e593723c4db853c76019e8122f2183
wpt-pr: 28888
Automatic update from web-platform-tests
[TablesNG] Fix OOF static-position of empty baseline-aligned table-cells
Alignment typically does affect the static-position of any
OOF-positioned children inside of a table-cell. However when we are
baseline-aligned, we should only apply the adjustment if we have
*inflow* children.
This doesn't shift the OOF-positioned children if we have no inflow
children.
Bug: 1206654
Change-Id: I54e80831148407797354157d2c0d19afbb2a7858
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2880809
Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org>
Reviewed-by: Aleks Totic <atotic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880652}
--
wpt-commits: ffa840434904f20efc52145bb66048129a874fad
wpt-pr: 28907
Automatic update from web-platform-tests
[GridNG] Update test expectations of legacy grid failure
Rebaselining expectations of a test failing due to incorrect margin
collapsing in legacy; LayoutNG implementation fixes the issue.
Bug: 1045599
Change-Id: I9d0d57931e9d65ea5cc38755f332b93968534f52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2881175
Commit-Queue: Ethan Jimenez <ethavar@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880641}
--
wpt-commits: 2a50e89663e666191f451b0ffbc643dbe3e00d8a
wpt-pr: 28911
Automatic update from web-platform-tests
Make 3D Rendering Context follow DOM tree for absolute/fixed position.
When TransformInterop is enabled, make the notion of 3D Rendering
Context and the should_flatten_inherited_transform state follow the DOM
tree for absolute and fixed-positioned elements like it does for
everything else.
(This changes behavior only when
RuntimeEnabledFeatures::TransformInteropEnabled().)
This is one of a number of changes discussed in more detail in
https://docs.google.com/document/d/1Up6NwhX0lWhASPCa0gADbV3kvEFGezbDxotAgKzfSUQ/edit
Fixed: 1189985
Change-Id: If56d8092bdab4bd294c98d5b3c73ec4bc1d32009
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2877917
Reviewed-by: Philip Rogers <pdr@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880630}
--
wpt-commits: 8dee5dbb8c9b17ae876ad3b1f74043c0156487ba
wpt-pr: 28877
Automatic update from web-platform-tests
Fix setting os.environ["PATH"] to a binary string (#28849)
This code would raise "TypeError: str expected, not bytes" is run using
Python 3, since setting os.environ keys implictly encodes using
sys.getfilesystemencoding():
https://docs.python.org/3/library/os.html#os.environ
This might be dead code, or simply not exercised in wpt's CI.
Spotted while preparing https://github.com/web-platform-tests/wpt/pull/28848.
--
wpt-commits: 3d2cc9904a08bf372bdc09c96628cc4c986278ee
wpt-pr: 28849
Automatic update from web-platform-tests
Expose direct socket APIs via [DirectSocketEnabled].
This patch introduces a new placeholder IDL extended attribute for the
set of restrictions which might enable us to safely expose direct
sockets, as well as a set of other APIs that have similar
outside-the-web threat models. It then applies that IDL extended
attribute to the existing direct socket IDL files.
For the moment, this imposes two requirements on Direct Sockets:
1. Opting-into COI via COOP/COEP.
2. Toggling the kDirectSockets CLI flag.
I expect these requirements to shift in the future, but this is a
reasonable place to start.
Patch 5/5:
1. https://chromium-review.googlesource.com/c/chromium/src/+/2871670
2. https://chromium-review.googlesource.com/c/chromium/src/+/2874306
3. https://chromium-review.googlesource.com/c/chromium/src/+/2874288
4. This patch.
5. https://chromium-review.googlesource.com/c/chromium/src/+/2875217
Note that this CL removes the Direct Socket interfaces from the
`webexposed` test suite. That's a little too complicated to fix in
this CL, but I aim to fix it in https://crbug.com/1206656.
Bug: 1206150
Change-Id: I519e1c5d164c43f5870c45823d08063f4a3af682
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2874890
Reviewed-by: Yuki Shiino <yukishiino@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Kenichi Ishibashi <bashi@chromium.org>
Reviewed-by: Eric Willigers <ericwilligers@chromium.org>
Commit-Queue: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880498}
--
wpt-commits: a0e29ee89172ef818a403af8a44fd45fe11b133d
wpt-pr: 28861
Automatic update from web-platform-tests
Drop read_gzp workaround for a mypy problem in Python 2 (#28896)
There's no issue here with mypy on Python 3.
Part of https://github.com/web-platform-tests/wpt/pull/28895.
--
wpt-commits: e953dffdcee1a2a276ea0b73c15e3c6e04d4683f
wpt-pr: 28896
Automatic update from web-platform-tests
Update retry.py to Python 3 with type annotations (#28895)
The type annotations here aren't very useful, but simple to do and
avoids the need to exempt this script from mypy later. It's been tested
with mypy locally.
Part of https://github.com/web-platform-tests/wpt/issues/28833.
--
wpt-commits: 4bc9779398edf5c66d7630830e384ba774c5969e
wpt-pr: 28895
Automatic update from web-platform-tests
Simplify try-except imports of things moved between Python 2 and 3 (#28894)
It's not clear from the code alone which is which, but these import
statements work on Python 3.8.2:
```py
from html import escape
import queue
from urllib.request import urlopen
```
Part of https://github.com/web-platform-tests/wpt/issues/28776.
Part of https://github.com/web-platform-tests/wpt/issues/28833.
--
wpt-commits: 20e07ca88113ef6132c4756019e4dd4ab6c46f0a
wpt-pr: 28894
Automatic update from web-platform-tests
Fix getBoundingClientRect for hyphens
This patch fixes getBoundingClientRect and its families to not
to include all hyphens and ellipses when the start range is 0.
Bug: 1205666
Change-Id: I43bd47e35e1ddd5830d9a1c408dcb6edd6f0c24f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2879644
Commit-Queue: Koji Ishii <kojii@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880363}
--
wpt-commits: 3806bf2419e25bd57e70b42103478fd3c12a143b
wpt-pr: 28892
Automatic update from web-platform-tests
Remove shipping related things from payment-request (#28830)
--
wpt-commits: 53b3a8eda25cce01aec86f70d0d1c4354ea7e09f
wpt-pr: 28830
Automatic update from web-platform-tests
[GridNG] Update expectations for intrinsic resolution of flexible tracks
1. Fixing behavior of distribution of grid item intrinsic contributions
to flexible tracks; the updated behavior is now better matching
https://drafts.csswg.org/css-grid-2/#algo-spanning-flex-items.
2. Updating test expectations for legacy, which were previously passing
related tests with an incorrect ".expected" file.
Bug: 1045599
Change-Id: I96767122158c98ab5f7d3ed2189fbcc57eb54374
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2877782
Commit-Queue: Ethan Jimenez <ethavar@microsoft.com>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880244}
--
wpt-commits: 14cd4a02a489e96d503a05d66a81f74999f1bf23
wpt-pr: 28885
Automatic update from web-platform-tests
Add test for padding %-ge usage against abs pos cb (#28878)
Add test for padding %-ge usage against abs pos containing block.
In this case padding-edge should be used:
https://www.w3.org/TR/CSS2/visudet.html#containing-block-details (4.2).
--
wpt-commits: c582a734c04c07201e67f55410620f1d048eae96
wpt-pr: 28878
Automatic update from web-platform-tests
Pin remaining dependencies in tox.ini with resources_*.txt files (#28872)
The current versions are used.
Fixes https://github.com/web-platform-tests/wpt/issues/14891.
--
wpt-commits: 6cc1a430de86ac3427e1f1ed8bb6effb4a06975f
wpt-pr: 28872
Automatic update from web-platform-tests
Split the trickle.py test into a separate file
The trickle.py test is slow - it trickles bytes out at 50ms per
byte. This can cause timeout issues, especially on WPT.fyi. This
is a speculative change to reduce/eliminate those failures.
Change-Id: Idc4d71ccc7ff19962a922bc4440c1d71b08b28a7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2876872
Auto-Submit: Mason Freed <masonf@chromium.org>
Commit-Queue: Joey Arhar <jarhar@chromium.org>
Reviewed-by: Joey Arhar <jarhar@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880055}
--
wpt-commits: 95c7d6ce299cf7d7047757f1aee5fef335f128e0
wpt-pr: 28874
Automatic update from web-platform-tests
Let inherited_time be zero for new CSS animations with no timeline
There is currently an inconsistency between CSS animations and JS
animations: creating a JS animation with a null-timeline causes
current time to be held at zero, but the same does not happen in
the equivalent case for CSS animations. Instead, new CSS animations
without a timeline effectively have *no* current time.
This inconsistency is possible because of how we use InertEffect
in the first frame to "simulate" what the real Animation would have
done, and in this case that simulation is wrong.
Bug: 1074052
Change-Id: I3ef7de3eb3ea7812cd45d7dca41db59d42310a15
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2874659
Reviewed-by: Kevin Ellis <kevers@chromium.org>
Commit-Queue: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/master@{#880042}
--
wpt-commits: debbb947add04239ac11e1bf9ee870082c8b952d
wpt-pr: 28851
Automatic update from web-platform-tests
Test behavior of media capture from a cross-origin video (#7862)
--
wpt-commits: 80a2ab262c3f468900b5e5928bd3e0185a24870f
wpt-pr: 7862