Fixed breakages with clipped areas disjoint to image
Fixed text case that didn't expect exception
Fixed coding style
Removed expectation of web platform failure test
Differential Revision: https://phabricator.services.mozilla.com/D31048
By the time we get to iterate over the longhands of a shorthand, we've
already advanced the range iterator, so we look at the next duration and
such, which causes this bug.
I'm seriously baffled that no existing test caught this when it
landed, neither in our internal test suite nor wpt... :/
Differential Revision: https://phabricator.services.mozilla.com/D82396
This adds some WPTs for testing how to treat invisible leading and/or trailing
white-spaces in block elements. I think that they should be removed as far
as possible because they may become visible suddenly if browsers fail to handle
them with their bugs. However, it's acceptable if the result keeps white-
spaces as invisible. Therefore, this makes some new tests allow multiple
results.
Differential Revision: https://phabricator.services.mozilla.com/D82268
In bug 1562932, we disabled a number of appearance reftests on Windows,
since they are intermittent given the animated appearance of <progress>.
This patch disables some other tests that were missed.
This also removes the fuzziness from Android for these tests, which
seems to be no longer needed (probably since the switch to the non-
native theme on Android), and removing Windows Vista disabling
conditions that are superseded by the new all Windows disabling one.
Differential Revision: https://phabricator.services.mozilla.com/D82123
Automatic update from web-platform-tests
Python 3: port tests of range, stale-while-revalidate in fetch (#24423)
* Python 3: port tests of range, stale-while-revalidate in fetch
* Remove unnecessary prefix and use bytes type for content_range
--
wpt-commits: b13c1d42b3aaf52a4e7b0b18795aeefb17a62eb6
wpt-pr: 24423
Automatic update from web-platform-tests
Implement CSPEE Blanket Enforcement logic out-of-blink
This changes adds to the AncestorThrottle a check for the step
"Does response allow blanket enforcement of policy from request" of
Content Security Policy: Embedded Enforcement:
https://w3c.github.io/webappsec-cspee/#origin-allowed Behind the flag
This is one of the steps of moving CSPEE out-of-blink and is hidden
under the flag network::features::kOutOfBlinkCSPEE.
Change-Id: Id3092322134e055810d4006e63e6974ee64315be
Bug: 1094909
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2218019
Commit-Queue: Antonio Sartori <antoniosartori@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Reviewed-by: Arthur Sonzogni <arthursonzogni@chromium.org>
Reviewed-by: Mike West <mkwst@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784753}
--
wpt-commits: 8a3698a69e785aefc5c83ea2e348fd3350bfa43a
wpt-pr: 24311
Automatic update from web-platform-tests
Move asserts inside the test (#24421)
Failing one of these asserts would otherwise result in a harness error.
--
wpt-commits: f5c167568d5f5c02ef9a3b3131c64f3a254c2296
wpt-pr: 24421
Automatic update from web-platform-tests
Update bug references in docs and comments: s/891872/1098938/.
Even though https://crbug.com/891872 is fixed (and
blink::Platform::CreateDefaultURLLoaderFactory removed),
|request_initiator_site_lock| might still be a base::nullopt in some
URLLoaderFactory objects vended to renderer processes. Such remaining
cases are tracked in https://crbug.com/1098938 - this CL updates
bug references in docs and comments to match.
Bug: 891872, 1098938
Change-Id: I64f21f2495514ba72bfcc3c39910151322b176eb
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274188
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Yutaka Hirano <yhirano@chromium.org>
Reviewed-by: Steven Holte <holte@chromium.org>
Reviewed-by: Kinuko Yasuda <kinuko@chromium.org>
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Commit-Queue: Kinuko Yasuda <kinuko@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784738}
--
wpt-commits: 3ecff280b727451096f3e3a8b0e9af301ec84263
wpt-pr: 24388
Automatic update from web-platform-tests
Add a test to verify finding fragment id in non UTF8 document (#24412)
--
wpt-commits: 7e6dcb93c97da79840977f0f7b3aff6bf15da3eb
wpt-pr: 24412
Automatic update from web-platform-tests
[FragmentItem] Clear inline fragment index for positioned objects
When once laid out floating object is changed to a positioned
object, it may have |FirstInlineFragmentItemIndex| set, but
positioned objects should not have the index because they do
not produce |NGFragmentIem|. This patch makes sure the index
is cleared for positioned objects.
Also this patch turns DCHECK in |NGInlineCursor::MoveTo| to
NOTREACHED + return to avoid such case could result in crash.
This is a regression in r784297 <crrev.com/c/2275373>, which
started to index floating objects.
Bug: 1101277
Change-Id: I21a75440c3aa77a8d66b1e002d05ff2b252e6b94
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2275820
Reviewed-by: Kent Tamura <tkent@chromium.org>
Reviewed-by: Yoshifumi Inoue <yosin@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#784685}
--
wpt-commits: 99a09c73e7f1d7b19ec4be2eb8ce2d3bebf52245
wpt-pr: 24416
Automatic update from web-platform-tests
Display type of ::first-line pseudo-elements
According to the spec, the display property should not be applied
to ::first-line or ::first-letter pseudo-elements.
https://www.w3.org/TR/css-display-3/#placement
This has already been handled for ::first-letter, so this change
similarly adjusts the display property style for ::first-line. I've
tested the behavior in FireFox and legacy Edge, and this change
aligns with the behavior in other browsers.
Bug: 685925
Change-Id: Idaa299c90e20c69902491837b53e7988da7759c1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2278321
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: Alison Maher <almaher@microsoft.com>
Cr-Commit-Position: refs/heads/master@{#784655}
--
wpt-commits: 97361605eaf811be5120d97ddf807c735e9a8d22
wpt-pr: 24420