Emilio Cobos Álvarez
353b658d5a
Bug 1600773 - Invalidate shadow part pseudo-class styles correctly. r=heycam
...
I was going to send a test for `:focus` via wpt, but then realized it was
probably not spec-compliant with the new rules people want to follow for
:focus, so I filed https://github.com/w3c/csswg-drafts/issues/4555 instead.
Testing `:hover` / `:active` via wpt looked quite a bit of a hassle.
Differential Revision: https://phabricator.services.mozilla.com/D55591
--HG--
extra : moz-landing-system : lando
2019-12-09 13:40:16 +00:00
Emilio Cobos Álvarez
85599f3f1b
Bug 1602317 - Update cbindgen to 0.11.1. r=jrmuizel
...
This includes more bitflag operators, which means we can remove some slightly
ugly code.
Differential Revision: https://phabricator.services.mozilla.com/D56308
--HG--
extra : moz-landing-system : lando
2019-12-09 03:20:53 +00:00
Emilio Cobos Álvarez
4a3be9604a
Bug 1602317 - Switch style system to associated constants-in-body. r=heycam
...
This is closer to the equivalent Rust code.
Differential Revision: https://phabricator.services.mozilla.com/D56306
--HG--
extra : moz-landing-system : lando
2019-12-09 03:32:28 +00:00
Emilio Cobos Álvarez
1dc32f9c0f
Bug 1602317 - More reliably workaround some silly windows.h defines. r=nical
...
I couldn't get some Windows sandbox code to build with the other patch in this
bug.
Differential Revision: https://phabricator.services.mozilla.com/D56343
--HG--
extra : moz-landing-system : lando
2019-12-09 12:14:16 +00:00
Cameron McCormack
80142a59ab
Bug 1571285 - Correctly style dark scrollbars in tree components. r=emilio
...
We need to ensure the rules that override all properties for scrollbar
part elements only apply to those that are NAC (and so will be eligible
for NAC style sharing). We have some uses of non-NAC <scrollbar>
elements that should continue to inherit properties from their parents.
To avoid any changes in rule matching order that come with changing specificity,
we add a new :-moz-native-anonymous-no-specificity pseudo-class.
While we're here, we note :-moz-native-anonymous-no-specificity (and the
regular :-moz-native-anonymous pseudo-class) as not needing style
sharing cache revalidation, as we never share NAC styles.
Differential Revision: https://phabricator.services.mozilla.com/D56154
--HG--
extra : moz-landing-system : lando
2019-12-09 03:16:03 +00:00
jeffin143
0393375a39
Bug 1600481 : convert NS_STYLE_ISOLATION_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55378
--HG--
extra : moz-landing-system : lando
2019-12-06 04:42:18 +00:00
Emilio Cobos Álvarez
4695746608
Bug 1601732 - Update in-tree dependencies to smallvec 1.0. r=glandium
...
We're vendoring it already so no reason not to. Only a couple dependencies left
after these to get rid of 0.6.
Differential Revision: https://phabricator.services.mozilla.com/D56044
--HG--
extra : moz-landing-system : lando
2019-12-05 23:30:59 +00:00
Emilio Cobos Álvarez
31291d2cdd
Bug 1587468 - Update derive_more. r=glandium
...
Differential Revision: https://phabricator.services.mozilla.com/D56043
--HG--
extra : moz-landing-system : lando
2019-12-05 22:46:59 +00:00
Christian Holler
9a94d4cfc6
Bug 1601597 - Avoid writing into the empty array header. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55949
--HG--
extra : moz-landing-system : lando
2019-12-05 12:29:56 +00:00
Emilio Cobos Álvarez
7a80801b12
Bug 1600998 - Remove layout.css.xul-box-display-values.survive-blockification.enabled. r=dholbert
...
Differential Revision: https://phabricator.services.mozilla.com/D55898
--HG--
extra : moz-landing-system : lando
2019-12-05 06:12:47 +00:00
enordin
d3412ea23d
Bug 1598600 - Refactor InvalidationMap flags to bitflags r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55862
--HG--
extra : moz-landing-system : lando
2019-12-05 00:13:49 +00:00
Emilio Cobos Álvarez
5d2dcb5b73
Bug 1600443 - Update cssparser and phf. r=heycam
...
This aligns us with Servo. It pulls a new `rand` crate version, but I'm removing
one in https://phabricator.services.mozilla.com/D55351 , so hopefully adds up :)
Differential Revision: https://phabricator.services.mozilla.com/D55359
--HG--
rename : third_party/rust/cssparser-macros/Cargo.toml => third_party/rust/phf_macros/Cargo.toml
rename : third_party/rust/cssparser-macros/Cargo.toml => third_party/rust/proc-macro-hack/Cargo.toml
rename : third_party/rust/rand/.cargo-checksum.json => third_party/rust/rand-0.6.5/.cargo-checksum.json
rename : third_party/rust/rand/CHANGELOG.md => third_party/rust/rand-0.6.5/CHANGELOG.md
rename : third_party/rust/rand/Cargo.toml => third_party/rust/rand-0.6.5/Cargo.toml
rename : third_party/rust/rand/README.md => third_party/rust/rand-0.6.5/README.md
rename : third_party/rust/rand/benches/distributions.rs => third_party/rust/rand-0.6.5/benches/distributions.rs
rename : third_party/rust/rand/benches/generators.rs => third_party/rust/rand-0.6.5/benches/generators.rs
rename : third_party/rust/rand/benches/misc.rs => third_party/rust/rand-0.6.5/benches/misc.rs
rename : third_party/rust/rand/benches/seq.rs => third_party/rust/rand-0.6.5/benches/seq.rs
rename : third_party/rust/rand/build.rs => third_party/rust/rand-0.6.5/build.rs
rename : third_party/rust/rand/examples/monte-carlo.rs => third_party/rust/rand-0.6.5/examples/monte-carlo.rs
rename : third_party/rust/rand/examples/monty-hall.rs => third_party/rust/rand-0.6.5/examples/monty-hall.rs
rename : third_party/rust/rand/src/deprecated.rs => third_party/rust/rand-0.6.5/src/deprecated.rs
rename : third_party/rust/rand/src/distributions/bernoulli.rs => third_party/rust/rand-0.6.5/src/distributions/bernoulli.rs
rename : third_party/rust/rand/src/distributions/binomial.rs => third_party/rust/rand-0.6.5/src/distributions/binomial.rs
rename : third_party/rust/rand/src/distributions/cauchy.rs => third_party/rust/rand-0.6.5/src/distributions/cauchy.rs
rename : third_party/rust/rand/src/distributions/dirichlet.rs => third_party/rust/rand-0.6.5/src/distributions/dirichlet.rs
rename : third_party/rust/rand/src/distributions/exponential.rs => third_party/rust/rand-0.6.5/src/distributions/exponential.rs
rename : third_party/rust/rand/src/distributions/float.rs => third_party/rust/rand-0.6.5/src/distributions/float.rs
rename : third_party/rust/rand/src/distributions/gamma.rs => third_party/rust/rand-0.6.5/src/distributions/gamma.rs
rename : third_party/rust/rand/src/distributions/integer.rs => third_party/rust/rand-0.6.5/src/distributions/integer.rs
rename : third_party/rust/rand/src/distributions/mod.rs => third_party/rust/rand-0.6.5/src/distributions/mod.rs
rename : third_party/rust/rand/src/distributions/normal.rs => third_party/rust/rand-0.6.5/src/distributions/normal.rs
rename : third_party/rust/rand/src/distributions/other.rs => third_party/rust/rand-0.6.5/src/distributions/other.rs
rename : third_party/rust/rand/src/distributions/pareto.rs => third_party/rust/rand-0.6.5/src/distributions/pareto.rs
rename : third_party/rust/rand/src/distributions/poisson.rs => third_party/rust/rand-0.6.5/src/distributions/poisson.rs
rename : third_party/rust/rand/src/distributions/triangular.rs => third_party/rust/rand-0.6.5/src/distributions/triangular.rs
rename : third_party/rust/rand/src/distributions/uniform.rs => third_party/rust/rand-0.6.5/src/distributions/uniform.rs
rename : third_party/rust/rand/src/distributions/unit_circle.rs => third_party/rust/rand-0.6.5/src/distributions/unit_circle.rs
rename : third_party/rust/rand/src/distributions/unit_sphere.rs => third_party/rust/rand-0.6.5/src/distributions/unit_sphere.rs
rename : third_party/rust/rand/src/distributions/utils.rs => third_party/rust/rand-0.6.5/src/distributions/utils.rs
rename : third_party/rust/rand/src/distributions/weibull.rs => third_party/rust/rand-0.6.5/src/distributions/weibull.rs
rename : third_party/rust/rand/src/distributions/weighted.rs => third_party/rust/rand-0.6.5/src/distributions/weighted.rs
rename : third_party/rust/rand/src/lib.rs => third_party/rust/rand-0.6.5/src/lib.rs
rename : third_party/rust/rand/src/prelude.rs => third_party/rust/rand-0.6.5/src/prelude.rs
rename : third_party/rust/rand/src/prng/mod.rs => third_party/rust/rand-0.6.5/src/prng/mod.rs
rename : third_party/rust/rand/src/rngs/adapter/mod.rs => third_party/rust/rand-0.6.5/src/rngs/adapter/mod.rs
rename : third_party/rust/rand/src/rngs/adapter/read.rs => third_party/rust/rand-0.6.5/src/rngs/adapter/read.rs
rename : third_party/rust/rand/src/rngs/adapter/reseeding.rs => third_party/rust/rand-0.6.5/src/rngs/adapter/reseeding.rs
rename : third_party/rust/rand/src/rngs/entropy.rs => third_party/rust/rand-0.6.5/src/rngs/entropy.rs
rename : third_party/rust/rand/src/rngs/mock.rs => third_party/rust/rand-0.6.5/src/rngs/mock.rs
rename : third_party/rust/rand/src/rngs/mod.rs => third_party/rust/rand-0.6.5/src/rngs/mod.rs
rename : third_party/rust/rand/src/rngs/small.rs => third_party/rust/rand-0.6.5/src/rngs/small.rs
rename : third_party/rust/rand/src/rngs/std.rs => third_party/rust/rand-0.6.5/src/rngs/std.rs
rename : third_party/rust/rand/src/rngs/thread.rs => third_party/rust/rand-0.6.5/src/rngs/thread.rs
rename : third_party/rust/rand/src/seq/index.rs => third_party/rust/rand-0.6.5/src/seq/index.rs
rename : third_party/rust/rand/src/seq/mod.rs => third_party/rust/rand-0.6.5/src/seq/mod.rs
rename : third_party/rust/rand/tests/uniformity.rs => third_party/rust/rand-0.6.5/tests/uniformity.rs
rename : third_party/rust/rand/src/distributions/weighted.rs => third_party/rust/rand/src/distributions/weighted/mod.rs
rename : third_party/rust/rand_chacha/.cargo-checksum.json => third_party/rust/rand_chacha-0.1.1/.cargo-checksum.json
rename : third_party/rust/rand_chacha/CHANGELOG.md => third_party/rust/rand_chacha-0.1.1/CHANGELOG.md
rename : third_party/rust/rand_chacha/Cargo.toml => third_party/rust/rand_chacha-0.1.1/Cargo.toml
rename : third_party/rust/rand_chacha/README.md => third_party/rust/rand_chacha-0.1.1/README.md
rename : third_party/rust/rand_chacha/build.rs => third_party/rust/rand_chacha-0.1.1/build.rs
rename : third_party/rust/rand_chacha/src/chacha.rs => third_party/rust/rand_chacha-0.1.1/src/chacha.rs
rename : third_party/rust/rand_chacha/src/lib.rs => third_party/rust/rand_chacha-0.1.1/src/lib.rs
rename : third_party/rust/rand_core/.cargo-checksum.json => third_party/rust/rand_core-0.4.0/.cargo-checksum.json
rename : third_party/rust/rand_core/CHANGELOG.md => third_party/rust/rand_core-0.4.0/CHANGELOG.md
rename : third_party/rust/rand_core/Cargo.toml => third_party/rust/rand_core-0.4.0/Cargo.toml
rename : third_party/rust/rand_core/README.md => third_party/rust/rand_core-0.4.0/README.md
rename : third_party/rust/rand_core/src/block.rs => third_party/rust/rand_core-0.4.0/src/block.rs
rename : third_party/rust/rand_core/src/error.rs => third_party/rust/rand_core-0.4.0/src/error.rs
rename : third_party/rust/rand_core/src/impls.rs => third_party/rust/rand_core-0.4.0/src/impls.rs
rename : third_party/rust/rand_core/src/lib.rs => third_party/rust/rand_core-0.4.0/src/lib.rs
rename : third_party/rust/rand_hc/.cargo-checksum.json => third_party/rust/rand_hc-0.1.0/.cargo-checksum.json
rename : third_party/rust/rand_hc/CHANGELOG.md => third_party/rust/rand_hc-0.1.0/CHANGELOG.md
rename : third_party/rust/rand_hc/Cargo.toml => third_party/rust/rand_hc-0.1.0/Cargo.toml
rename : third_party/rust/rand_hc/README.md => third_party/rust/rand_hc-0.1.0/README.md
rename : third_party/rust/rand_hc/src/hc128.rs => third_party/rust/rand_hc-0.1.0/src/hc128.rs
rename : third_party/rust/rand_hc/src/lib.rs => third_party/rust/rand_hc-0.1.0/src/lib.rs
rename : third_party/rust/rand_pcg/.cargo-checksum.json => third_party/rust/rand_pcg-0.1.2/.cargo-checksum.json
rename : third_party/rust/rand_pcg/CHANGELOG.md => third_party/rust/rand_pcg-0.1.2/CHANGELOG.md
rename : third_party/rust/rand_pcg/Cargo.toml => third_party/rust/rand_pcg-0.1.2/Cargo.toml
rename : third_party/rust/rand_pcg/README.md => third_party/rust/rand_pcg-0.1.2/README.md
rename : third_party/rust/rand_chacha/build.rs => third_party/rust/rand_pcg-0.1.2/build.rs
rename : third_party/rust/rand_pcg/src/lib.rs => third_party/rust/rand_pcg-0.1.2/src/lib.rs
rename : third_party/rust/rand_pcg/src/pcg128.rs => third_party/rust/rand_pcg-0.1.2/src/pcg128.rs
rename : third_party/rust/rand_pcg/src/pcg64.rs => third_party/rust/rand_pcg-0.1.2/src/pcg64.rs
rename : third_party/rust/rand_pcg/tests/lcg64xsh32.rs => third_party/rust/rand_pcg-0.1.2/tests/lcg64xsh32.rs
rename : third_party/rust/rand_pcg/tests/mcg128xsl64.rs => third_party/rust/rand_pcg-0.1.2/tests/mcg128xsl64.rs
extra : moz-landing-system : lando
2019-12-04 19:54:06 +00:00
Jonathan Kew
3b87f01682
Bug 770780 - Add support for parsing of the CSS text-underline-position property. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54722
--HG--
extra : moz-landing-system : lando
2019-12-04 11:39:15 +00:00
Emilio Cobos Álvarez
9e67bb0696
Bug 1599921 - Make Rust static atoms able to be used in const contexts. r=boris
...
I see atom dropping code generated in release builds for stuff like dropping the
"class" atom here:
https://searchfox.org/mozilla-central/rev/4df8821c1b824db5f40f381f48432f219d99ae36/servo/components/style/gecko/wrapper.rs#592
That is silly, and I hope making Atom be able to be used in const context will
help the compiler see that yeah, we're not doing anything interesting and the
atom shouldn't get dropped.
It also allows us to get rid of a few lazy_static!s, so we should do it anyway.
In order to accomplish this, compute the offset into gGkAtoms manually instead
of going through the static_atoms() array and then back to the byte offset.
Differential Revision: https://phabricator.services.mozilla.com/D55039
--HG--
extra : moz-landing-system : lando
2019-12-03 21:43:42 +00:00
enordin
34c681cacf
Bug 1594241
- Check for border-image-* initial specified values when serializing border shorthand r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55588
--HG--
extra : moz-landing-system : lando
2019-12-03 18:28:32 +00:00
jeffin143
be122e52af
Bug 1600482 : convert NS_STYLE_RUBY_POSITION_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55379
--HG--
extra : moz-landing-system : lando
2019-12-02 17:22:42 +00:00
jeffin143
0070e7ec58
Bug 1600484 : convert NS_STYLE_TEXT_SIZE_ADJUST_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55382
--HG--
extra : moz-landing-system : lando
2019-12-02 05:09:33 +00:00
jeffin143
0ed9c7c846
Bug 1600483 : convert NS_STYLE_RUBY_ALIGN_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55380
--HG--
extra : moz-landing-system : lando
2019-12-01 13:08:49 +00:00
jeffin143
6e53ecda96
Bug 1600476 : convert NS_STYLE_TOP_LAYER_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55377
--HG--
extra : moz-landing-system : lando
2019-12-01 13:05:55 +00:00
Emilio Cobos Álvarez
1c8bfea810
Bug 1600436 - Fix servo build.
...
Depends on D55357
Differential Revision: https://phabricator.services.mozilla.com/D55358
--HG--
extra : moz-landing-system : lando
2019-11-30 14:06:06 +00:00
Emilio Cobos Álvarez
f628d09be6
Bug 1600436 - Rustfmt recent changes.
...
Differential Revision: https://phabricator.services.mozilla.com/D55357
--HG--
extra : moz-landing-system : lando
2019-11-30 14:13:04 +00:00
Emilio Cobos Álvarez
91bdbdf2ed
Bug 1600436 - Update some servo-2020 layout ifdefs.
...
Differential Revision: https://phabricator.services.mozilla.com/D55356
--HG--
extra : moz-landing-system : lando
2019-11-30 14:05:50 +00:00
Alex Touchet
5ae76bccfa
Bug 1600436 - Update some URLs.
...
Differential Revision: https://phabricator.services.mozilla.com/D55355
--HG--
extra : moz-landing-system : lando
2019-11-30 14:05:43 +00:00
Simon Sapin
c8373d6efe
Bug 1600436 - Fix some warnings new in Rust Nightly.
...
Differential Revision: https://phabricator.services.mozilla.com/D55354
--HG--
extra : moz-landing-system : lando
2019-11-30 14:05:41 +00:00
Federico Mena Quintero
4ff8a1dc93
Bug 1600436 - derive_common: Fix example in documentation.
...
Differential Revision: https://phabricator.services.mozilla.com/D55353
--HG--
extra : moz-landing-system : lando
2019-11-30 14:05:34 +00:00
Emilio Cobos Álvarez
2051e11775
Bug 1600320 - Avoid writing into the empty array header. r=jwatt
...
The only way for this to happen is calling set_len(0) on an already-empty array.
We should be replacing these bindings by the `ThinVec` crate, but this is easier
for now.
Differential Revision: https://phabricator.services.mozilla.com/D55291
--HG--
extra : moz-landing-system : lando
2019-11-30 11:58:18 +00:00
enordin
d69bff9bdb
Bug 1597642 - Have scale function and scale property accept percentage value. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D55012
--HG--
extra : moz-landing-system : lando
2019-11-29 04:40:03 +00:00
Emilio Cobos Álvarez
8e2d3636d7
Bug 1599876 - Make some string handling in the bindings a bit less terrible. r=boris
...
cbindgen understands references, so use them rather than pointers when we expect
non-null stuff.
Differential Revision: https://phabricator.services.mozilla.com/D55011
--HG--
extra : moz-landing-system : lando
2019-11-27 20:57:51 +00:00
Emilio Cobos Álvarez
bcdc101492
Bug 1599324 - Fix Servo_IsCssPropertyRecordedInUseCounter so that we also report disabled properties. r=boris
...
When zoom is disabled, we still count it, but with the current code the testing
function will throw instead of returning the right value, which means we'd fail
layout/style/test/test_use_counters.html.
Differential Revision: https://phabricator.services.mozilla.com/D55005
--HG--
extra : moz-landing-system : lando
2019-11-27 20:51:20 +00:00
jeffin143
e9711f487b
Bug 1598528 : convert NS_STYLE_TEXT_ORIENTATION_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54252
--HG--
extra : moz-landing-system : lando
2019-11-26 04:50:04 +00:00
Emilio Cobos Álvarez
526c7105f0
Bug 1599115 - Simplify some code now that lifetimes are non-lexical. r=boris
...
Differential Revision: https://phabricator.services.mozilla.com/D54529
--HG--
extra : moz-landing-system : lando
2019-11-25 19:14:37 +00:00
jeffin143
7868d04683
Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53920
--HG--
extra : moz-landing-system : lando
2019-11-25 16:00:23 +00:00
jeffin143
9b7464720b
Bug 1598348 : convert NS_STYLE_OBJECT_FIT_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54153
--HG--
extra : moz-landing-system : lando
2019-11-25 15:40:50 +00:00
jeffin143
2293551763
Bug 1598539 : convert NS_STYLE_IME_MODE_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54255
--HG--
extra : moz-landing-system : lando
2019-11-25 15:41:18 +00:00
Mats Palmgren
6bb620e019
Bug 1598234
- [css-grid][cssom] Make 'grid-area'/'grid-column'/'grid-row' shorthands serialize to shortest possible form. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54386
--HG--
extra : moz-landing-system : lando
2019-11-23 21:24:33 +00:00
Mats Palmgren
f96607afa0
Bug 1597884 - [css-grid] Make some grid/grid-template values serialize to a shorter form. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53913
--HG--
extra : moz-landing-system : lando
2019-11-23 19:58:35 +00:00
Mats Palmgren
774a732b4a
Bug 1597639 - [css-grid] Don't accept two trailing <line-names> in the grid/grid-template shorthands. r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53909
--HG--
extra : moz-landing-system : lando
2019-11-23 19:56:34 +00:00
Brindusan Cristian
116ada0728
Backed out changeset f07b485c29ad (bug 1595620) for xpcshell failures at test_css-properties-db.js. CLOSED TREE
2019-11-23 14:48:06 +02:00
Markivo
9dcd8c4485
Bug 1595620 Add support for -webkit-font-feature-settings as an alias of font-feature-settings.r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54159
--HG--
extra : moz-landing-system : lando
2019-11-23 10:29:58 +00:00
Noemi Erli
92d932148c
Backed out changeset 8cdae49ab472 (bug 1598539) for causing build bustages in EditorBase.cpp CLOSED TREE
2019-11-22 22:04:00 +02:00
jeffin143
058d24f2df
Bug 1598539 : convert NS_STYLE_IME_MODE_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D54255
--HG--
extra : moz-landing-system : lando
2019-11-22 13:33:59 +00:00
Razvan Maries
8520cc6954
Backed out changeset dce49f743139 (bug 1597893) for build bustages on nsCocoaWindow.mm. CLOSED TREE
2019-11-22 14:50:12 +02:00
jeffin143
6967337237
Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53920
--HG--
extra : moz-landing-system : lando
2019-11-21 16:52:06 +00:00
Boris Chiou
7a959a5da5
Bug 1582554 - Add a preference for offset-path:ray(). r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53110
--HG--
extra : moz-landing-system : lando
2019-11-20 22:38:26 +00:00
Bogdan Tara
6aae1c4aaa
Backed out changeset 726c8aa10d1a (bug 1597893) for bustages complaining about nsCocoaWindow.h CLOSED TREE
2019-11-21 15:35:09 +02:00
jeffin143
9f50df6c78
Bug 1597893 : convert NS_STYLE_WINDOW_SHADOW_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53920
--HG--
extra : moz-landing-system : lando
2019-11-21 12:09:03 +00:00
Emilio Cobos Álvarez
a46d4afe4b
Bug 1559076 - Invalidate parts in nested shadow trees correctly. r=heycam
...
Differential Revision: https://phabricator.services.mozilla.com/D54010
--HG--
extra : moz-landing-system : lando
2019-11-21 10:32:10 +00:00
Emilio Cobos Álvarez
74823e8b90
Bug 1559076 - Implement shadow part forwarding (minus invalidation). r=heycam
...
Some of the stuff, in particular inside GeckoBindings stuff should be
refactored to be less ugly and duplicate a bit less code, but the rest of the
code should be landable as is.
Some invalidation changes are already needed because we weren't matching with
the right shadow host during invalidation (which made existing ::part() tests
fail).
Pending invalidation work:
* Making exportparts work right on the snapshots.
* Invalidating parts from descendant hosts.
They're not very hard but I need to think how to best implement it:
* Maybe get rid of ShadowRoot::mParts and just walk DOM descendants in the
Shadow DOM.
* Maybe implement a ElementHasExportPartsAttr much like HasPartAttr and use
that to keep the list of elements.
* Maybe invalidate :host and ::part() together in here[1]
* Maybe something else.
Opinions?
[1]: https://searchfox.org/mozilla-central/rev/131338e5017bc0283d86fb73844407b9a2155c98/servo/components/style/invalidation/element/invalidator.rs#561
Differential Revision: https://phabricator.services.mozilla.com/D53730
--HG--
extra : moz-landing-system : lando
2019-11-21 10:32:32 +00:00
jeffin143
74bcc4abb7
Bug 1597979 : convert NS_STYLE_TEXT_ANCHOR_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53956
--HG--
extra : moz-landing-system : lando
2019-11-21 08:48:19 +00:00
jeffin143
aa897e8496
Bug 1597881 : convert NS_STYLE_STROKE_LINECAP_* to an enum class in nsStyleConsts.h r=emilio
...
Differential Revision: https://phabricator.services.mozilla.com/D53908
--HG--
extra : moz-landing-system : lando
2019-11-21 06:07:30 +00:00