Commit Graph

14396 Commits

Author SHA1 Message Date
Csoregi Natalia
13e01265bf Merge mozilla-central to autoland. CLOSED TREE 2018-10-17 19:55:51 +03:00
Cameron McCormack
16007d2b66 Bug 1495984 - Make css::URLValue::IsLocalRef call into CssUrlData::is_fragment. r=emilio
This fixes the issue that we should no longer be looking for control characters.



MozReview-Commit-ID: 8k89Aheq3NY

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

--HG--
extra : moz-landing-system : lando
2018-10-17 09:43:45 +00:00
Cameron McCormack
a7510da8d0 Bug 1499408 - Part 2: Have css::URLValue get URLExtraData from its CssUrlData. r=emilio
MozReview-Commit-ID: IqZGzkHlSZD

Depends on D8874

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

--HG--
extra : moz-landing-system : lando
2018-10-17 09:43:32 +00:00
Cameron McCormack
b5d216cfa1 Bug 1499408 - Part 1: Make css::URLValue hold on to a CssUrlData, not just its serialization. r=emilio
MozReview-Commit-ID: EWcbnVtDJCS

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

--HG--
extra : moz-landing-system : lando
2018-10-17 12:36:49 +00:00
Boris Chiou
09a7c9a305 Bug 1496558 - Part 1: Store the correct computed values for keywords for sizing properties r=mats
In order to get the correct computed value of these keywords, we have to
make sure we store the correct computed values in sizing properties in
both inline axis and block axis.

-moz-max-content and -moz-min-content should behave as the property's
initial value in block axis. -moz-fit-content and -moz-available are not
supported in block axis, so we also treat them as initial values.

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

--HG--
extra : moz-landing-system : lando
2018-10-16 19:38:41 +00:00
Diego Pino Garcia
eca2cd1106 Bug 1498948 - Refactor KeyframeEffect constructor to use r-value reference. r=boris 2018-10-16 00:38:00 +03:00
Noemi Erli
014b37a409 Merge inbound to mozilla-central. a=merge 2018-10-16 01:20:08 +03:00
Emilio Cobos Álvarez
e088200f02 Bug 1497981 - Simplify ImageLoader::LoadImage. r=heycam
Has a single caller, from which we pass the arguments. We can just avoid that.

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

--HG--
extra : moz-landing-system : lando
2018-10-15 12:24:58 +00:00
Csoregi Natalia
50a1f611cf Merge mozilla-central to autoland. CLOSED TREE 2018-10-15 07:55:05 +03:00
Csoregi Natalia
adeba320b0 Merge inbound to mozilla-central. a=merge 2018-10-15 07:53:34 +03:00
Gurzau Raul
91701fdad3 Merge mozilla-central to autoland. a=merge CLOSED TREE 2018-10-15 01:20:42 +03:00
Emilio Cobos Álvarez
d03714e54f Bug 1498632 - Remove cursor overrides from datetimebox.css r=Gijs
Instead set the cursor from the UA sheet, and allow authors to override it. This
matches what other UAs do.

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

--HG--
extra : moz-landing-system : lando
2018-10-14 19:55:22 +00:00
Mats Palmgren
e608cdac05 Bug 1494745 part 4 - Make Loader::AddObserver void since it's infallible. r=bz
mObservers is a nsTObserverArray which is infallible, so no need to
check the return value from AppendElementUnlessExists
(which a later patch in this series will remove).
2018-10-14 18:12:23 +02:00
Diego Pino Garcia
f56ddbca98 Bug 1339675 - Move TimingParams in call to SetSpecifiedTiming r=boris
--HG--
extra : histedit_source : 4d411a2a717ef0f0cd1c1b8cc4387bb3d52775d1
2018-10-12 11:28:00 +03:00
Diego Pino Garcia
4520a114b1 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-14 09:42:24 +11:00
Noemi Erli
e350ad46ad Backed out changeset a00b402fb8e8 (bug 1498148) for Linting failure in builds/worker/checkouts/gecko/tools/lint/wpt.yml CLOSED TREE 2018-10-14 00:12:12 +03:00
Diego Pino Garcia
d8fa9f97a3 Bug 1498148 - Implement text-transform: full-size-kana. r=xidorn 2018-10-13 05:03:00 +03:00
Ciure Andrei
26b40a4469 Merge inbound to mozilla-central. a=merge 2018-10-13 12:36:04 +03:00
Timothy Nikkel
b28d14515a Bug 1256603. Fix comment in ImageLoader. r=aosmond 2018-10-13 00:31:03 -05:00
Emilio Cobos Álvarez
40b1e83d81 Bug 1498734 - Always compute angle values to degrees. r=xidorn
This matches the spec, https://drafts.csswg.org/css-values/#angles, which says:

> All <angle> units are compatible, and deg is their canonical unit.

And https://drafts.csswg.org/css-values/#compat, which says:

>When serializing computed values [...], compatible units [...] are converted into a single canonical unit.

And also other implementations (Blink always serializes angles as degrees in
computed style for example).

Also allows us to get rid of quite a bit of code, and makes computed angle value
representation just a number, which is nice.

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

--HG--
extra : moz-landing-system : lando
2018-10-13 00:41:03 +00:00
Benjamin Bouvier
db0cd81fb4 Bug 1495669: Share bindgen flags globally; r=emilio, r=froydnj
--HG--
extra : rebase_source : 83bfa2a61e523048d0e618ed5920c4aa143a2582
extra : histedit_source : cfc8de67959c5a2dffc5fea3ee5be172bfc370e1%2C53a6b4c0de444b4a7ee04cdd015568069bca893a
2018-10-09 15:01:52 +02:00
Cameron McCormack
828f01a054 Bug 1498755 - Part 13: Format GeckoBindings.h r=emilio
Depends on D8654

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:06:17 +00:00
Cameron McCormack
2b5f80fe2a Bug 1498755 - Part 12: Remove unused main thread FFI refcounting r=emilio
Depends on D8653

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:06:15 +00:00
Cameron McCormack
332883a726 Bug 1498755 - Part 11: Move Gecko borrowed FFI types to a separate header file r=emilio
Depends on D8652

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:06:13 +00:00
Cameron McCormack
ef98f7b9be Bug 1498755 - Part 10: Move list of Servo Boxed types to a separate header file r=emilio
Depends on D8651

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:06:05 +00:00
Cameron McCormack
49b4086e36 Bug 1498755 - Part 9: Remove an unnecessary entry from servo-owned-types r=emilio
Depends on D8650

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:06:03 +00:00
Cameron McCormack
0733335852 Bug 1498755 - Part 8: Add comments to ServoBindingTypes.h r=emilio
Depends on D8649

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

--HG--
extra : moz-landing-system : lando
2018-10-14 23:29:59 +00:00
Cameron McCormack
bfe5c432f4 Bug 1498755 - Part 7: Tweak a few things in ServoBindingTypes.h r=emilio
Depends on D8648

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:59 +00:00
Cameron McCormack
f804c8ca6b Bug 1498755 - Part 6: Move some C++ types from ServoBindingTypes.h to ServoTypes.h r=emilio
Depends on D8647

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:56 +00:00
Cameron McCormack
cb8e3bb881 Bug 1498755 - Part 5: Split ServoCell out into a separate header, rename it, and clean it up a bit r=emilio
Depends on D8646

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:54 +00:00
Cameron McCormack
4842c13353 Bug 1498755 - Part 4: Clean up includes and forward declarations in Servo bindings headers r=emilio
Depends on D8645

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:52 +00:00
Cameron McCormack
4f45ef2141 Bug 1498755 - Part 3: Merge AssertIsMainThreadOrServo{FontMetrics,LangFontPrefsCache}Locked r=emilio
Depends on D8644

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:50 +00:00
Cameron McCormack
ab29a5a596 Bug 1498755 - Part 2c: Allow ServoBindings.h and GeckoBindings.h to be used separately r=emilio
Depends on D8643

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

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:48 +00:00
Cameron McCormack
b81df37289 Bug 1498755 - Part 2b: Rename ServoBindingList.h to ServoBindings.h r=emilio
Depends on D8642

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

--HG--
rename : layout/style/ServoBindingList.h => layout/style/ServoBindings.h
extra : moz-landing-system : lando
2018-10-14 00:05:41 +00:00
Cameron McCormack
87966dcfc5 Bug 1498755 - Part 2a: Rename ServoBindings.{h,cpp} to GeckoBindings.{h,cpp} r=emilio
Depends on D8641

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

--HG--
rename : layout/style/ServoBindings.cpp => layout/style/GeckoBindings.cpp
rename : layout/style/ServoBindings.h => layout/style/GeckoBindings.h
extra : moz-landing-system : lando
2018-10-14 00:05:38 +00:00
Cameron McCormack
e5328cae25 Bug 1498755 - Part 1: Turn ServoBindingList.h macros into regular function declarations r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D8641

--HG--
extra : moz-landing-system : lando
2018-10-14 00:05:36 +00:00
Mats Palmgren
9ea1c13256 Bug 1496720 - [css-compat] Unship most of the -moz-appearance values that aren't supported by -webkit-appearance in other UAs. r=emilio 2018-10-12 21:36:02 +02:00
Emilio Cobos Álvarez
42fac17ba2 Bug 1498445 - Stop creating a style attribute for invalid property values. r=smaug
This matches all other browsers, and the spec.

Added an explicit test for this, and a test that tests what
cssstyledeclaration-mutationrecord-002.html wanted to test, which is that
changing an existing declaration doesn't generate a mutation record.

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

--HG--
rename : testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-002.html => testing/web-platform/tests/css/cssom/cssstyledeclaration-mutationrecord-005.html
extra : moz-landing-system : lando
2018-10-12 09:07:00 +00:00
Emilio Cobos Álvarez
571fa7dcd9 Bug 1497986 - Some more nsCSSValue cleanup. r=mats
I had this around, I couldn't work on more stuff today, but I may as well land
this.

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

--HG--
extra : moz-landing-system : lando
2018-10-10 20:26:45 +00:00
Emilio Cobos Álvarez
2119a48e1d Bug 1497972 - Use LookupForAdd in ImageLoader::LoadImage. r=mats
I think it's not really that awkward :)

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

--HG--
extra : moz-landing-system : lando
2018-10-10 19:09:59 +00:00
Daniel Varga
2ad5744e7f Merge mozilla-central to mozilla-inbound. a=merge 2018-10-10 13:56:40 +03:00
Cameron McCormack
4c8408b3c2 Bug 1496308 - Require URLExtraData::mPrincipal to be non-null r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D7682

--HG--
extra : moz-landing-system : lando
2018-10-10 03:10:07 +00:00
Cameron McCormack
4daef6b3e8 Bug 1496295 - Remove some more unused methods r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D7678

--HG--
extra : moz-landing-system : lando
2018-10-04 07:51:17 +00:00
Cameron McCormack
eeb8da104f Bug 1495994 - Part 4: Merge css::{URLValueData, ImageValue} into css::URLValue r=emilio
Depends on D7595

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

--HG--
extra : moz-landing-system : lando
2018-10-10 02:58:20 +00:00
Cameron McCormack
d254326fee Bug 1495994 - Part 3: Move mLoadID up from ImageValue to URLValueData r=emilio
Depends on D7594

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

--HG--
extra : moz-landing-system : lando
2018-10-10 02:57:41 +00:00
Cameron McCormack
8e24dfb709 Bug 1495994 - Part 2: Remove some constructors/methods r=emilio
Depends on D7593

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

--HG--
extra : moz-landing-system : lando
2018-10-10 02:57:13 +00:00
Cameron McCormack
9ef951ebd0 Bug 1495994 - Part 1: Make URLValue constructor take CORSMode argument r=emilio
Differential Revision: https://phabricator.services.mozilla.com/D7593

--HG--
extra : moz-landing-system : lando
2018-10-10 02:56:52 +00:00
Emilio Cobos Álvarez
5c40ac23c9 Bug 1496014 - Fix shape-outside invalidation. r=dbaron
It's not really invalidated anywhere, and the float manager code only checks for
float region changes. Extend it so that it knows about shapes as well, and avoid
reframing due to a bogus nsChangeHint_ScrollbarChange which really meant to be
UpdateOverflow, which really is useless in this situation..

Differential Revision: https://phabricator.services.mozilla.com/D7583
2018-10-10 01:33:17 +02:00
Emilio Cobos Álvarez
8a3d09ee15 Bug 1496486 - Remove some more leftover code. r=heycam
Differential Revision: https://phabricator.services.mozilla.com/D7755
2018-10-09 19:07:44 +02:00
Emilio Cobos Álvarez
046243a12e Bug 1496486 - Remove GridTemplateAreas stuff from nsCSSValue. r=heycam
It's unused.

Differential Revision: https://phabricator.services.mozilla.com/D7754
2018-10-09 19:07:42 +02:00