Граф коммитов

696626 Коммитов

Автор SHA1 Сообщение Дата
Christoph Kerschbaumer 8e374dc349 Bug 1141959: Test nsIPrincipal.origin treats IPv6 host correctly.r=tjr
Differential Revision: https://phabricator.services.mozilla.com/D66056

--HG--
extra : moz-landing-system : lando
2020-03-13 16:00:39 +00:00
Kartikaya Gupta 532519f8b2 Bug 1622256 - Remove unnecessary parentheses producing compiler warning. r=kvark
Depends on D66769

Differential Revision: https://phabricator.services.mozilla.com/D66770

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:23 +00:00
Kartikaya Gupta f2d9f42c06 Bug 1622256 - Use Display trait instead of Error::description. r=kinetik
Depends on D66768

Differential Revision: https://phabricator.services.mozilla.com/D66769

--HG--
extra : moz-landing-system : lando
2020-03-16 02:15:56 +00:00
Kartikaya Gupta efe00bc617 Bug 1622256 - Replace use of description() with to_string(). r=kvark,jrmuizel
Depends on D66767

Differential Revision: https://phabricator.services.mozilla.com/D66768

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:22 +00:00
Kartikaya Gupta 815a0c36ff Bug 1622256 - Remove usage of deprecated Error::description. r=jgraham,webdriver-reviewers
Depends on D66766

Differential Revision: https://phabricator.services.mozilla.com/D66767

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:22 +00:00
Kartikaya Gupta b94a7e4f32 Bug 1622256 - Remove deprecated Error::description and use Display trait instead. r=jgraham,webdriver-reviewers
Depends on D66765

Differential Revision: https://phabricator.services.mozilla.com/D66766

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:22 +00:00
Kartikaya Gupta 763458cb65 Bug 1622256 - Remove unnecessary parentheses around block return value. r=kinetik
This causes compiler warnings which makes the build fail.

Differential Revision: https://phabricator.services.mozilla.com/D66765

--HG--
extra : moz-landing-system : lando
2020-03-16 08:40:42 +00:00
Kartikaya Gupta 5626457b9b Bug 1622256 - Remove deprecated Error::description implementation. r=jgraham,webdriver-reviewers
The Display trait is already implemented a few lines up.

Differential Revision: https://phabricator.services.mozilla.com/D66764

--HG--
extra : moz-landing-system : lando
2020-03-14 04:21:21 +00:00
luma 0c36015ef2 Bug 1615071 - Add Let's Encrypt's CT logs to certviewer. r=johannh
Differential Revision: https://phabricator.services.mozilla.com/D66898

--HG--
extra : moz-landing-system : lando
2020-03-16 08:34:28 +00:00
Nicolas Chevobbe ab9c51ebe8 Bug 1620782 - Fix expanding object in Sets of 10 entries or less. r=jlast.
There was an issue for test with less than 10 entries
as we were assuming we already had everything we needed
in the grip preview. This wasn't the case and was making
loading entries object failing.
Since there's not reason we should find actors in the
preview object, and we should have a unified way of
loading objects, whatever their sizes is, this patch remove
this specific behaviour to always load entries.
Jest tests had to be modified or removed, and the mochitest
that is already testing expanding Maps and Sets is enhanced
to make sure this issue is fixed.

Differential Revision: https://phabricator.services.mozilla.com/D65941

--HG--
extra : moz-landing-system : lando
2020-03-13 19:31:22 +00:00
Makoto Kato edc87f1d99 Bug 1613804 - InputConnection.finishComposingText should commit composition text. r=geckoview-reviewers,snorp
Gecko don't commit composition when software keyboard calls
InputConnection.finishComposingText. It is incompatible with Blink's behaviour.

BaseInputConnection.finishComposingText() implementation is the following.

1. Begin batch edit.
2. Remove all composition span flag.
3. End batch edit.

So if no composition after batch edit is finished, we should commit it on Gecko
to synchronize composition state.

Differential Revision: https://phabricator.services.mozilla.com/D66370

--HG--
extra : moz-landing-system : lando
2020-03-13 18:01:50 +00:00
Logan Smyth f41068374b Bug 1609201 - Clean up Services.obs observers on devtools loader destroy. r=jdescottes,ochameau
Differential Revision: https://phabricator.services.mozilla.com/D66369

--HG--
extra : moz-landing-system : lando
2020-03-16 06:47:04 +00:00
Glenn Watson d69ec052be Bug 1621390 - Optimize backdrop primitives by collapsing to clear color. r=lsalzman,Bert
Differential Revision: https://phabricator.services.mozilla.com/D66362

--HG--
extra : moz-landing-system : lando
2020-03-16 03:47:53 +00:00
Coroiu Cristina 9cec9676e6 Backed out changeset ef75f461147c (bug 1614212) for GTest failures 2020-03-16 03:52:15 +02:00
Nicholas Nethercote 9a11249061 Bug 1621468 - Stop using `fix_stack_using_bpsyms.py` in `dmd.py`. r=gsvelto
This uses `fix-stacks`'s new Breakpad symbols support from
https://github.com/mozilla/fix-stacks/pull/16.

The patch also updates some comments in `dmd.py` to account for some very
slight changes in `fix-stacks`'s output.

Differential Revision: https://phabricator.services.mozilla.com/D66363

--HG--
extra : moz-landing-system : lando
2020-03-16 01:15:27 +00:00
Matt Woodrow 67e4cb66fe Bug 1611081 - Add multipart support to nsStreamListenerTee. r=mayhemer
Differential Revision: https://phabricator.services.mozilla.com/D66713

--HG--
extra : moz-landing-system : lando
2020-03-16 00:58:34 +00:00
Kenny Levinsen a3358b92f4 Bug 1614212 - Migrate global VsyncSource users correctly on frame rate change r=sotaro
CompositorVsyncDispatcher holds a reference to the VsyncSource, so it must be informed on change.

Differential Revision: https://phabricator.services.mozilla.com/D65878

--HG--
extra : moz-landing-system : lando
2020-03-16 00:05:20 +00:00
Lee Salzman f6ef80bf9c Bug 1622668 - exclude swgl from CI test scripts. r=gw
Differential Revision: https://phabricator.services.mozilla.com/D66914

--HG--
extra : moz-landing-system : lando
2020-03-15 23:25:14 +00:00
Logan Smyth 74ab8d9809 Bug 1622153 - Ignore optimized-out scripts for breakpoint processing. r=jlast
Differential Revision: https://phabricator.services.mozilla.com/D66707

--HG--
extra : moz-landing-system : lando
2020-03-13 15:18:24 +00:00
Michał Sobkiewicz 347e2e933b Bug 1007344 - Ignore inactive windows when moving alerts. r=MattN
Differential Revision: https://phabricator.services.mozilla.com/D66605

--HG--
extra : moz-landing-system : lando
2020-03-15 22:30:03 +00:00
Daniel Varga 2ef4614ee8 Backed out changeset a2030f611422 (bug 1590894) for causing mochitest failure at layout/style/test/test_value_computation.html 2020-03-15 23:09:42 +02:00
Sam Mauldin 2c684678d4 Bug 1590894: Unprefix existing CSS4 system colors r=emilio
Expect forced-colors-mode-backplate tests to fail because they were passing for the wrong reason,
and the backplate is now properly applied, causing them to fail.

Remove tests for field and fieldtext from color-valid.html because they are tested again
in system-color-valid.html.

Differential Revision: https://phabricator.services.mozilla.com/D66879

--HG--
extra : moz-landing-system : lando
2020-03-15 19:45:27 +00:00
Cosmin Sabou ebb2f1689c Bug 1621954 - Add release/beta expectation for font-display-document-policy-report-only.tentative.html/font-display-document-policy-reporting.tentative.html. r=aryx DONTBUILD
Differential Revision: https://phabricator.services.mozilla.com/D66889

--HG--
extra : moz-landing-system : lando
2020-03-15 19:40:51 +00:00
MahakBansal afb2989850 Bug 1621539 - Replace PL_Base64Encode with Base64Encode r=valentin
Differential Revision: https://phabricator.services.mozilla.com/D66452

--HG--
extra : moz-landing-system : lando
2020-03-15 19:24:39 +00:00
moz-wptsync-bot 989c2c1c35 Bug 1622508 - [wpt-sync] Update web-platform-tests to 77fba99b4e944e68ab2ef984919cb590f8a1f164, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 77fba99b4e944e68ab2ef984919cb590f8a1f164
wpt-type: landing
2020-03-15 16:54:29 +00:00
Lukasz Anforowicz 803be4f562 Bug 1622434 [wpt PR 22247] - Using WPT metadata to mark fetch.https.any.js test as slow., a=testonly
Automatic update from web-platform-tests
Using WPT metadata to mark fetch.https.any.js test as slow.

This CL annotates cross-origin-resource-policy/fetch.https.any.js with:
  // META: timeout=long
and removes [ Timeout ] expectations that this test has accumulated in
blink/web_tests/TestExpectations over multiple sheriffing duties.

Bug: 626703
Fixed: 1012599
Change-Id: Ia26c9200bc4182fb7fe51c98fd256079175c0801
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2103074
Commit-Queue: Alex Moshchuk <alexmos@chromium.org>
Auto-Submit: Łukasz Anforowicz <lukasza@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750320}

--

wpt-commits: af71682c3fb9880458752eebc3f98aa2a708e8a9
wpt-pr: 22247
2020-03-15 16:54:29 +00:00
moz-wptsync-bot 5aa14efe1a Bug 1622134 [wpt PR 22229] - Update wpt metadata, a=testonly
wpt-pr: 22229
wpt-type: metadata
2020-03-15 16:54:28 +00:00
Piotr Bialecki 45ac24b3e2 Bug 1622134 [wpt PR 22229] - WebXR - add WPTs for transient hit test API, a=testonly
Automatic update from web-platform-tests
WebXR - add WPTs for transient hit test API

Change-Id: I845e082ca413bcfa19a5ca4e06f587ebcb2cb254
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2101713
Commit-Queue: Piotr Bialecki <bialpio@chromium.org>
Reviewed-by: Alexander Cooper <alcooper@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750277}

--

wpt-commits: 9610643196e6b5eb25b14c33016121290886dac2
wpt-pr: 22229
2020-03-15 16:54:28 +00:00
Ayu Ishii c576686793 Bug 1621797 [wpt PR 22199] - WebOTP: Cleanup navigator.sms.receive(), a=testonly
Automatic update from web-platform-tests
WebOTP: Cleanup navigator.sms.receive()

This change removes the previous iteration of WebOTP,
SMS Receiver API, which we ran for Origin Trial.
This is now being removed in favor of the credential
management version, WebOTP API [1].

WebOTP API Explainer: https://github.com/WICG/WebOTP
I2E ending in M80: https://groups.google.com/a/chromium.org/d/topic/blink-dev/-bdqHhCyBwM/discussion

Bug: 1045526
Change-Id: I1e73bed5018c814770fa34edcf64daafd234a543
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097041
Reviewed-by: Kentaro Hara <haraken@chromium.org>
Reviewed-by: Victor Costan <pwnall@chromium.org>
Commit-Queue: Ayu Ishii <ayui@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750226}

--

wpt-commits: b6cf8f290e3d4053dbad33913473bc77532f0d89
wpt-pr: 22199
2020-03-15 16:54:27 +00:00
Christian Biesinger 5c8368998f Bug 1622400 [wpt PR 22242] - Make LogicalHeightComputesAsNone check the override cb height, a=testonly
Automatic update from web-platform-tests
Make LogicalHeightComputesAsNone check the override cb height

If the override height is indefinite, this function should return true.
This fixes the case of max-height: xx% on a replaced item in a flexbox,
which otherwise would get resolved to 0 because resolving the percentage
for replaced items would convert negative numbers to 0.

Fixed: 1048051
Change-Id: I192e65b37a3670226fa764662448bdb4216c9fe1
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100771
Auto-Submit: Christian Biesinger <cbiesinger@chromium.org>
Reviewed-by: David Grogan <dgrogan@chromium.org>
Commit-Queue: Christian Biesinger <cbiesinger@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750285}

--

wpt-commits: 4c698c2c113d37c4a71f0bd0d1f32d631fa51a76
wpt-pr: 22242
2020-03-15 16:54:27 +00:00
Alan Cutter 3236e31dc8 Bug 1622419 [wpt PR 22246] - Revert "[ScrollTimeline] Support composited scroll-linked Web Animation", a=testonly
Automatic update from web-platform-tests
Revert "[ScrollTimeline] Support composited scroll-linked Web Animation"

This reverts commit 3254ad50926dbbd809cfa45b611d9081772ce7e8.

Reason for revert:
virtual/threaded/external/wpt/scroll-animations/two-animations-attach-to-same-scroll-timeline-cancel-one.html flaking on debug.
https://ci.chromium.org/p/chromium/builders/ci/Linux%20Tests%20(dbg)(1)/87438
https://test-results.appspot.com/dashboards/flakiness_dashboard.html#testType=blink_web_tests&tests=virtual%2Fthreaded%2Fexternal%2Fwpt%2Fscroll-animations%2Ftwo-animations-attach-to-same-scroll-timeline-cancel-one.html
https://test-results.appspot.com/data/layout_results/Linux_Tests__dbg__1_/87463/blink_web_tests/layout-test-results/results.html
Bug: 1060974

Original change's description:
> [ScrollTimeline] Support composited scroll-linked Web Animation
>
> This patch integrates ScrollTimeline with cc::Animation. Major changes
> include:
> 1. blink::ScrollTimeline is able to create its compositor counterpart
> 2. cc::ScrollTimeline is attached to cc::AnimationHost upon creation
> 3. cc::AnimationHost ticks animations based on their timeline type
> 4. Remove scroll_timeline_ from cc::WorkletAnimation and use the unified
>   animation_timeline_.
> 5. Added virtual/threaded/external/wpt/scroll-animations/.
>
> See [1] for more details.
> [1] https://docs.google.com/document/d/1RpJrYIDYHvtu0ia1vPv_EhBfan428QZ2sgsFhtnXb20/edit?usp=sharing
>
> To sheriffs: if any virtual tests become flaky, please add them to
> TestExpectation instead of reverting the change.
>
> Bug: 1023508
> Change-Id: Ib4aa853bda34ce9b2c0abc943be9f99ac81e799a
> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2084088
> Commit-Queue: Yi Gu <yigu@chromium.org>
> Reviewed-by: David Bokan <bokan@chromium.org>
> Reviewed-by: Majid Valipour <majidvp@chromium.org>
> Cr-Commit-Position: refs/heads/master@{#749389}

TBR=bokan@chromium.org,majidvp@chromium.org,yigu@chromium.org

# Not skipping CQ checks because original CL landed > 1 day ago.

Bug: 1023508
Change-Id: I15f5251d53f3d85936bb345acd00e9ead2f3e7e3
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2100552
Reviewed-by: Alan Cutter <alancutter@chromium.org>
Commit-Queue: Alan Cutter <alancutter@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750052}

--

wpt-commits: f5d634dc5617cd639d24219b212461c186f9c23a
wpt-pr: 22246
2020-03-15 16:54:26 +00:00
Tobie Langel 7eabf76b5e Bug 1622407 [wpt PR 6786] - Webidl legacy platform object tests, a=testonly
Automatic update from web-platform-tests
Webidl legacy platform object tests (#6786)

Co-authored-by: Tobie Langel <tobie@codespeaks.com>
--

wpt-commits: 2f25e04b72f67b07001cb21a226f179342728f41
wpt-pr: 6786
2020-03-15 16:54:26 +00:00
moz-wptsync-bot 1b36b6a93d Bug 1621515 [wpt PR 22180] - Update wpt metadata, a=testonly
wpt-pr: 22180
wpt-type: metadata
2020-03-15 16:54:25 +00:00
Yi Gu aee51052f7 Bug 1621515 [wpt PR 22180] - [ScrollTimeline] Support composited scroll-linked Web Animation, a=testonly
Automatic update from web-platform-tests
[ScrollTimeline] Support composited scroll-linked Web Animation

This patch integrates ScrollTimeline with cc::Animation. Major changes
include:
1. blink::ScrollTimeline is able to create its compositor counterpart
2. cc::ScrollTimeline is attached to cc::AnimationHost upon creation
3. cc::AnimationHost ticks animations based on their timeline type
4. Remove scroll_timeline_ from cc::WorkletAnimation and use the unified
  animation_timeline_.
5. Added virtual/threaded/external/wpt/scroll-animations/.

See [1] for more details.
[1] https://docs.google.com/document/d/1RpJrYIDYHvtu0ia1vPv_EhBfan428QZ2sgsFhtnXb20/edit?usp=sharing

To sheriffs: if any virtual tests become flaky, please add them to
TestExpectation instead of reverting the change.

Bug: 1023508
Change-Id: Ib4aa853bda34ce9b2c0abc943be9f99ac81e799a
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2084088
Commit-Queue: Yi Gu <yigu@chromium.org>
Reviewed-by: David Bokan <bokan@chromium.org>
Reviewed-by: Majid Valipour <majidvp@chromium.org>
Cr-Commit-Position: refs/heads/master@{#749389}

--

wpt-commits: 65dfaeccfa8044f290f22a13fd91fb0209cf50e1
wpt-pr: 22180
2020-03-15 16:54:25 +00:00
moz-wptsync-bot 893129abdc Bug 1621725 [wpt PR 22195] - Update wpt metadata, a=testonly
wpt-pr: 22195
wpt-type: metadata
2020-03-15 16:54:24 +00:00
David Bokan 4f921bbb30 Bug 1621725 [wpt PR 22195] - Fix position:sticky when inside fixed subtree, a=testonly
Automatic update from web-platform-tests
Fix position:sticky when inside fixed subtree

In https://crrev.com/4d25b125dae5 I changed the scroll tree parenting
logic so that elements in position:fixed subtrees have the LayoutView's
ScrollNode as the scroll parent. This made sense since scrolling over a
fixed element should cause the document to scroll. However, this is
slightly different from how the transform tree looks. Because scrolling
the document doesn't cause position:fixed eement so translate, these
nodes don't have the LayoutView's ScrollTranslation transform node as an
ancestor.

As a simple example, a scrolling document with a position:fixed <div>
scroller will generate the following scroll and transform trees
(approximately):

      *ScrollTree*                          *TransformTree*

         Root                                    Root
          |                                       |
VisualViewport Translation                 VisualViewport
          |                                  /         \
  LayoutView Translation                    /           \
          |                             Fixed      LayoutView
  Fixed Scroller Translation

The situation above makes sense for what parent-child relationships mean
in each tree: the scroll tree encodes how scrolls chain; scrolling on a
child should bubble up to its parent in this tree. The transform tree
encodes the physical effect of scrolling a node. In the above example,
scrolling from the fixed scroller should bubble up to the LayoutView
(when the scroller is fully scrolled) but scrolling the LayoutView will
not cause movement of the fixed scroller.

The above makes sense but caused sticky code to get confused. A sticky
constraint is attached to the scroll translation node. With the above
situation, this meant that inside a fixed subtree, we'd attach it to the
VisualViewport's scroll translation node. This was unexpected; the
constraints are in "document coordinates", meaning that to translate
them into the viewport space we must apply the scroll offset [1]. The
compositor would use the visual viewport's (typically 0) scroll offset
to adjust these values, leading to incorrect calculations.

This previously worked because the scroll node used in a fixed subtree
would be the visual viewport (before the CL mentioned at the top). In
[2] we check whether the current overflow clip is also our scroller,
prior to the CL this check have failed because "our scroller" was the
visual viewport but our clip was the LayoutView. Now they are both the
LayoutView.

The fix in this CL is to make the check in [2] more stringent; we also
want to make sure that our scroller is the nearest scroller in the
transform tree. That is, if we scroll it, will we cause the current node
to move? If not, we don't need a sticky constraint on the compositor
because user scrolling can't change the sticky's offset relative to its
clip.

[1] https://cs.chromium.org/chromium/src/cc/trees/property_tree.cc?l=321&rcl=628f869d1fda631a85f051ad13b5d278319298fc
[2] https://cs.chromium.org/chromium/src/third_party/blink/renderer/core/paint/paint_property_tree_builder.cc?l=553&rcl=99a5a1266f303ba6ae46174a2b4cbd165ea7e934

Bug: 1019142
Change-Id: I781943ff43514905d399803c780c6081d7d47e8f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097542
Reviewed-by: Robert Flack <flackr@chromium.org>
Commit-Queue: David Bokan <bokan@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750264}

--

wpt-commits: 1e6645ce41bc902a4c60d6f90a934f9d6d8a258a
wpt-pr: 22195
2020-03-15 16:54:24 +00:00
moz-wptsync-bot a8e138cbf9 Bug 1622035 [wpt PR 22221] - Update wpt metadata, a=testonly
wpt-pr: 22221
wpt-type: metadata


--HG--
rename : testing/web-platform/meta/feature-policy/reporting/unsized-media-reporting.html.ini => testing/web-platform/meta/document-policy/reporting/unsized-media-reporting.html.ini
2020-03-15 16:54:23 +00:00
Charlie Hu 91ea6a3c75 Bug 1622035 [wpt PR 22221] - Migrate UnsizedMedia from feature policy to document policy, a=testonly
Automatic update from web-platform-tests
Migrate UnsizedMedia from feature policy to document policy

This CL migrates UnsizedMedia from feature policy to document policy.

Following web tests are being migrated:
- unsized-media.tentative.https.sub.html
- unsized-media-reporting.html

Following web tests are removed, because document policy currently
does not have a js API to list all features available.
- feature-policy-unsized-media-disabled.html
- feature-policy-unsized-media-enabled.html

Bug: 993790
Change-Id: Id5e0189c0277c940177460380970eab0015109d0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097028
Commit-Queue: Charlie Hu <chenleihu@google.com>
Reviewed-by: Robert Sesek <rsesek@chromium.org>
Reviewed-by: Philip Jägenstedt <foolip@chromium.org>
Reviewed-by: Ian Clelland <iclelland@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750246}

--

wpt-commits: 550ab235e713dc584eb0e60ecc3861a11b644f02
wpt-pr: 22221


--HG--
rename : testing/web-platform/tests/feature-policy/experimental-features/resources/image.jpg => testing/web-platform/tests/document-policy/experimental-features/resources/image.jpg
rename : testing/web-platform/tests/feature-policy/experimental-features/resources/image.png => testing/web-platform/tests/document-policy/experimental-features/resources/image.png
rename : testing/web-platform/tests/feature-policy/experimental-features/resources/image.svg => testing/web-platform/tests/document-policy/experimental-features/resources/image.svg
rename : testing/web-platform/tests/feature-policy/experimental-features/resources/video.ogv => testing/web-platform/tests/document-policy/experimental-features/resources/video.ogv
rename : testing/web-platform/tests/feature-policy/reporting/image.jpg => testing/web-platform/tests/document-policy/reporting/image.jpg
2020-03-15 16:54:23 +00:00
Stephen Chenney 2a8be286c7 Bug 1622070 [wpt PR 22225] - Clamp sub-pixel borders accounting for zoom, a=testonly
Automatic update from web-platform-tests
Clamp sub-pixel borders accounting for zoom

A previous patch added clamping for sub-pixel borders to ensure they
did not round to zero size. The change was done in paint code, leaving
the borders as sub-pixel sized in layout. The code prior to that patch
clamped the borders during style conversion but did not account for zoom,
meaning borders disappeared under zoom.

This change removes the clamping in paint and reverts to clamping in the
style conversion code, only this time accounting for zoom when considering
whether to clamp or not. This will prevent borders growing too large as
content is made larger, while preventing sub-pixel borders from disappearing
as content is made smaller.

Design Doc: https://docs.google.com/document/d/1fAYkOFxp2Luh6OOoXxtwOehmvNRGNss58ibQtVXL0Tw/edit?usp=sharing

Bug: 763402, 834489
Change-Id: Iba2ae80b0a981736b93453c1058fd586ba10212c
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097514
Commit-Queue: Stephen Chenney <schenney@chromium.org>
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750231}

--

wpt-commits: 4b8af2e84553f4f1391a58251037ea1a4b152682
wpt-pr: 22225
2020-03-15 16:54:22 +00:00
moz-wptsync-bot 037a1f2f9d Bug 1621899 [wpt PR 22213] - Update wpt metadata, a=testonly
wpt-pr: 22213
wpt-type: metadata
2020-03-15 16:54:22 +00:00
Rune Lillesveen 18cb5a0fdd Bug 1621899 [wpt PR 22213] - Add tests for color-scheme and iframes., a=testonly
Automatic update from web-platform-tests
Add tests for color-scheme and iframes.

Iframes where the color-scheme of the iframe element and the iframe
document's root does not match, will get a backdrop matching the color-
scheme of the iframe's root element.

Also adjust existing test according to spec change. See:
https://github.com/w3c/csswg-drafts/issues/4772

Bug: 1058822
Change-Id: I82fd3cc3c2bbf5b4835b157a7522cb22c459ff20
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2095112
Reviewed-by: Anders Hartvoll Ruud <andruud@chromium.org>
Commit-Queue: Rune Lillesveen <futhark@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750186}

--

wpt-commits: 348adc5c7b2e3abb76763af063fbd921afb99ac5
wpt-pr: 22213
2020-03-15 16:54:21 +00:00
Sergio cfd077b0f1 Bug 1620964 [wpt PR 22139] - Fix manifest writing in python3, a=testonly
Automatic update from web-platform-tests
Fix manifest writing in python3 (#22139)

Store more properties as text and convert to str for output.
--

wpt-commits: d4cdf4021ab48c66b052fb62d91da1a06c8cbcf7
wpt-pr: 22139
2020-03-15 16:54:21 +00:00
moz-wptsync-bot 1f1f002323 Bug 1622072 [wpt PR 22226] - Update wpt metadata, a=testonly
wpt-pr: 22226
wpt-type: metadata
2020-03-15 16:54:20 +00:00
Brian Kardell a3b0a0def8 Bug 1622072 [wpt PR 22226] - correct default expectation for existing mrow test, a=testonly
Automatic update from web-platform-tests
correct default expectation for existing mrow test (#22226)

* Update tabindex-001.html

Attempting to match defaults defined in https://github.com/whatwg/html/pull/5248
definitely needs scrutiny..

* Update tabindex-001.html

The default `.tabIndex` of an mrow should be 0 regardless of when it has an href or not, as a linkable element and matching historical (oddity) of other linkable things in HTML/SVG
--

wpt-commits: 6b2fee71a825487369f34f82e7daa732920d186e
wpt-pr: 22226
2020-03-15 16:54:20 +00:00
moz-wptsync-bot e43147b921 Bug 1622229 [wpt PR 22236] - Update wpt metadata, a=testonly
wpt-pr: 22236
wpt-type: metadata
2020-03-15 16:54:19 +00:00
Aryeh Gregor c03b21ae06 Bug 1622229 [wpt PR 22236] - Correctly test document.all quirks, a=testonly
Automatic update from web-platform-tests
Correctly test document.all quirks

For legacy compatibility, this property is specified with some willful
violations of JS: <https://html.spec.whatwg.org/#dom-document-all>.
Prior to this commit, idlharness wasn't accounting for these, so
html/dom/interfaces.html was wrong for document.all/HTMLAllCollection
tests.

It's a bit ugly to include this directly in idlharness.js and
testharness.js, but it's the cleanest solution I can think of.

Fixes #4207.

--

wpt-commits: 687b92d025e32df7f5217bc06b0e510a39953ef9
wpt-pr: 22236
2020-03-15 16:54:19 +00:00
George Steel 4a21a8008f Bug 1622138 [wpt PR 22230] - Make computedStyleMap return the computed value for lineHeight, a=testonly
Automatic update from web-platform-tests
Make computedStyleMap return the computed value for lineHeight

It previously returned the resolved value as produced by
ValueForLineHeight (this property is unique in that the computed and
resolved values differ even without a layout object).
Introduce another serializer ComputedValueForLineHeight which produces
the actual computed value.

Change-Id: Ic27d9a4fe7c67cbbb577ec4e4efed14a88a846c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2101858
Reviewed-by: Rune Lillesveen <futhark@chromium.org>
Commit-Queue: George Steel <gtsteel@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750170}

--

wpt-commits: 550ffc84d3c79e80ea4b8b90a2489a0b8426aa1b
wpt-pr: 22230
2020-03-15 16:54:18 +00:00
moz-wptsync-bot 11b9fea9ae Bug 1622146 [wpt PR 22231] - Update wpt metadata, a=testonly
wpt-pr: 22231
wpt-type: metadata
2020-03-15 16:54:18 +00:00
Domenic Denicola 844f194e19 Bug 1622146 [wpt PR 22231] - Origin policy: rearrange a couple tests, a=testonly
Automatic update from web-platform-tests
Origin policy: rearrange a couple tests

Although these tests use content security policy to test that the policy is not applied, they're really about testing what happens when the server does something wrong. Since we'll be adding more tests of that sort for https://crbug.com/1051170 and https://crbug.com/1042036, it makes sense to have a top-level directory for them.

This also extends the test to use the new expectedIds test runner feature as an extra check that no policy was applied.

Bug: 751996
Change-Id: I5a91eb7f97ed81b65b94fd67b44586e7c8f70e52
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2101351
Reviewed-by: James MacLean <wjmaclean@chromium.org>
Commit-Queue: Domenic Denicola <domenic@chromium.org>
Cr-Commit-Position: refs/heads/master@{#750163}

--

wpt-commits: c7e667518c4c835a79124be8a8511a6b6121b01f
wpt-pr: 22231
2020-03-15 16:54:18 +00:00
Rob Buis dad2ca0204 Bug 1622018 [wpt PR 22219] - Test Access-Control-Allow-Credentials header and xhr, a=testonly
Automatic update from web-platform-tests
Test Access-Control-Allow-Credentials header and xhr (#22219)

Test based on fetch/api/cors/cors-expose-star.sub.any.js.
--

wpt-commits: be8ae0e79486c890fe060055c4b7240184b06182
wpt-pr: 22219
2020-03-15 16:54:17 +00:00