aboutsummaryrefslogtreecommitdiffstats
path: root/components
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #16962 - hiikezoe:prefixed-intrinsic-size-value, r=Manishearthselectors-v0.18.0bors-servo2017-05-2210-219/+223
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Prefixed intrinsic size value <!-- Please describe your changes on the following line: --> This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1355402 - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #16788 - [X] These changes do not require tests because it's for stylo <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16962) <!-- Reviewable:end -->
| * Support prefixed intrinsic size value for flex-basis.Hiroyuki Ikezoe2017-05-213-13/+35
| | | | | | | | auto() and zero() are used in the parser for flex shorthand property.
| * Support prefixed intrinsic size value for {width,height,{inline,block}-size}}.Hiroyuki Ikezoe2017-05-212-100/+13
| |
| * Factor out implemantations for {min,max} size properties as a macro.Hiroyuki Ikezoe2017-05-212-0/+94
| |
| * Rename MinLength to MozLength.Hiroyuki Ikezoe2017-05-218-58/+59
| | | | | | | | So that we can reuse this for non-min-prefixed properties (e.g. width).
| * Combine LengthOrPercentage and Auto into LengthOrPercentageOrAuto for ↵Hiroyuki Ikezoe2017-05-215-80/+54
| | | | | | | | {Min,Max}Length.
* | Auto merge of #16959 - hiikezoe:font-serialization-for-canvas, ↵bors-servo2017-05-215-48/+105
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=Manishearth,emilio Font serialization for canvas <!-- Please describe your changes on the following line: --> This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1362914 --- <!-- 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 - [X] These changes do not require tests because it's for stylo <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16959) <!-- Reviewable:end -->
| * | Update bindings.Hiroyuki Ikezoe2017-05-223-4/+9
| | |
| * | Drop initial values of properties other than font-size and font-family in ↵Hiroyuki Ikezoe2017-05-221-38/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | serialization of canvas font attribute. According to the canvas spec [1], we must drop initial values other than font-size and font-family when we serialize canvas font attribute. As for font-size and font-family, the default values, '10px sans-serif' [2] are not dropped at all. [1] https://html.spec.whatwg.org/multipage/scripting.html#dom-context-2d-font [2] https://html.spec.whatwg.org/multipage/scripting.html#canvastextdrawingstyles
| * | Factor out PropertyDeclaration only iterator.Hiroyuki Ikezoe2017-05-221-6/+28
| | |
* | | Auto merge of #16958 - kvark:no-batch, r=jdmbors-servo2017-05-212-0/+11
|\ \ \ | |/ / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -Z wr-no-batch option <!-- Please describe your changes on the following line: --> This new debug option exposes https://github.com/servo/webrender/pull/1186 --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [x] These changes do not require tests because _____ it's a debug option <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16958) <!-- Reviewable:end -->
| * | -Z wr-no-batch optionDzmitry Malyshau2017-05-192-0/+11
| | |
* | | Auto merge of #16988 - emilio:backout, r=emiliobors-servo2017-05-216-75/+26
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Revert "Auto merge of #16976 - upsuper:bug1366247, r=nox" for breaking the world. This reverts commit 3d40b516c8ac6e946cadace2378581cbac7b1e1b, reversing changes made to 255387a915ef83db6b11d976f89c10b518c97487. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16988) <!-- Reviewable:end -->
| * | | Revert "Auto merge of #16976 - upsuper:bug1366247, r=nox"Emilio Cobos Álvarez2017-05-216-75/+26
| | | | | | | | | | | | | | | | | | | | This reverts commit 3d40b516c8ac6e946cadace2378581cbac7b1e1b, reversing changes made to 255387a915ef83db6b11d976f89c10b518c97487.
* | | | Auto merge of #16956 - mbrubeck:cleanup, r=Manishearthbors-servo2017-05-211-13/+10
|\ \ \ \ | |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stylo: Use correct counts when copying from image layers. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes do not require tests because they are code cleanup. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16956) <!-- Reviewable:end -->
| * | | Bug 1365370 - stylo: Use correct counts when copying from image layers.Matt Brubeck2017-05-191-13/+10
| | | |
* | | | Auto merge of #16984 - emilio:lop-parsing-mode, r=canaltinovabors-servo2017-05-211-5/+12
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 1365629: Respect parsing mode in LengthOrPercentage. r=canaltinova <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16984) <!-- Reviewable:end -->
| * | | | Bug 1365629: Respect parsing mode in LengthOrPercentage. r=canaltinovaEmilio Cobos Álvarez2017-05-211-5/+12
| | | | |
* | | | | Auto merge of #16973 - servo:derive-all-the-things, r=emiliobors-servo2017-05-2119-448/+267
|\ \ \ \ \ | |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Derive ToComputedValue <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16973) <!-- Reviewable:end -->
| * | | | Derive ToComputedValueAnthony Ramine2017-05-217-422/+247
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For now, only impls for types like in style::values::generics can be derived. This also needed a few ToComputedValueAsSpecified impls that I would like to replace by some #[to_computed_value(clone)] attribute, but I think it is ok to keep it like this for now.
| * | | | Silence a warning in servo_geometryAnthony Ramine2017-05-201-1/+0
| | | | |
| * | | | Remove style::values::HasViewportPercentage reexportAnthony Ramine2017-05-2014-25/+20
| | | | |
* | | | | Auto merge of #16976 - upsuper:bug1366247, r=noxbors-servo2017-05-216-26/+75
|\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add sugar for already_AddRefed This is Servo side change of [bug 1366247](https://bugzilla.mozilla.org/show_bug.cgi?id=1366247). <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16976) <!-- Reviewable:end -->
| * | | | | Update binding file.Xidorn Quan2017-05-211-3/+4
| | | | | |
| * | | | | Add sugar for already_AddRefed and use it for conversion between Atom and ↵Xidorn Quan2017-05-215-23/+71
| | | | | | | | | | | | | | | | | | | | | | | | nsIAtom pointer.
* | | | | | Auto merge of #16945 - hiikezoe:update-css-animations-by-css-rule-changes, ↵bors-servo2017-05-214-1140/+859
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | r=birtles,heycam Update css animations by css rule changes <!-- Please describe your changes on the following line: --> This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1364799 - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because it's for stylo <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16945) <!-- Reviewable:end -->
| * | | | | | Update bindings.Hiroyuki Ikezoe2017-05-212-1138/+844
| | | | | | |
| * | | | | | Create a SequentialTask for updating CSS animations in the case where the ↵Hiroyuki Ikezoe2017-05-211-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | traversal is triggered by CSS rule changes.
| * | | | | | Add a new TraversalRestyleBehavior that represents the traversal is ↵Hiroyuki Ikezoe2017-05-211-0/+9
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | triggered by CSS rule changes. And propagate the new flag to servo if mRestyleForCSSRuleChanges is set.
* | | | | | Auto merge of #16971 - bholley:fix_parallelism, r=emiliobors-servo2017-05-212-36/+155
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Rewrite parallel.rs https://bugzilla.mozilla.org/show_bug.cgi?id=1366347 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16971) <!-- Reviewable:end -->
| * | | | | Rewrite parallel.rs to be not slow.Bobby Holley2017-05-212-36/+155
| | | | | |
* | | | | | Auto merge of #16975 - emilio:bindgenupagain, r=upsuperbors-servo2017-05-205-2827/+10706
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Bump bindgen version. This should fix bug 1365488, and also the template instantiation test noise reported at https://github.com/servo/rust-bindgen/issues/619. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16975) <!-- Reviewable:end -->
| * | | | | style: Bump bindgen version.Emilio Cobos Álvarez2017-05-215-2827/+10706
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This should fix bug 1365488, and also the template instantiation test noise reported at https://github.com/servo/rust-bindgen/issues/619.
* | | | | | Auto merge of #16972 - emilio:sanity-is-important-most-of-the-time, r=bholleybors-servo2017-05-206-499/+585
|\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Move all the style sharing code outside matching.rs This is just a code health change. I want to move it away to keep matching.rs as simple as possible. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16972) <!-- Reviewable:end -->
| * | | | | | style: Move all the style sharing code outside matching.rsEmilio Cobos Álvarez2017-05-216-499/+585
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | This is just a code health change. I want to move it away to keep matching.rs as simple as possible.
* | | | | | Auto merge of #16950 - servo:warn, r=noxbors-servo2017-05-201-0/+1
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix warning in a future compiler version. (Do not upgrade yet because of https://github.com/rust-lang/rust/issues/42101) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16950) <!-- Reviewable:end -->
| * | | | | Fix warning in a future compiler version.Simon Sapin2017-05-191-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | (Do not upgrade yet because of https://github.com/rust-lang/rust/issues/42101)
* | | | | | Auto merge of #16943 - emilio:bloom-restyle-hints, r=bholleybors-servo2017-05-205-43/+115
|\ \ \ \ \ \ | |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Make a bloom filter arrive to restyle hint computation. <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16943) <!-- Reviewable:end -->
| * | | | | style: Make a bloom filter arrive to restyle hint computation.Emilio Cobos Álvarez2017-05-214-38/+107
| | | | | |
| * | | | | style: Use a SmallVec for common ancestors in the bloom filter.Emilio Cobos Álvarez2017-05-211-5/+8
| | | | | |
* | | | | | Auto merge of #16933 - MortimerGoro:mutation_children, r=jdmbors-servo2017-05-204-17/+112
|\ \ \ \ \ \ | |/ / / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Implement MutationObserver childList mutations. <!-- Please describe your changes on the following line: --> Implement MutationObserver childList mutations --- <!-- 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 - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16933) <!-- Reviewable:end -->
| * | | | | Implement MutationObserver childList mutations.Imanol Fernandez2017-05-194-17/+112
| | | | | |
* | | | | | Auto merge of #16967 - emilio:after, r=heycam,emiliobors-servo2017-05-2013-222/+684
|\ \ \ \ \ \ | |_|_|/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bug 1366144: Correctly diff ::before and ::after pseudo-element styles if there's no generated content. r=heycam <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16967) <!-- Reviewable:end -->
| * | | | | style: Generate RestyleHints to selector match at specific descendant depths.Cameron McCormack2017-05-201-18/+49
| | | | | |
| * | | | | style: Record in RestyleHints how far down the tree selector matching must ↵Cameron McCormack2017-05-201-34/+100
| | | | | | | | | | | | | | | | | | | | | | | | be re-run.
| * | | | | style: Refactor RestyleHint to be a struct.Cameron McCormack2017-05-207-106/+289
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Later PRs will add additional data to it that is not so easy to represent using bitflags.
| * | | | | style: List the matched rules with trace-level logging is enabled.Cameron McCormack2017-05-201-4/+17
| | | | | |
| * | | | | style: Use RestyleDamage to determine whether we must continue cascading ↵Cameron McCormack2017-05-205-109/+221
| | | | | | | | | | | | | | | | | | | | | | | | style changes to children.
| * | | | | style: Add an outparam to Gecko_CalcStyleDifference that returns whether any ↵Cameron McCormack2017-05-202-2/+5
| | | | | | | | | | | | | | | | | | | | | | | | style data changed.
| * | | | | Bug 1366144: Correctly diff ::before and ::after pseudo-element styles if ↵Emilio Cobos Álvarez2017-05-203-22/+76
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | there's no generated content. r=heycam MozReview-Commit-ID: BHSxMJd0G0O Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>