Commit graph

239 commits

Author SHA1 Message Date
Csoregi Natalia
4f7b803fd6 Backed out changeset c7e10bd5cd69 (bug 1764850) for causing bustage on nsStyleStruct.cpp. CLOSED TREE 2022-11-05 00:01:38 +02:00
Connor Pearson
c3971e400d Bug 1764850 Implement CSS round() function. r=emilio
Co-Authored-By: Emilio Cobos Álvarez <emilio@crisal.io>

Differential Revision: https://phabricator.services.mozilla.com/D156742
2022-11-04 20:00:06 +00:00
moz-wptsync-bot
d0c50bb70f Bug 1796814 - [wpt-sync] Update web-platform-tests to 402eb6715664faf101c8264343034fd92cd5cfb8, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 402eb6715664faf101c8264343034fd92cd5cfb8
wpt-type: landing
2022-10-25 15:52:04 +00:00
moz-wptsync-bot
d3cd0bfada Bug 1795284 [wpt PR 36457] - Update wpt metadata, a=testonly
wpt-pr: 36457
wpt-type: metadata
2022-10-25 15:50:47 +00:00
moz-wptsync-bot
b9c8e69e30 Bug 1795060 - [wpt-sync] Update web-platform-tests to 2e7293cece7afdf3f5892c7487c685647f67d7b0, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 2e7293cece7afdf3f5892c7487c685647f67d7b0
wpt-type: landing
2022-10-21 10:38:35 +00:00
moz-wptsync-bot
e749a9734e Bug 1790764 [wpt PR 35888] - Update wpt metadata, a=testonly
wpt-pr: 35888
wpt-type: metadata
2022-10-21 10:36:03 +00:00
moz-wptsync-bot
5855d48335 Bug 1793812 - [wpt-sync] Update web-platform-tests to 89531da9fdaf72b335353fec46b3746759628582, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 89531da9fdaf72b335353fec46b3746759628582
wpt-type: landing
2022-10-12 11:09:12 +00:00
moz-wptsync-bot
93a6e5f61c Bug 1792957 [wpt PR 36160] - Update wpt metadata, a=testonly
wpt-pr: 36160
wpt-type: metadata
2022-10-12 11:09:11 +00:00
moz-wptsync-bot
f94093666a Bug 1793090 - [wpt-sync] Update web-platform-tests to 18d6fe503a28b1df760d2c1156e113f3bf74c583, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 18d6fe503a28b1df760d2c1156e113f3bf74c583
wpt-type: landing
2022-10-05 09:31:28 +00:00
moz-wptsync-bot
c1e4185a4d Bug 1791857 - [wpt-sync] Update web-platform-tests to 0865ba27228c2560fdd8601d2cd53537554ad50b, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 0865ba27228c2560fdd8601d2cd53537554ad50b
wpt-type: landing
2022-09-23 22:53:45 +00:00
moz-wptsync-bot
b986915d7a Bug 1791274 [wpt PR 35941] - Update wpt metadata, a=testonly
wpt-pr: 35941
wpt-type: metadata
2022-09-23 22:53:18 +00:00
moz-wptsync-bot
f0eef2832b Bug 1788869 [wpt PR 35763] - Update wpt metadata, a=testonly
wpt-pr: 35763
wpt-type: metadata
2022-09-06 02:10:05 +00:00
moz-wptsync-bot
48db4f19cc Bug 1789066 - [wpt-sync] Update web-platform-tests to 506677d7736dc1d0171d7aed5d15b58ba5f3d957, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 506677d7736dc1d0171d7aed5d15b58ba5f3d957
wpt-type: landing
2022-09-04 18:01:22 +00:00
moz-wptsync-bot
9860fba314 Bug 1784839 [wpt PR 35463] - Update wpt metadata, a=testonly
wpt-pr: 35463
wpt-type: metadata
2022-09-04 17:59:27 +00:00
moz-wptsync-bot
5f3e8b10c4 Bug 1782624 [wpt PR 35301] - Update wpt metadata, a=testonly
wpt-pr: 35301
wpt-type: metadata
2022-09-04 17:57:45 +00:00
Emilio Cobos Álvarez
6d0f2b63a9 Bug 1682444 - Add basic support for nan / infinity in calc(). r=boris
Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883
2022-08-18 08:54:30 +00:00
Emilio Cobos Álvarez
da5885d572 Bug 1774589 - Fix a couple css-values tests while at it. r=boris
While I was looking at this, let's fix some incorrect tests.

The changes to expect simplification come from
https://drafts.csswg.org/css-values-4/#calc-simplification:

    Internal representations of math functions are eagerly simplified to
    the extent possible, using standard algebraic simplifications
    (distributing multiplication over sums, combining similar units,
    etc.)

The changes to tests that expected 0% / 0px / etc are just wrong because
the test harness treat 0 as the "default" used value, and fails. These
fail in all browsers.

Depends on D154831

Differential Revision: https://phabricator.services.mozilla.com/D154832
2022-08-18 08:49:31 +00:00
Emilio Cobos Álvarez
9cb731ca93 Bug 1774589 - Implement atan2(), and enable calc() trigonometric functions by default on nightly. r=boris
We now have test coverage, so let's do this.

The remaining failures are just about infinity/nan, which is a
completely different feature.

Differential Revision: https://phabricator.services.mozilla.com/D154831
2022-08-18 08:49:30 +00:00
Marian-Vasile Laza
77fe747849 Backed out 5 changesets (bug 1682444, bug 1774589) for causing wpt failures on acos-asin-atan-atan2-serialize.html. CLOSED TREE
Backed out changeset 1d850765046a (bug 1774589)
Backed out changeset 08ec785b9923 (bug 1682444)
Backed out changeset bf0c0ff13cc1 (bug 1682444)
Backed out changeset bcf5fcb47b4a (bug 1774589)
Backed out changeset 03b2061c924b (bug 1774589)
2022-08-18 04:28:11 +03:00
Emilio Cobos Álvarez
99789192be Bug 1774589 - Annotate a test that's failing on macOS.
MANUAL PUSH: Orange fixup CLOSED TREE
2022-08-18 00:55:33 +02:00
Emilio Cobos Álvarez
5e73feeb12 Bug 1682444 - Add basic support for nan / infinity in calc(). r=boris
Fix some tests to:

 * Not assume `double` precision.
 * Account for recent working group resolution with regards to NaN: https://github.com/w3c/csswg-drafts/issues/7067#issuecomment-1111211295

Not sure I caught all, but normalizing to 0 was already our existing
behavior. This feature needs more work before it can be enabled more
generally, so make it nightly-only, for now.

Also, it's unclear per spec what the serialization for infinity*1s or so
should be. Right now we serialize to <very-big-number>s, which seems
reasonable, but some tests (but not others!) expect different behavior.

I left those untouched for now.

Differential Revision: https://phabricator.services.mozilla.com/D154883
2022-08-17 21:12:08 +00:00
Emilio Cobos Álvarez
f3a1ce1277 Bug 1774589 - Fix a couple css-values tests while at it. r=boris
While I was looking at this, let's fix some incorrect tests.

The changes to expect simplification come from
https://drafts.csswg.org/css-values-4/#calc-simplification:

    Internal representations of math functions are eagerly simplified to
    the extent possible, using standard algebraic simplifications
    (distributing multiplication over sums, combining similar units,
    etc.)

The changes to tests that expected 0% / 0px / etc are just wrong because
the test harness treat 0 as the "default" used value, and fails. These
fail in all browsers.

Depends on D154831

Differential Revision: https://phabricator.services.mozilla.com/D154832
2022-08-17 20:56:38 +00:00
Emilio Cobos Álvarez
3372ba4c5d Bug 1774589 - Implement atan2(), and enable calc() trigonometric functions by default on nightly. r=boris
We now have test coverage, so let's do this.

The remaining failures are just about infinity/nan, which is a
completely different feature.

Differential Revision: https://phabricator.services.mozilla.com/D154831
2022-08-17 20:56:38 +00:00
Lee Salzman
6e50eec03b Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-08-03 15:16:28 +00:00
moz-wptsync-bot
42450b3f41 Bug 1780964 [wpt PR 35212] - Update wpt metadata, a=testonly
wpt-pr: 35212
wpt-type: metadata
2022-08-03 10:10:15 +00:00
Bogdan Szekely
9b19959381 Backed out changeset 07e7637819ec (bug 1773712)for causing reftest failures on 1304353-text-global-composite-op-1.html 2022-08-03 10:03:39 +03:00
Lee Salzman
b8c6b1034f Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-08-02 19:26:49 +00:00
moz-wptsync-bot
c7b59c1acd Bug 1780373 - [wpt-sync] Update web-platform-tests to 894c17b1c273bcdba5cbef544994782ee2ffff03, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 894c17b1c273bcdba5cbef544994782ee2ffff03
wpt-type: landing
2022-07-21 00:25:26 +00:00
moz-wptsync-bot
952e9c98c6 Bug 1776194 [wpt PR 34550] - Update wpt metadata, a=testonly
wpt-pr: 34550
wpt-type: metadata
2022-07-21 00:25:19 +00:00
Cristian Tuns
a6d25de0c7 Backed out 2 changesets (bug 1773712) for causing crashes in Bug 1769254 a=backout
Backed out changeset 767a824e1cc8 (bug 1773712)
Backed out changeset 5c16ac03eca7 (bug 1773712)
2022-06-13 09:17:34 -04:00
Lee Salzman
691d6dea02 Bug 1773712 - Enable accelerated Canvas2D on macOS nightly. r=jrmuizel
Differential Revision: https://phabricator.services.mozilla.com/D148917
2022-06-10 19:40:23 +00:00
moz-wptsync-bot
db8db070f5 Bug 1768367 [wpt PR 33987] - Update wpt metadata, a=testonly
wpt-pr: 33987
wpt-type: metadata
2022-05-17 16:15:08 +00:00
moz-wptsync-bot
9ff5aed063 Bug 1765037 [wpt PR 33662] - Update wpt metadata, a=testonly
wpt-pr: 33662
wpt-type: metadata
2022-05-15 20:20:51 +00:00
Hiroyuki Ikezoe
8c1414dd70 Bug 1610815 - Use standards mode and specify height:100% to <body> not reply on a weird quirk mode behavior. r=emilio
Depends on D143259

Differential Revision: https://phabricator.services.mozilla.com/D143260
2022-04-12 04:06:39 +00:00
Hiroyuki Ikezoe
904e017a78 Bug 1610815 - Fix a race condition in viewport-units-keyframes.html where an animation inside an iframe gets started before the iframe gets sized. r=emilio
Depends on D143253

Differential Revision: https://phabricator.services.mozilla.com/D143259
2022-04-12 04:06:39 +00:00
Hiroyuki Ikezoe
9fad1de770 Bug 1610815 - Implement new *vi and *vb units. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D143253
2022-04-12 04:06:38 +00:00
Hiroyuki Ikezoe
64b87a50a6 Bug 1610815 - Implement new {small,large,dynamic} viewport units. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D143252
2022-04-12 04:06:38 +00:00
moz-wptsync-bot
b758d97fef Bug 1763687 - [wpt-sync] Update web-platform-tests to efab2d8ac74741fa603fd791e138c6b1a369c90c, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: efab2d8ac74741fa603fd791e138c6b1a369c90c
wpt-type: landing
2022-04-11 07:45:43 +00:00
moz-wptsync-bot
d04568d27a Bug 1754153 [wpt PR 32742] - Update wpt metadata, a=testonly
wpt-pr: 32742
wpt-type: metadata
2022-03-07 14:48:43 +00:00
moz-wptsync-bot
453684b8cd Bug 1753008 [wpt PR 32635] - Update wpt metadata, a=testonly
wpt-pr: 32635
wpt-type: metadata
2022-03-07 14:48:25 +00:00
moz-wptsync-bot
2350a67dd3 Bug 1751069 [wpt PR 32460] - Update wpt metadata, a=testonly
wpt-pr: 32460
wpt-type: metadata
2022-02-05 11:49:55 +00:00
Joel Maher
a207ad062a Bug 1750137 - wpt adjustments for fission + variants everywhere. r=jgraham
Differential Revision: https://phabricator.services.mozilla.com/D135966
2022-01-14 14:31:24 +00:00
moz-wptsync-bot
44d2826eb8 Bug 1737029 [wpt PR 31342] - Update wpt metadata, a=testonly
wpt-pr: 31342
wpt-type: metadata
2021-12-20 11:37:06 +00:00
Joel Maher
9766a2a4cd Bug 1743907 - remove redundant webrender manifest conditions in wpt (part 3). r=gbrown
Differential Revision: https://phabricator.services.mozilla.com/D133120
2021-12-10 18:52:09 +00:00
Jonathan Kew
9477e32f16 Bug 1531223 - Add support for the 'ic' font-relative unit. r=emilio
This is a "simplified" implementation of 'ic', similar to what Safari Preview
currently supports: it only considers the advance of U+6C34 if found in the
first available font, and otherwise falls back to the default of 1em.

(The spec allows for this "in cases where it is impossible or impractical to
determine the ideographic advance measure".)

Differential Revision: https://phabricator.services.mozilla.com/D132818
2021-12-08 17:07:05 +00:00
Butkovits Atila
21676cf030 Backed out changeset 145c64b7ac17 (bug 1531223) for causing failures at gfxFontEntry.cpp. CLOSED TREE 2021-12-06 14:57:31 +02:00
Jonathan Kew
ed3fd395ba Bug 1531223 - Add support for the 'ic' and 'cap' font-relative units. r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D132818
2021-12-06 12:22:09 +00:00
Emilio Cobos Álvarez
2eba9f7125 Bug 137688 - Serialize shorthands in getComputedStyle. r=xidorn
There's still some potential work to do for layout-dependent shorthands, but I
believe given there's only progressions here this is worth doing.

Differential Revision: https://phabricator.services.mozilla.com/D132286
2021-12-01 18:44:07 +00:00
moz-wptsync-bot
32b936ced5 Bug 1741731 [wpt PR 31663] - Update wpt metadata, a=testonly
wpt-pr: 31663
wpt-type: metadata
2021-11-29 19:40:04 +00:00
moz-wptsync-bot
8f4fabfec4 Bug 1740023 - [wpt-sync] Update web-platform-tests to 8fda756656d4629e5e21021bf06ca27ba4dcdb4c, a=testonly
MANUAL PUSH: wpt sync bot

wpt-head: 8fda756656d4629e5e21021bf06ca27ba4dcdb4c
wpt-type: landing
2021-11-09 12:16:16 +00:00