Bobby Holley
4b44e359be
servo: Merge #20577 - Avoid Gecko Namespace registration from Servo (from bholley:no_namespace_registration); r=upsuper
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1451421
Source-Repo: https://github.com/servo/servo
Source-Revision: db9ab0440a75b8663efb816edc2b66faca59a1fd
2018-04-06 17:33:07 -04:00
Xidorn Quan
8468a5e3e0
servo: Merge #20559 - Remove some unused stuff in nsCSSValue (from upsuper:cleanup-nscssvalue); r=emilio
...
This is the Servo side change of [bug 1448763](https://bugzilla.mozilla.org/show_bug.cgi?id=1448763 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 044f19d91433c706857a9ddd958425225c3a683e
2018-04-05 05:37:39 -04:00
Xidorn Quan
83d4cc8a68
servo: Merge #20541 - Use Servo data to back @counter-style rule in Gecko (from upsuper:counter-style); r=emilio
...
This is the Servo side changes of [bug 1449068](https://bugzilla.mozilla.org/show_bug.cgi?id=1449068 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 8c35be94c2910a50bbb7106449bab4e231697aea
2018-04-04 19:34:06 -04:00
Xidorn Quan
5cd2b45919
servo: Merge #20519 - Use Servo data to back @font-face rule in Gecko (from upsuper:font-face-rule); r=emilio
...
This is the Servo side change of [bug 1449087](https://bugzilla.mozilla.org/show_bug.cgi?id=1449087 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 34b13dac66b48790003ccd069f4636f1def77e7d
2018-04-03 19:33:59 -04:00
Xidorn Quan
fff3672580
servo: Merge #20456 - Remove nsCSSPseudoClasses and friends (from upsuper:remove-nscsspseudoclasses); r=emilio
...
This is the Servo side change of [bug 1449097](https://bugzilla.mozilla.org/show_bug.cgi?id=1449097 ) and [bug 1449089](https://bugzilla.mozilla.org/show_bug.cgi?id=1449089 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 97c12bd3927c057d5610b0295f0e8320b64af5e5
2018-03-27 18:51:48 -04:00
Emilio Cobos Álvarez
89cb511b3c
servo: Merge #20386 - style: Rename StyleContext to ComputedStyle (from emilio:computed-style-rename); r=jwatt
...
Bug: 1447483
Reviewed-by: jwatt
MozReview-Commit-ID: KATZ6DkmpVY
Source-Repo: https://github.com/servo/servo
Source-Revision: 563f0ec8245d6ff4d7d200c30655f90f5bdfed64
2018-03-22 13:48:24 -04:00
Xidorn Quan
e6ead8d294
servo: Merge #20302 - Include some traversal statistics in style tracing marker (from upsuper:traversal-stats); r=bholley
...
This is the Servo side changes of [bug 1444296](https://bugzilla.mozilla.org/show_bug.cgi?id=1444296 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 8e6cfbca47a259f20ba1c0d09e599169372d4930
2018-03-14 21:01:08 -04:00
Xidorn Quan
98847d6862
servo: Merge #20238 - Construct URLValue eagerly and share it between specified value and style structs (from upsuper:url-value); r=emilio
...
This is the Servo side change of [bug 1443046](https://bugzilla.mozilla.org/show_bug.cgi?id=1443046 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 1d122c250c906358a91b607b0fcc720546d04134
2018-03-08 08:06:35 -05:00
Xidorn Quan
cfe7376f2d
servo: Merge #20222 - Do not disable thread pool in the parent process (from upsuper:chrome-thread-pool); r=bholley
...
This is the Servo side change of [bug 1375913](https://bugzilla.mozilla.org/show_bug.cgi?id=1375913 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 3b96fb2cbe8754b30646e8bd914806048c0b6db2
2018-03-06 17:54:34 -05:00
Emilio Cobos Álvarez
25bfceb9f4
servo: Merge #20180 - style: Copy less urls for stylo (from emilio:moar-refcount-hackery); r=jdm
...
Bug: 1442246
Reviewed-by: jdm
MozReview-Commit-ID: NmHue1mGDq
Source-Repo: https://github.com/servo/servo
Source-Revision: 5bfd74e42deb7d519acdfe246475588c1cede367
2018-03-03 13:25:15 -05:00
Xidorn Quan
7a136661b5
servo: Merge #20150 - Remove text-is-significant param from Gecko_IsSignificantChild (from upsuper:text-is-significant); r=emilio
...
This is Servo side change of [bug 1441729](https://bugzilla.mozilla.org/show_bug.cgi?id=1441729 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 90b8410b05e8aab35e3885820a37c6239252cca1
2018-03-01 18:52:07 -05:00
Bobby Holley
acefde524b
servo: Merge #20146 - Stylo: Pass an explicit parent SheetLoadData for child stylesheet loads (from bholley:explicit_load_data); r=bholley
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1441896
Source-Repo: https://github.com/servo/servo
Source-Revision: e8f77861a9af8d88ba62625838a10d63c74d22ed
2018-02-28 11:32:00 -05:00
Emilio Cobos Álvarez
1766c58591
servo: Merge #20133 - style: Make Shadow DOM not use XBL anymore (from emilio:kill-xbl); r=xidorn
...
Bug: 1425759
Reviewed-by: xidorn
MozReview-Commit-ID: Jf2iGvLC5de
Source-Repo: https://github.com/servo/servo
Source-Revision: a7f38f0f32e2a01dfd3d415fd34d246957bede63
2018-02-27 05:47:29 -05:00
Emilio Cobos Álvarez
78edba124d
servo: Merge #20082 - style: Cleanup always-false argument to Servo_ResolveStyleLazily (from emilio:ignore-existing-styles); r=bholley
...
I changed this setup in https://bugzilla.mozilla.org/show_bug.cgi?id=1414999 ,
because it was totally unsound.
Source-Repo: https://github.com/servo/servo
Source-Revision: 691f3be24a6fcc90ae7d0b9b0783abf8674e1b0f
2018-02-21 06:09:15 -05:00
Xidorn Quan
049dcd421c
servo: Merge #20070 - Add sizeof for AuthorStyles (from upsuper:authorstyles-size); r=bholley,njn
...
This is the Servo side change for [bug 1438497](https://bugzilla.mozilla.org/show_bug.cgi?id=1438497 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: a98da8ce939e8afe7bac737ac02e3bcb226a1ea9
2018-02-18 23:13:10 -05:00
Emilio Cobos Álvarez
3f59a7620c
servo: Merge #20061 - style: Make XBL / Shadow DOM use something more light-weight than a Stylist (from emilio:author-styles); r=xidorn
...
Introduce AuthorStyles, which is just a struct aggregating stylesheets +
CascadeData, with a quirks_mode parameter because XBL sucks so bad.
Bug: 1436059
Reviewed-by: xidorn
MozReview-Commit-ID: 7q99tSNXo0K
Source-Repo: https://github.com/servo/servo
Source-Revision: 504b901cc82db5c5e02e157cec9753f7c297ac2c
2018-02-16 09:54:06 -05:00
Xidorn Quan
54554ed0ed
servo: Merge #20042 - Integrate font-variation-settings descriptor with stylo (from upsuper:font-variation-desc); r=emilio
...
This is the Servo side change for [bug 1435984](https://bugzilla.mozilla.org/show_bug.cgi?id=1435984 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 27cd4f7b5387f188570a355c58bf87b9a029d76e
2018-02-13 19:16:34 -05:00
Xidorn Quan
dbc9382918
servo: Merge #20013 - Return whether property was removed from Servo_DeclarationBlock_RemoveProperty (from upsuper:remove-prop-bool); r=bzbarsky
...
This is the Servo side change of [bug 1435139](https://bugzilla.mozilla.org/show_bug.cgi?id=1435139 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: afaa51b99387df084da421a738f204fefaebfbab
2018-02-10 03:59:43 -05:00
Emilio Cobos Álvarez
656ba0e86e
servo: Merge #20004 - style: Add infrastructure to have a standalone author stylesheet collection (from emilio:author-sheet-collection); r=nox
...
Right now Gecko uses a whole `Stylist` for stuff like XBL / Shadow DOM.
That's not great, because it has tons of unrelated logic, and also eats up a lot of memory. Also, it prevents us to optimize style changes in shadow hosts the same way we do for the document.
These patches mostly rejigger stuff around so that you can define a `DocumentStylesheetSet` and then an `AuthorStylesheetSet`, which would contain just the Shadow DOM sheets / XBL resource sheets.
It still doesn't introduce any use for the later, but that will come later.
There's a patch in this PR that requires Gecko changes, posted in https://bugzilla.mozilla.org/show_bug.cgi?id=1436798 .
Source-Repo: https://github.com/servo/servo
Source-Revision: 6b1a74672d6b9d9c55b027b147b0a6eb8f727bfd
2018-02-09 17:18:08 -05:00
Manish Goregaokar
cca6c7f2a6
servo: Merge #19994 - Remove traversal telemetry (from Manishearth:rm-telemetry); r=upsuper
...
Source-Repo: https://github.com/servo/servo
Source-Revision: e654afbc3e47d97835328e6131ef51b2e27e3409
2018-02-08 08:10:09 -05:00
Emilio Cobos Álvarez
9bd229db85
servo: Merge #19973 - style: Rework how media feature changes are handled for XBL (from emilio:media-feature-change); r=xidorn
...
Bug: 1435939
Reviewed-by: xidorn
Source-Repo: https://github.com/servo/servo
Source-Revision: e57319a7345eded057555f55f801e5f2c413f5b9
2018-02-07 08:02:34 -05:00
Emilio Cobos Álvarez
e50384476f
servo: Merge #19954 - style: Optimize @keyframes / @font-face rule insertions (from emilio:insert-sheet); r=xidorn,hiro
...
style: Optimize @keyframes / @font-face rule insertions.
Bug: 1435214
Reviewed-by: xidorn,hiro
Source-Repo: https://github.com/servo/servo
Source-Revision: 2557274f7b3c1c5f31a7553ba62415055fdcb1b2
2018-02-05 05:55:59 -05:00
Emilio Cobos Álvarez
4ae76f189b
servo: Merge #19911 - style: Make GeckoElement::has_class more specialized (from emilio:has-class); r=xidorn
...
Bug: 1431421
Reviewed-by: xidorn
MozReview-Commit-ID: 7LiSEamTCkX
Source-Repo: https://github.com/servo/servo
Source-Revision: c88dc51d03a81e9e405688ccd2baae75d61ffffd
2018-01-31 04:45:07 -06:00
Emilio Cobos Álvarez
9134742fc1
servo: Merge #19877 - style: Look at the snapshots when invalidating due to stylesheet changes (from emilio:remove-sheet-oh-noes); r=bz
...
Otherwise removal of stylesheets may get out of sync with other DOM changes, and
we may fail to invalidate the style of the affected elements.
Bug: 1432850
Reviewed-by: bz
MozReview-Commit-ID: DrMTgLzQcnk
Source-Repo: https://github.com/servo/servo
Source-Revision: bc7dd644f6f50bd6eb3fba1547808775ee9d7620
2018-01-26 20:18:48 -06:00
Emilio Cobos Álvarez
073d7a4744
servo: Merge #19833 - style: Remove -moz-border-*-colors (from emilio:bye-border-colors); r=xidorn
...
Bug: 1429723
Reviewed-by: xidorn
MozReview-Commit-ID: 3P6f7rFcDa6
Source-Repo: https://github.com/servo/servo
Source-Revision: abb04ce7c6d68bd6fa24d39692d2884c6cbc371d
2018-01-22 09:23:20 -06:00
Emilio Cobos Álvarez
d4d69de669
servo: Merge #19830 - Update bindgen (from emilio:bindgen-up); r=SimonSapin
...
Bug: 1432134
Reviewed-by: SimonSapin
MozReview-Commit-ID: GXHw7KcCLN9
Source-Repo: https://github.com/servo/servo
Source-Revision: 6dc16e0a75c492731c7bae3e7d6a124730f2c9eb
2018-01-22 07:02:38 -06:00
Emilio Cobos Álvarez
4cd6b51091
servo: Merge #19805 - style: Handle correctly document state invalidation inside negation (from emilio:doc-state-fix); r=xidorn
...
style: Handle correctly document state invalidation inside negation.
Source-Repo: https://github.com/servo/servo
Source-Revision: 3b07be555310a3a31445fae1150720cc3ff7d5d5
2018-01-19 19:18:47 -06:00
Emilio Cobos Álvarez
da725a0b0f
servo: Merge #19799 - style: Remove new function added to the build from bindings.rs (from emilio:everything-is-red); r=emilio
...
Since it was removed from gecko, and this confuses a lot to
ports/geckolib/tests/build.rs.
Source-Repo: https://github.com/servo/servo
Source-Revision: 1f6a864ab5372fe4f59b1a4c3db7cf8e7a79b06d
2018-01-17 20:34:47 -06:00
Emilio Cobos Álvarez
66afe9a352
servo: Merge #19790 - style: Work from multiple bugs (from emilio:fix-all-the-bugs); r=heycam,xidorn
...
Bug: 1429846,1429248,1430608,1409672
Reviewed-by: xidorn,heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 7d685d4baa0b107e3dd95eeba8076bfb9e07ba0e
2018-01-17 13:55:03 -06:00
Bobby Holley
e99142e4a8
servo: Merge #19753 - NoteDirtyElement optimizations (from bholley:notedirtyelement_optimizations); r=emilio
...
https://bugzilla.mozilla.org/show_bug.cgi?id=1398119
Source-Repo: https://github.com/servo/servo
Source-Revision: 1a8366598afdbf4de31dcbaf0d9585f7a8a5e7b4
2018-01-12 12:22:10 -06:00
Emilio Cobos Álvarez
17ac2d9d1e
servo: Merge #19721 - style: Support ::slotted better (from emilio:slotted); r=heycam
...
This allows to selector-match ::slotted, though we still don't parse it.
Bug: 1425834, 1424607, 1425755
Reviewed-by: heycam
MozReview-Commit-ID: ItELHkf2PMl
Source-Repo: https://github.com/servo/servo
Source-Revision: bb34b7f54aa85cde600c6d675360d03714cf1f8b
2018-01-09 07:26:28 -06:00
Emilio Cobos Álvarez
d3652fe6b6
servo: Merge #19673 - style: Make GetFlattenedTreeParent more straight-forward (from emilio:flattened-tree-parent); r=smaug
...
Now that accessing nsIContent slots is not a blob of virtual function calls, we
should be able to unify logic here, and speed up the not-so-rare case for
chrome, while keeping the usual case fast.
Bug: 1427511
Reviewed-by: smaug
MozReview-Commit-ID: 87iY5Cbhx4T
Source-Repo: https://github.com/servo/servo
Source-Revision: 9187c9a093860d9f3c31b5a5f402458aa4a607cb
2018-01-02 10:00:22 -06:00
Manish Goregaokar
e1e6fb55b6
servo: Merge #19549 - Add telemetry probe for measuring frequency of parallel restyles (from Manishearth:telemetry); r=emilio
...
Servo side of https://bugzilla.mozilla.org/show_bug.cgi?id=1421195
r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 80341b291b3c1f0d423d8b8ab4eb8b1e78e03f2a
2017-12-12 10:14:31 -06:00
Xidorn Quan
983e8ba2ba
servo: Merge #19526 - Add @supports -moz-bool-pref() support for stylo (from upsuper:moz-bool-pref); r=emilio
...
This is the Servo side change for [bug 1267890](https://bugzilla.mozilla.org/show_bug.cgi?id=1267890 ).
Source-Repo: https://github.com/servo/servo
Source-Revision: 42a3c1631c27dde2d845338ccf80e0fb1b3cf9bf
2017-12-08 18:49:39 -06:00
Emilio Cobos Álvarez
8b19026685
servo: Merge #19497 - style: Add internal overflow-clip-box-block/-inline properties and make overflow-clip-box a shorthand (from emilio:overflow-clip-box); r=emilio,nox
...
These are the changes from bug 1422839. First commit is reviewed by me, the second is a fixup to that.
Source-Repo: https://github.com/servo/servo
Source-Revision: 479847d8b906654b34aeddb09c7e89a3b3beb99c
2017-12-05 12:43:45 -06:00
Boris Chiou
a8d00e225f
servo: Merge #19491 - stylo: Implement FontFaceSet and Font Descriptors parsers (from BorisChiou:stylo/fontface/parser); r=heycam
...
This is the inter-dependent patches for Bug 1408303. We implement the FFI for the
parsers of font descriptors and FontFaceSet APIs.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1408303](https://bugzilla.mozilla.org/show_bug.cgi?id=1408303 ).
- [X] These changes do not require tests because this is for Gecko and we have tests there.
Source-Repo: https://github.com/servo/servo
Source-Revision: 3029f83b0d0654ccb3942722171f5b3d01400e4a
2017-12-05 08:09:35 -06:00
Emilio Cobos Álvarez
fae44dea6c
servo: Merge #19493 - style: Some stylo-chrome perf tweaks (from emilio:chrome-perf); r=xidorn,Manishearth
...
Source-Repo: https://github.com/servo/servo
Source-Revision: 8f30880d362ef54a2c6881c4927b96303ff763ef
2017-12-05 06:05:25 -06:00
Cameron McCormack
0bea9f8321
servo: Merge #19490 - allow Gecko FFI functions for color parsing to report errors (from heycam:canvas-color); r=Aethanyc
...
This is the Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420026 .
Source-Repo: https://github.com/servo/servo
Source-Revision: e5637770086be7ef69f44c6eb7c9a621fa577d96
2017-12-04 23:32:15 -06:00
Cameron McCormack
6c4309ce4e
servo: Merge #19489 - add FFI functions for Gecko @counter-style value parsing (from heycam:counter-parse-2); r=upsuper
...
Trying to land #19441 again.
Source-Repo: https://github.com/servo/servo
Source-Revision: 5bfab782ec862189209931e424fbd4325b8f9172
2017-12-04 21:22:50 -06:00
Andreea Pavel
36079b6052
Backed out 1 changesets because the gecko part (bug 1420117) has to be backed out for the mochitests r=backout on a CLOSED TREE
...
Backed out changeset baada68cad47
2017-12-05 02:15:45 +02:00
Cameron McCormack
e722173999
servo: Merge #19441 - add FFI functions for Gecko @counter-style value parsing (from heycam:counter-parse); r=upsuper
...
Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420117 , reviewed there by Xidorn.
Source-Repo: https://github.com/servo/servo
Source-Revision: 221d72a81ed9300e260d33d2d2d6557b5a118fac
2017-12-04 14:36:32 -06:00
Ting-Yu Lin
746a6aefca
servo: Merge #19436 - style: Support 'shape-image-threshold' property (from aethanyc:shape-image-threshold); r=heycam
...
This has been reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1265343
Source-Repo: https://github.com/servo/servo
Source-Revision: d198caa9ff9fc4e7210085576df189b7fbf56374
2017-12-02 10:03:16 -06:00
Ting-Yu Lin
c3beaea8b2
servo: Merge #19415 - style: Support shape-image: <image> (from aethanyc:shape-image); r=heycam
...
This was reviewed in nhttps://bugzilla.mozilla.org/show_bug.cgi?id=1418224
Reland #19376
Source-Repo: https://github.com/servo/servo
Source-Revision: 1f30196a3721290a6e3b4c59f8f2d51284413f06
2017-11-28 21:34:16 -06:00
Boris Chiou
e402464a2e
servo: Merge #19388 - stylo: Implement Servo_ParseTransformIntoMatrix (from BorisChiou:stylo/dommatrix/parser); r=emilio,heycam
...
This is an inter-dependent patch of Bug 1408310.
DOMMatrix needs to convert a specified transform list into a matrix, so we rewrite
to_transform_3d_matrix by generics for both specified and computed transform lists.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix [Bug 1408310](https://bugzilla.mozilla.org/show_bug.cgi?id=1408310 ).
- [X] These changes do not require tests because we can count on the wpt tests for DOMMatrix on Gecko side.
Source-Repo: https://github.com/servo/servo
Source-Revision: 823da9e34aacca750942c0fb53a29d6ca16c394d
2017-11-27 20:13:34 -06:00
Csoregi Natalia
58f353dccd
Backed out changeset 077ce85c466b for failing devtools webconsole/test/browser_webconsole_bug_595934_message_categories.js on Windows 7 debug without e10s. r=backout on a CLOSED TREE
2017-11-26 13:01:43 +02:00
Csoregi Natalia
d217b10a6e
Backed out changeset 1fdcd69d2524 for Build Bustage. r=backout on a CLOSED TREE
2017-11-26 12:59:10 +02:00
Ting-Yu Lin
0cd09ee7a8
servo: Merge #19376 - style: Support shape-image: <image> (from aethanyc:shape-image); r=heycam
...
This is reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1404222
Source-Repo: https://github.com/servo/servo
Source-Revision: 286ac51c0727c43239c782d9fc4759f0c0d4690b
2017-11-26 03:30:39 -06:00
Cameron McCormack
cbab7e1c11
servo: Merge #19374 - geckolib: Return from Servo_ComputeColor whether the value was currentcolor (from heycam:compute-color); r=TYLin
...
Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1420026 , reviewed there by TYLin.
Source-Repo: https://github.com/servo/servo
Source-Revision: b8b5c5371f66a95da9ffb238cba2c549f4c85f59
2017-11-25 21:25:16 -06:00
Hiroyuki Ikezoe
8ff32454f6
servo: Merge #19331 - Resolve base style for pseudo (from hiikezoe:resolve-base-style-for-pseudo); r=emilio
...
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1418867
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
Source-Repo: https://github.com/servo/servo
Source-Revision: a6ce817045b293b2898aca4d393c6b744955e730
2017-11-21 22:16:58 -06:00
Cameron McCormack
f081ae7879
servo: Merge #19313 - style: Update layer filling function call in Gecko glue (from heycam:layer-filling); r=CJKu
...
This is the (small) Servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1418899 , reviewed there by CJKu.
Source-Repo: https://github.com/servo/servo
Source-Revision: bdb2cacad9036f1ff6ef452fffe4a50339ec721d
2017-11-21 00:19:00 -06:00