This is far from fully perfect (specially when dealing with nested
containers, we need to be smarter when updating there), but it's
incremental progress.
Differential Revision: https://phabricator.services.mozilla.com/D151496
When block size is initially indefinite but later was determined by the contain intrinsic
size, we calculate the track sizes using the contain intrinsic block size.
Differential Revision: https://phabricator.services.mozilla.com/D153623
If splitting node creates new right node instead of new left node,
`TopLevelEditSubActionData::mChangedRange` ends by start of the right node.
However, `RemoveEmptyNodesIn` uses `PostContentIterator` which collects DOM
nodes whose "end tag" appear in the range. Therefore, for cleaning up new
empty right nodes correctly, we need to extend the range to contain the node.
Additionally, it removes unexpected element which is editable but shouldn't be
removed from the DOM tree. Therefore, this patch adds new check such as
`HTMLEditUtils::IsRemovalNode()`.
Finally, this patch adds a check whether the editor is a mail editor or not
at considering whether a node is a "mail-cite" because `contenteditable` in
web apps do not need special handling for such Gecko-specific element.
Differential Revision: https://phabricator.services.mozilla.com/D153834
`<div>` is unwrapped if it becomes empty in all browsers, and the
following patch fixes deleting necessary `<br>` element for keeping the line
visible. Therefore, we'll get same result for the first 2 tests of the
following tests, so these test expectations should be updated to the result of
Chrome and Safari. And the other test will keep failing in Firefox, but it
should be fixed in another bug. The reason is, we cleans up empty elements
at end of `insertParagraph` command handling, but others do it immediately
after deleting the selection. For the consistency in the last 2 tests, Chrome
and Safari's behavior is better, so this patch updates the result for conforming
to Chrome and Safari.
### [["styleWithCSS","false"],["delete",""],["inserttext","a"]] "<div><b>[abc]</b></div>" compare innerHTML
* Chrome: `<br><div><b>a</b></div>`
* Safari: `<br><div><b>a</b></div>`
* Firefox: `a`
### [["styleWithCSS","false"],["delete",""],["insertparagraph",""],["inserttext","a"]] "<div><b>[abc]</b></div>" compare innerHTML
* Chrome: `<br><div><b>a</b></div>`
* Safari: `<br><div><b>a</b></div>`
* Firefox: `<div><br></div><div>a<br></div>`
### [["styleWithCSS","false"],["insertparagraph",""],["inserttext","a"]] "<div><b>[abc]</b></div>" compare innerHTML
* Chrome: `<br><div><b>a</b></div>`
* Safari: `<br><div><b>a</b></div>`
* Firefox: `<div><br></div><div><b>a</b><br></div>`
Differential Revision: https://phabricator.services.mozilla.com/D153833
This is my silly mistake. I set reverted value to the prefs and the expectation
of WPTs. We need to enable them in late beta and release and disable them in
early beta and nightly.
Differential Revision: https://phabricator.services.mozilla.com/D153885
Per advice from James Graham, if we don't want the wpt-sync bot to modify the conditions,
then we have to specify them in terms of condition that won't apply to the try runs it uses
to update the conditions. This means we must specify conditions with "not nightly_build" so
that they won't apply to the try run, and thus don't get updated. It's a bit uglier, but
manageable and we can eventually replace these once things ride the trains.
Differential Revision: https://phabricator.services.mozilla.com/D153764
Per advice from James Graham, if we don't want the wpt-sync bot to modify the conditions,
then we have to specify them in terms of condition that won't apply to the try runs it uses
to update the conditions. This means we must specify conditions with "not nightly_build" so
that they won't apply to the try run, and thus don't get updated. It's a bit uglier, but
manageable and we can eventually replace these once things ride the trains.
Differential Revision: https://phabricator.services.mozilla.com/D153764
1. Make the compressor output errors based on the input headers
2. Make sure the weak ptr is always released on socket thread
Differential Revision: https://phabricator.services.mozilla.com/D153741
Add test for HTTP/2 stream and session error to the proxy and to the origin server. Also test if the errors affect other streams.
Also the weak reference to the tunnel needs to be removed when the stream is closed due to problems with freeing weak reference on a wrong stream.
Differential Revision: https://phabricator.services.mozilla.com/D150419
1. Make the compressor output errors based on the input headers
2. Make sure the weak ptr is always released on socket thread
Differential Revision: https://phabricator.services.mozilla.com/D153741
Add test for HTTP/2 stream and session error to the proxy and to the origin server. Also test if the errors affect other streams.
Also the weak reference to the tunnel needs to be removed when the stream is closed due to problems with freeing weak reference on a wrong stream.
Differential Revision: https://phabricator.services.mozilla.com/D150419
Automatic update from web-platform-tests
Support for the CSS ic length unit
Bug: 937101
Change-Id: I4a0e413367323bf4d99b1f6ac79b7fc9d9b006ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3790953
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030945}
--
wpt-commits: 95f60596db986aab31fbbf3465f7c6322bf5713f
wpt-pr: 35305
Automatic update from web-platform-tests
Add hover-hide-delay functionality to pop-ups
With this CL, the `hover-pop-up-hide-delay` CSS property can be used
to make a pop-up hide after a specified delay, if it is no longer
hovered. This is related, but independent from, the hover-pop-up-delay
functionality, which can be used on *another element* to trigger/show
a pop-up after a delay. The `hover-pop-up-hide-delay` can be used on
any pop-up type, including popup=manual, and it will make the pop-up
get automatically hidden if it (or its anchors or invokers) is not
hovered for the specified period of time.
A typical use case is to build a tooltip, fully in HTML/CSS:
<input hoverpopup=tooltip placeholder="Hover me">
<div popup=hint role=tooltip id=tooltip>Additional info</div>
<style>
input {
hover-pop-up-delay: 0.5s;
}
[popup] {
hover-pop-up-hide-delay: 1s;
opacity:0;
transition: opacity 0.5s;
}
[popup]:top-layer {
opacity:1;
}
</style>
Bug: 1307772
Change-Id: I12b36cf0e612b541c054a9a41c6d91f58c55ec72
Cq-Do-Not-Cancel-Tryjobs: true
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3781406
Commit-Queue: Mason Freed <masonf@chromium.org>
Reviewed-by: David Baron <dbaron@chromium.org>
Auto-Submit: Mason Freed <masonf@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030881}
--
wpt-commits: edbfee21138e82305dd503990c52da1d99c039ca
wpt-pr: 34973
Automatic update from web-platform-tests
[@container] style no longer a container-type
All elements are style containers per spec change. Adjust implementation
and spec to reflect that.
Bug: 1302630
Change-Id: I0a834daa1f7622ec62d1df31b268de8b3f2074c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3802732
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030776}
--
wpt-commits: 40c8422ad184ef814da9376a3a262183ff122d43
wpt-pr: 35306
Automatic update from web-platform-tests
Storage buckets: implement StorageBucket::indexedDB.
This CL does the final work to support non-default buckets in
IndexedDB code and wires up the BucketHost::GetIdbFactory method.
Bug: 1338303,1315371
Change-Id: I38c600fbeaa1e7f9843f0be1fdc2b44ef9b6f2ac
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3785414
Reviewed-by: Tom Sepez <tsepez@chromium.org>
Commit-Queue: Evan Stade <estade@chromium.org>
Reviewed-by: Ari Chivukula <arichiv@chromium.org>
Reviewed-by: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030765}
--
wpt-commits: d5050832b632c1914c9a62c7108f662b60307214
wpt-pr: 35274
Automatic update from web-platform-tests
Adjust URL of Device Memory spec in META file (#35262)
The Working Draft now points at itself for the Editor's Draft. In other words,
the canonical URL for the Editor's Draft has become the /TR URL
https://www.w3.org/TR/device-memory/
--
wpt-commits: 9f072679c6f3367ea1685254ff5f5cc84f6e8d9d
wpt-pr: 35262
Automatic update from web-platform-tests
ContainingFragmentationContextRoot() for column spanners
In CL:3343283, when an OOF was contained within a column spanner, we
would lay out the OOF in the fragmentation context root above, if there
was one (given that spanners don't participate in the fragmentation
context root of the nearest context).
If an OOF was nested in an abpos multicol inside a column spanner, we
would hit NOTREACHED() in NGOutOfFlowLayoutPart::ReplaceFragment(),
because the fragments of the abspos multicol were not found in the
nearest fragmentation context root ancestor, but rather in the next
above.
To fix this, update ContainingFragmentationContextRoot() to retrieve
the correct fragmentation context root in the case of a column
spanner.
Bug: 1348128
Change-Id: Ica05a41b23cade26c93a18cfd80eaa167ed2863e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3795714
Reviewed-by: Morten Stenshorne <mstensho@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/main@{#1030634}
--
wpt-commits: 0d6d9dc80bf23f94fab8137920b73228690b6de7
wpt-pr: 35293
Automatic update from web-platform-tests
Implement the :toggle() pseudo-class.
This implements
https://tabatkins.github.io/css-toggle/#checked-pseudoclass
(Support for toggles is behind the CSSToggles flag, which is currently
off.)
Bug: 1250716
Change-Id: I2d3226c5a023e2bf36dd4d990d57933f932983ce
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3780614
Commit-Queue: David Baron <dbaron@chromium.org>
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1030624}
--
wpt-commits: 3280d71c3ab3b7ef832b7e9a1f90c33075b40b52
wpt-pr: 35275