commit_hash
stringlengths
40
40
author
stringlengths
1
57
date
timestamp[s]date
2010-07-26 04:45:09
2026-04-14 18:21:10
message
stringlengths
8
1.39M
diff
stringlengths
68
51.2k
files_changed
int64
1
136
insertions
int64
0
2.35k
deletions
int64
0
1.9k
fc78bc1f8ad8dac1cb3a8f31e3b406cece6c77b0
Boris Chiou
2017-04-27T04:31:17
servo: Merge #16626 - Implement frames timing function (from BorisChiou:animation/timing_function/frames); r=emilio A frames timing function is a type of timing function that divides the input time into a specified number of intervals of equal length, each of which is associated with an output progress value of increa...
diff --git a/style/animation.rs b/style/animation.rs index 16c7dab36..6eae69e81 100644 --- a/style/animation.rs +++ b/style/animation.rs @@ -352,6 +352,22 @@ impl PropertyAnimation { TransitionTimingFunction::Steps(steps, StartEnd::End) => { (time * (steps as f64)).floor() / (steps as f64)...
4
65
5
e5efd0a177c7412b8435ceef4bb2d483ef4587e3
cku
2017-04-26T17:39:57
servo: Merge #16620 - Bug 1341703 - Support border-image with url() (from CJKu:bug-1341703); r=heycam,manishearth Bug 1341703 - Support border-image with url() <!-- Please describe your changes on the following line: --> Gecko 1341703 should be land immediately after this PR been merged. --- <!-- Thank you for contr...
diff --git a/style/gecko/conversions.rs b/style/gecko/conversions.rs index 42c146f71..631e5abb1 100644 --- a/style/gecko/conversions.rs +++ b/style/gecko/conversions.rs @@ -101,12 +101,12 @@ impl From<nsStyleCoord_CalcValue> for LengthOrPercentage { impl nsStyleImage { /// Set a given Servo `Image` value into t...
2
7
10
463518092a19cba51dd71a9f332d396a6208921e
Anthony Ramine
2017-04-26T16:30:36
servo: Merge #16619 - Update rustc to 1.18.0-nightly (b0a4074c5 2017-04-26) (from servo:rustup); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 74656f4ff0500112e8faf4325981f622a0bacc14
diff --git a/script_plugins/unrooted_must_root.rs b/script_plugins/unrooted_must_root.rs index d86921131..844eb9b87 100644 --- a/script_plugins/unrooted_must_root.rs +++ b/script_plugins/unrooted_must_root.rs @@ -95,7 +95,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnrootedPass { if item.attrs.iter().all(|a...
1
3
3
1057f9291f407f3b68f0d2caf33a25166deb8542
Boris Chiou
2017-04-26T14:33:08
servo: Merge #16614 - stylo: Bug 1357357 - Make the parser of transition-property match the spec (from BorisChiou:stylo/transition/transition_property); r=emilio These are interdependent patches of Bug 1357357. We add one more arm, TransitionProperty::Unsupported, which stores the string of non-animatable, custom, or ...
diff --git a/style/animation.rs b/style/animation.rs index 2229d4855..16c7dab36 100644 --- a/style/animation.rs +++ b/style/animation.rs @@ -272,9 +272,13 @@ impl PropertyAnimation { let timing_function = box_style.transition_timing_function_mod(transition_index); let duration = box_style.transition_d...
10
103
37
8cea6dc5b243f4a0c8daa2b7068757a5801ca432
Emilio Cobos Álvarez
2017-04-26T13:59:33
servo: Merge #16618 - script: Ensure we don't suppress reflows when stylesheets are dirty (from emilio:dirty-doc); r=nox I suspect this will prevent some intermittentness in #16617 Source-Repo: https://github.com/servo/servo Source-Revision: 4e70e10ed15d4e6a7b7d0ed1e48135cdb941692a
diff --git a/script/dom/document.rs b/script/dom/document.rs index f5ffd9739..ab124ba17 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -492,6 +492,7 @@ impl Document { // FIXME: This should check the dirty bit on the document, // not the document element. Needs some layout changes...
1
1
0
95e92b30217ff46e471e7fb5db9d6a9e2af46a58
Glenn Watson
2017-04-26T12:56:32
servo: Merge #16612 - Update WR (groove/ridge borders, mix-blend-mode opts) (from glennw:update-wr-groove-ridge-2); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: c1b347794cc9812bf608fdc267c4c0e4ef5ef968
diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs index 92012d71c..723e33287 100644 --- a/layout/webrender_helpers.rs +++ b/layout/webrender_helpers.rs @@ -416,7 +416,6 @@ impl WebRenderDisplayItemConverter for DisplayItem { builder.push_stacking_context(stacking_context.scroll_p...
2
4
4
8e119e72e32a7f3862fdd0788261ef775f5d95a2
Hiroyuki Ikezoe
2017-04-26T11:28:26
servo: Merge #16615 - Fix overflow in ::nth-child() (from hiikezoe:fix-overflow); r=SimonSapin <!-- Please describe your changes on the following line: --> This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1358754 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the ste...
diff --git a/selectors/matching.rs b/selectors/matching.rs index 24e3345d2..ada150890 100644 --- a/selectors/matching.rs +++ b/selectors/matching.rs @@ -407,7 +407,7 @@ fn matches_generic_nth_child<E, F>(element: &E, HAS_SLOW_SELECTOR_LATER_SIBLINGS }); - let mut index = 1; + let mut index: i32 = ...
1
8
6
2835f8e77fd8376a5688e9458389a8dd517263a4
Brian Birtles
2017-04-26T06:47:00
servo: Merge #16613 - Clear animation-only dirty descendants bit on display:none descendants (from birtles:clear-animation-dirty-bit); r=hiikezoe PR for [Gecko bug 1359658](https://bugzilla.mozilla.org/show_bug.cgi?id=1359658) When an element has a display:none ancestor we don't traverse it during restyle. However, a...
diff --git a/style/traversal.rs b/style/traversal.rs index 3a5c649f9..e9f4e7c27 100644 --- a/style/traversal.rs +++ b/style/traversal.rs @@ -537,7 +537,10 @@ pub fn resolve_style<E, F, G, H>(context: &mut StyleContext<E>, element: E, if !in_doc || display_none_root.is_some() { let mut curr = element; ...
1
8
2
8a3c29af2da4c0cbd8b50dc58f36f36fe0f2b202
Manish Goregaokar
2017-04-26T02:31:14
servo: Merge #16611 - stylo: Add support for -moz-control-character-visibility (from Manishearth:stylo-controlchar); r=heycam Source-Repo: https://github.com/servo/servo Source-Revision: 5daf92dd5a33599fab399ce7432fb62a6aa4e554
diff --git a/style/properties/longhand/inherited_text.mako.rs b/style/properties/longhand/inherited_text.mako.rs index e40791293..57385c982 100644 --- a/style/properties/longhand/inherited_text.mako.rs +++ b/style/properties/longhand/inherited_text.mako.rs @@ -1265,3 +1265,11 @@ ${helpers.single_keyword("text-rendering...
1
8
0
b5e40259c18aa0101f890a62c85edf83bfd1325c
Emilio Cobos Álvarez
2017-04-26T01:31:00
servo: Merge #16608 - style: Move all the fixup code into a StyleAdjuster struct (from emilio:refactor-fixup); r=jryans This will allow reusing it from text styles, which we need for some corner cases, like text-align: -moz-center and similar stuff. Source-Repo: https://github.com/servo/servo Source-Revision: 09f0ff7...
diff --git a/style/lib.rs b/style/lib.rs index ec77062a5..74f5cc5d4 100644 --- a/style/lib.rs +++ b/style/lib.rs @@ -116,6 +116,7 @@ pub mod stylist; pub mod sequential; pub mod sink; pub mod str; +pub mod style_adjuster; pub mod stylesheet_set; pub mod stylesheets; pub mod supports; diff --git a/style/properties...
5
356
208
c0ea46f8615dc54770eea43cae38eb55d49f5ed5
Bobby Holley
2017-04-25T22:43:48
servo: Merge #16606 - Downgrade selectors not() behavior to level 3 (from bholley:not_selector_level_3); r=SimonSapin https://bugzilla.mozilla.org/show_bug.cgi?id=1348802 Source-Repo: https://github.com/servo/servo Source-Revision: 9059c1d1fddefb8f48b3e568427c9cffb8371fa3
diff --git a/selectors/matching.rs b/selectors/matching.rs index 27aebeb54..24e3345d2 100644 --- a/selectors/matching.rs +++ b/selectors/matching.rs @@ -385,15 +385,7 @@ fn matches_simple_selector<E, F>( matches_generic_nth_child(element, 0, 1, true, true, flags_setter) } Component::Negat...
2
111
80
a8061469f98e1486db72056b7617937c09cdd27b
Manish Goregaokar
2017-04-25T20:59:13
servo: Merge #16597 - stylo: support all overflow values (from Manishearth:stylo-overflow); r=emilio overflow:clip doesn't exist, it's just called clip internally. Renamed, and added the other missing values. I also removed the overflow newtype -- no need for extra code bloat, and it's not protecting us from much. S...
diff --git a/layout/block.rs b/layout/block.rs index 7bbeb7a79..297bfcdc6 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -53,7 +53,7 @@ use servo_geometry::max_rect; use std::cmp::{max, min}; use std::fmt; use std::sync::Arc; -use style::computed_values::{border_collapse, box_sizing, display, float, overflow_...
9
54
68
fbd286cc9ba0c7e2cf7e49549b752856af36732d
Paul Rouget
2017-04-25T19:14:31
servo: Merge #15794 - Notify embedder when history changes (from paulrouget:head_parsed_url); r=asajeffrey Notify embedder when history changes `WindowMethods::set_page_url` is only called when the embedder set the URL. It is not called when the page url is updated. I believe that instead we should just pass the URL ...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index 96a44a7dc..eb2a964ac 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -481,10 +481,6 @@ impl<Window: WindowMethods> IOCompositor<Window> { self.change_page_title(pipeline_id, title); } - ...
4
87
39
4744ac2b501420a389ebb668a0072b70aac73b5a
Manish Goregaokar
2017-04-25T18:06:23
servo: Merge #16570 - Compute scriptminsize against the parent font base size (from Manishearth:scriptmin-parent); r=heycam It's supposed to be, because it is used in the computation of the font size, so we can't have the current font size as a dependency. http://searchfox.org/mozilla-central/rev/7aa21f3b531ddee90a35...
diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs index b3e166b05..6bdc67037 100644 --- a/style/properties/longhand/font.mako.rs +++ b/style/properties/longhand/font.mako.rs @@ -2157,16 +2157,56 @@ ${helpers.single_keyword("-moz-math-variant", internal="Tru...
1
42
2
28123f3b57709c8c774cb47b0de9c31bc8fd23ed
Manish Goregaokar
2017-04-25T03:03:12
servo: Merge #16596 - Handle length parsing mode for other types too (from Manishearth:length-parsing); r=heycam All length types should handle this. Seems to block a couple tests. try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=b1eb64509e65f9dc548d361ac2ae00ce000c9d7b Source-Repo: https://github.com/...
diff --git a/style/values/specified/length.rs b/style/values/specified/length.rs index 7897b7815..3181f5d67 100644 --- a/style/values/specified/length.rs +++ b/style/values/specified/length.rs @@ -1160,8 +1160,12 @@ impl LengthOrPercentage { NoCalcLength::parse_dimension(context, value.value, unit).map...
1
22
6
b9d00ecde257fd06800a64b0ca63735a4776bc71
Simon Sapin
2017-04-24T23:47:00
servo: Merge #16589 - Update to cssparser 0.13 (from servo:cssparserup); r=emilio https://github.com/servo/rust-cssparser/pull/140 Source-Repo: https://github.com/servo/servo Source-Revision: e3e10ada09cf98df776d560d363fa70fcabfb64f
diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml index aef669412..e24510fec 100644 --- a/canvas/Cargo.toml +++ b/canvas/Cargo.toml @@ -12,7 +12,7 @@ path = "lib.rs" [dependencies] azure = {git = "https://github.com/servo/rust-azure"} canvas_traits = {path = "../canvas_traits"} -cssparser = "0.12.1" +cssparser = "0...
10
10
10
c4a9efa50d490f8f692dc5eca6aa88a9bfa5fef4
Emilio Cobos Álvarez
2017-04-24T17:34:08
servo: Merge #16595 - stylo: Fix a serialization bug for string pseudos (from emilio:strings-are-hard); r=Manishearth The string is null-terminated, so we need to avoid passing that last null character. Source-Repo: https://github.com/servo/servo Source-Revision: 8efa680774209bfe557d270795b2dfe0daa51751
diff --git a/style/gecko/selector_parser.rs b/style/gecko/selector_parser.rs index e87336669..95b7ab82a 100644 --- a/style/gecko/selector_parser.rs +++ b/style/gecko/selector_parser.rs @@ -235,8 +235,12 @@ impl ToCss for NonTSPseudoClass { $(NonTSPseudoClass::$s_name(ref s) => { ...
1
5
1
804cadb58cb5199acd3693157dbde45e778bbe3a
ddh
2017-04-24T13:54:07
servo: Merge #16592 - added origin to globalscope (from avadacatavra:globalscope); r=jdm <!-- Please describe your changes on the following line: --> Replaces #16561 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> ...
diff --git a/script/dom/dissimilaroriginlocation.rs b/script/dom/dissimilaroriginlocation.rs index b4cd2d84e..d3aec5c90 100644 --- a/script/dom/dissimilaroriginlocation.rs +++ b/script/dom/dissimilaroriginlocation.rs @@ -12,6 +12,7 @@ use dom::bindings::str::DOMString; use dom::bindings::str::USVString; use dom::diss...
8
44
8
167bfd94c2401421acbe62c1c1c1e5a81741aca4
Simon Sapin
2017-04-24T10:05:51
servo: Merge #16585 - Don’t log CSS parsing errors in user-agent stylesheets (from servo:log); r=emilio This used to make `RUST_LOG=style` basically useless. Source-Repo: https://github.com/servo/servo Source-Revision: fd7af58becbcee8facfc07c5f9d028bb9c86c3a0
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index c7f347175..c17d3bd9b 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -110,7 +110,7 @@ use style::context::{QuirksMode, ReflowGoal, SharedStyleContext}; use style::context::{StyleSystemOptions, ThreadLocalStyleContextCreationInfo}; use styl...
7
39
34
08fbdc3753874274b9768afdf0e054885436e639
石博文
2017-04-24T09:16:18
servo: Merge #16541 - Add calc method for CalcLengthOrPercentage (from sbwtw:fix_calc_behavior); r=stshine * Add calc method to calculate formula value with parent size * Add unit test case <!-- Please describe your changes on the following line: --> Please see this issue: https://github.com/servo/servo/issues/15986 ...
diff --git a/layout/block.rs b/layout/block.rs index db74ab640..7bbeb7a79 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -325,22 +325,20 @@ impl CandidateBSizeIterator { (LengthOrPercentageOrAuto::Percentage(percent), Some(block_container_block_size)) => { MaybeAuto::Specified(block...
4
34
23
f17214b7671f97263eaee798f9a55da11e108593
Hiroyuki Ikezoe
2017-04-24T02:41:24
servo: Merge #16580 - Fix parent element of pseudo element for updating animation (from hiikezoe:fix-pseudo-parent-for-animation); r=emilio r? @emilio Source-Repo: https://github.com/servo/servo Source-Revision: 733820583e41778b8e30faa4ba120ab0b0390073
diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs index 8ac1ac48d..bde69979b 100644 --- a/style/gecko/wrapper.rs +++ b/style/gecko/wrapper.rs @@ -683,7 +683,7 @@ impl<'le> TElement for GeckoElement<'le> { *HasArcFFI::arc_as_borrowed(v) ); - let parent_element = if pseudo.is_som...
1
1
1
9c6435d5a546cf8c36ce8660f5bea0c04dc086e0
Mantaroh Yoshinaga
2017-04-23T23:59:20
servo: Merge #16555 - Make clip property animatable (from mantaroh:animate_clip); r=hiro <!-- Please describe your changes on the following line: --> This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1356162. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is ...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index aae2b58b6..9ab78fa0b 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -2994,6 +2994,50 @@ fn static_assert() { self.gecko.mClipFlags = other.gecko.mClipFlags; } + pub fn clone_clip(&s...
2
45
2
d63a124b402c5cdffd288a7f9d9569f756139235
Glenn Watson
2017-04-23T22:50:08
servo: Merge #16551 - Update WR (improved double border quality, minor API changes) (from glennw:update-wr-mostly-borders); r=jdm Source-Repo: https://github.com/servo/servo Source-Revision: 0f6c883658930006994b2738f059d050c037ffb9
diff --git a/gfx/platform/macos/font_template.rs b/gfx/platform/macos/font_template.rs index 3cd5fecdb..d731347d7 100644 --- a/gfx/platform/macos/font_template.rs +++ b/gfx/platform/macos/font_template.rs @@ -18,6 +18,7 @@ use std::fs::File; use std::io::{Read, Error as IoError}; use std::ops::Deref; use std::sync::...
2
7
4
34b48638824ef1936568e6b928c304e04a35ca8c
Bobby Holley
2017-04-23T19:45:29
servo: Merge #16578 - Fix up the style sharing cache (from bholley:fix_style_sharing_cache); r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1358694 Source-Repo: https://github.com/servo/servo Source-Revision: a26079d3229beefa90949a93e13ff374649374cc
diff --git a/selectors/matching.rs b/selectors/matching.rs index 83a094b63..27aebeb54 100644 --- a/selectors/matching.rs +++ b/selectors/matching.rs @@ -17,47 +17,24 @@ bitflags! { /// the selector matching process. /// /// This is used to implement efficient sharing. - pub flags StyleRelations: u16 {...
5
57
77
01952caf33dcd909775067b019e3ab837179ca33
Emilio Cobos Álvarez
2017-04-23T11:33:08
servo: Merge #16577 - style: Refactor overflow fixup to account for overflow: clip (from emilio:adjust-overflow); r=Wafflespeanut This is the missing piece to make the remaining contain tests not assert on Gecko. Source-Repo: https://github.com/servo/servo Source-Revision: c65dea95d7f8c8cfc1d88ca245d55d47128ab59a
diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs index 30ed8e3af..439829b8f 100644 --- a/style/properties/properties.mako.rs +++ b/style/properties/properties.mako.rs @@ -2436,33 +2436,55 @@ pub fn apply_declarations<'a, F, I>(device: &Device, use computed_values::overflow...
1
38
16
933128be30a5258b59949558707ca6ab55fecc06
Emilio Cobos Álvarez
2017-04-23T09:55:34
servo: Merge #16575 - style: trivially cleanup the matching code (from emilio:cleanup-matching); r=Wafflespeanut I'm reworking this, and found this cleanup that I think is worth to land. Source-Repo: https://github.com/servo/servo Source-Revision: dfe0f4c2019001a204b0d6ef91fe10a358e20ce7
diff --git a/style/matching.rs b/style/matching.rs index 0cc067759..fd92ae881 100644 --- a/style/matching.rs +++ b/style/matching.rs @@ -370,15 +370,18 @@ trait PrivateMatchMethods: TElement { font_metrics_provider: &FontMetricsProvider, rule_node: &StrongRuleNode, ...
1
62
55
d4446122b25944d6407320faae81ff7f9d690dfc
Jeremy Chen
2017-04-23T07:51:47
servo: Merge #16522 - Reset longhands of border-image to their initial value while parsing border shorthand (from chenpighead:stylo-border-reset-border-image); r=heycam To do so, we need to declare the border-image longhands as part of border shorthand and always reset them. Spec link: https://drafts.csswg.org/css-ba...
diff --git a/style/properties/shorthand/border.mako.rs b/style/properties/shorthand/border.mako.rs index 8441f5ce3..1ee9d3ff8 100644 --- a/style/properties/shorthand/border.mako.rs +++ b/style/properties/shorthand/border.mako.rs @@ -122,13 +122,18 @@ pub fn parse_border(context: &ParserContext, input: &mut Parser) ...
1
16
5
f710a0f08dfea9251e6b739ed28639d71d297b19
Pu Xingyu
2017-04-23T04:55:22
servo: Merge #16458 - layout: Force reflow in the sequential fallback of block format context (from stshine:sequential-fallback); r=pcwalton,emilio When reflowing a block format context during the inorder traversal, propagate restyle damage manually to its children since they were already reflowed. Also, test the bord...
diff --git a/layout/block.rs b/layout/block.rs index 9e28cf209..db74ab640 100644 --- a/layout/block.rs +++ b/layout/block.rs @@ -43,6 +43,7 @@ use flow_list::FlowList; use fragment::{CoordinateSystem, Fragment, FragmentBorderBoxIterator, Overflow}; use fragment::{IS_INLINE_FLEX_ITEM, IS_BLOCK_FLEX_ITEM}; use gfx_tra...
4
25
8
25bd97d8fe8266cbaf31496aec8413fca894f72b
Nathan Froyd
2017-04-22T23:40:47
servo: Merge #16550 - switch gecko_bindings over to the gecko_debug feature [DO NOT MERGE] (from froydnj:gecko-bindings-gecko-debug); r=froydnj ...so that they use the correct Gecko structs regardless of whether Rust code is being compiled with debug assertions or not. This is the second part of the Servo-side change...
diff --git a/style/Cargo.toml b/style/Cargo.toml index 4c42919be..06649f36e 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -20,7 +20,7 @@ servo = ["serde/unstable", "serde", "serde_derive", "heapsize", "heapsize_derive "cssparser/heapsize", "cssparser/serde", "encoding", "rayon/unstable", "...
5
8
6
de4cb5d073081d1f31fb7d9bc486846f8586ca00
Nazım Can Altınova
2017-04-22T21:58:24
servo: Merge #16467 - stylo: Add glue for contain property (from canaltinova:contain); r=emilio In gecko, `size` and `content` values aren't implemented yet. So I had to disable these parts with mako. We will need to update the property and the glue once these are implemented in gecko. --- <!-- Thank you for contribu...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index e61c99404..aae2b58b6 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -1743,7 +1743,7 @@ fn static_assert() { scroll-snap-points-x scroll-snap-points-y transform ...
3
110
20
a0cde5f8eccecaf93cadbb39a5c941274576f2ef
Anthony Ramine
2017-04-22T12:24:25
servo: Merge #16563 - Use all for the default value of transition-property in transition (from nox:transition); r=hiikezoe Source-Repo: https://github.com/servo/servo Source-Revision: 55e2caba4c3b71c6267c273c840cd21dd1388aa0
diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs index 023a8f719..9bb519368 100644 --- a/style/properties/longhand/box.mako.rs +++ b/style/properties/longhand/box.mako.rs @@ -749,6 +749,10 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto", Specifie...
2
10
3
9e0292fb5bfcf608068eccccb7b46fcd19dcd73c
Pu Xingyu
2017-04-22T03:43:06
servo: Merge #16337 - layout: Fix intrinsic inline size calculating of inline blocks (from stshine:inline-block-intrinsic); r=notriddle When calculating intrinsic inline sizes of an inline block, take its nested inline parents into account. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[...
diff --git a/layout/fragment.rs b/layout/fragment.rs index ee892b75f..e4aa4a9d5 100644 --- a/layout/fragment.rs +++ b/layout/fragment.rs @@ -1547,31 +1547,29 @@ impl Fragment { } }; - // Take borders and padding for parent inline fragments into account, if necessary. - if self.is_p...
1
22
24
8d5ca5e08ba8f72aa04358fcd301363bfe4aeb66
Bobby Holley
2017-04-22T00:30:48
servo: Merge #16567 - Avoid pointer-chasing to check whether there are any declarations (from bholley:any_declarations); r=SimonSapin https://bugzilla.mozilla.org/show_bug.cgi?id=1358375 Source-Repo: https://github.com/servo/servo Source-Revision: 2d3a7b2001ae2cef2fa751a65faba1091eff1a48
diff --git a/style/stylist.rs b/style/stylist.rs index b24ee89f3..934954a93 100644 --- a/style/stylist.rs +++ b/style/stylist.rs @@ -324,12 +324,11 @@ impl Stylist { self.element_map.borrow_for_origin(&stylesheet.origin) }; - map.insert(Rule...
1
63
36
92a9097fbc25c85a0f39414d921578cc7317411b
Imanol Fernandez
2017-04-21T20:52:13
servo: Merge #15773 - Android life cycle improvements and Gradle integration (from MortimerGoro:android_improvements); r=larsbergstrom,fabricedesre This PR includes Android life cycle Improvements and Gradle integration for android packaging. Android life cycle improvements are implemented in both the new [MainActivi...
diff --git a/config/Cargo.toml b/config/Cargo.toml index 4af91cab6..e8668a019 100644 --- a/config/Cargo.toml +++ b/config/Cargo.toml @@ -27,3 +27,6 @@ env_logger = "0.4" [target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")))'.dependencies] xdg = "2.0" + +[target.'cfg(t...
4
35
4
eaffe0358ea58d07eebf0d78768b4674f7e42e51
Anthony Ramine
2017-04-21T19:40:02
servo: Merge #16548 - Improve parsing of gradients (from nox:webkit-gradients); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: dcbb3c7eb98e88df9e6a3849eaee96094ee6abbe
diff --git a/style/values/specified/image.rs b/style/values/specified/image.rs index 0604b0592..501ef2948 100644 --- a/style/values/specified/image.rs +++ b/style/values/specified/image.rs @@ -147,23 +147,12 @@ impl ToCss for Gradient { impl Gradient { /// Parses a gradient from the given arguments. pub fn p...
1
133
106
61c7fe6dcc2e1a7a34f82c6f3c61fa8f0a2c5e15
Anthony Ramine
2017-04-21T19:03:43
servo: Merge #16558 - Properly parse alignment shorthands (fixes #16391) (from nox:placement); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: e9658bb5b4ab4897a015714201d76ebff6a8f7d9
diff --git a/style/properties/shorthand/position.mako.rs b/style/properties/shorthand/position.mako.rs index e65336527..bd43b4f21 100644 --- a/style/properties/shorthand/position.mako.rs +++ b/style/properties/shorthand/position.mako.rs @@ -249,8 +249,14 @@ pub fn parse_value(context: &ParserContext, input: &mut...
2
42
0
264b33cfce5269ee10003b931b071898c742afaa
Hiroyuki Ikezoe
2017-04-21T10:14:50
servo: Merge #16557 - Servo does not need to support -moz-keyframes (from hiikezoe:dont-support-moz-keyframes); r=SimonSapin <!-- Please describe your changes on the following line: --> In #16553 I did innocently add a support for @-moz-keyframes but as @SimonSapin pointed out, servo does not need to support -moz pref...
diff --git a/style/stylesheets.rs b/style/stylesheets.rs index 3cab9329a..8d2c59744 100644 --- a/style/stylesheets.rs +++ b/style/stylesheets.rs @@ -1131,6 +1131,11 @@ impl<'a, 'b> AtRuleParser for NestedRuleParser<'a, 'b> { } else { None }; + if cfg...
1
5
0
07e8a9682d40f8f031c1970c7c04e923c402c167
Boris Chiou
2017-04-21T05:52:13
servo: Merge #16554 - stylo: Bug 1332633 - Implement ComputeDistance trait (from BorisChiou:stylo/animation/compute_distance); r=emilio These patches implement ComputeDistance trait, so we can use it for SMIL animation and for testing test_transitions_per_property.html, which uses nsDOMWindowUtils::ComputeAnimationDis...
diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs index 2ea1f286d..603efb2b1 100644 --- a/style/gecko_bindings/bindings.rs +++ b/style/gecko_bindings/bindings.rs @@ -1753,6 +1753,13 @@ extern "C" { RawServoAnimationValueBorrowed) ...
8
740
11
1751fe99a42ccfd92dd4eb598767d4493a78cdf6
Hiroyuki Ikezoe
2017-04-21T05:17:06
servo: Merge #16553 - Support vendor prefix keyframes rule (from hiikezoe:vendor-prefix-keyframes); r=emilio If there are multiple prefixed/non-prefixed @keyframes with the same name; * non-prefixed rule overrides earlier rules. * prefixed rule overrides earlier prefixed rules. <!-- Please describe your changes on t...
diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs index ffa3c95ed..4aff56ee8 100644 --- a/style/gecko/media_queries.rs +++ b/style/gecko/media_queries.rs @@ -16,9 +16,9 @@ use gecko_bindings::structs::RawGeckoPresContextOwned; use media_queries::MediaType; use parser::ParserContext; use proper...
5
51
17
75df1b72e25651ebad27eb28f373f7c8a19484d9
Nathan Froyd
2017-04-20T20:14:25
servo: Merge #16545 - add the gecko_debug feature (from froydnj:moz-debug-feature); r=emilio add the moz_debug feature debug_assertions is not a reliable guide to whether Gecko C++ code is being compiled with debugging assertions, since we can now compile Gecko with --enable-optimize --disable-debug --enable-rust-deb...
diff --git a/style/Cargo.toml b/style/Cargo.toml index 6ea874090..4c42919be 100644 --- a/style/Cargo.toml +++ b/style/Cargo.toml @@ -20,6 +20,7 @@ servo = ["serde/unstable", "serde", "serde_derive", "heapsize", "heapsize_derive "cssparser/heapsize", "cssparser/serde", "encoding", "rayon/unstable", "...
1
1
0
5d21cb7188f1bc8f51c52f357a5640225f06263f
Anthony Ramine
2017-04-20T10:19:37
servo: Merge #16513 - Properly parse background-size in background longhand (fixes #15199) (from nox:background-slash-size); r=upsuper Source-Repo: https://github.com/servo/servo Source-Revision: 26fd65995dcaa543437ccfddb0f2693b6505e9f0
diff --git a/style/properties/longhand/background.mako.rs b/style/properties/longhand/background.mako.rs index 1b33d7dd0..994f70a0a 100644 --- a/style/properties/longhand/background.mako.rs +++ b/style/properties/longhand/background.mako.rs @@ -494,11 +494,9 @@ ${helpers.single_keyword("background-origin", let...
1
3
5
7ec90e7baf5da8057a0164e7bed56bd560abfc7a
Anthony Ramine
2017-04-20T09:27:33
servo: Merge #16511 - Implement -webkit-radial-gradient() (fixes #15441) (from nox:webkit-gradients); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 7f825d2119a480a64b103e1d60a2d469af98d3de
diff --git a/style/gecko/conversions.rs b/style/gecko/conversions.rs index 3531f35b9..0a14a5c34 100644 --- a/style/gecko/conversions.rs +++ b/style/gecko/conversions.rs @@ -207,16 +207,21 @@ impl nsStyleImage { gecko_gradient }, GradientKind::Radial(shape, position) => { + ...
2
121
61
9c33f8ac87e9596f26ccb721fd6b23e2a7801428
cu1t
2017-04-20T06:01:05
servo: Merge #16472 - Fix namespaces of elements created in XML documents (from cu1t:#14095-fix-xml-doc-namespaces); r=nox Correctly implement following step of [Dom Document Spec](https://dom.spec.whatwg.org/#dom-document-createelement): > Let namespace be the HTML namespace, if the context object is an HTML document...
diff --git a/script/dom/document.rs b/script/dom/document.rs index 940baaca3..425336fd6 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -2772,7 +2772,14 @@ impl DocumentMethods for Document { if self.is_html_document { local_name.make_ascii_lowercase(); } - let ...
1
8
1
93c97a5388de251da15e7c28e92cfbaf679189f7
Manish Goregaokar
2017-04-20T05:20:41
servo: Merge #16539 - stylo: Properly support -moz-script-size-multiplier, -moz-script-level, and -moz-script-min-size (from Manishearth:stylo-scriptminsize); r=heycam r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1355427 (copying over the relevant commit message so that it doesn't get lost in the vcssync) s...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index 619730687..87f5ad0d4 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -1352,11 +1352,170 @@ fn static_assert() { pub fn set_font_size(&mut self, v: longhands::font_size::computed_value::T) { ...
6
325
80
bb8c34b3b43ecaff8bc427280cf1c86ab99c60f6
KuoE0
2017-04-20T04:19:48
servo: Merge #16537 - Add `inline-axis` and `block-axis` aliases for `-moz-box-orient` (from KuoE0:add-inline-axis-and-block-axis-for-moz-box-orient); r=KuoE0 <!-- Please describe your changes on the following line: --> This issue is reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1355005. spec: https://dev...
diff --git a/style/properties/longhand/xul.mako.rs b/style/properties/longhand/xul.mako.rs index f37809dad..b59c36f00 100644 --- a/style/properties/longhand/xul.mako.rs +++ b/style/properties/longhand/xul.mako.rs @@ -31,6 +31,7 @@ ${helpers.predefined_type("-moz-box-flex", "Number", "0.0", "parse_non_negative" ${hel...
1
1
0
fd0bedc9e6047b6d34cd16fdd4fd63b50b423c1f
Boris Chiou
2017-04-20T03:44:42
servo: Merge #16536 - stylo: Change the animation_type of column-count to normal (from BorisChiou:stylo/animation/column_count); r=Manishearth According to PR #16494, column-count should be animatable, so we should change the animation_type to "normal". --- - [X] `./mach build -d` does not report any errors - [X] `./...
diff --git a/style/properties/longhand/column.mako.rs b/style/properties/longhand/column.mako.rs index 89766b4ae..fef81ca9a 100644 --- a/style/properties/longhand/column.mako.rs +++ b/style/properties/longhand/column.mako.rs @@ -23,7 +23,7 @@ ${helpers.predefined_type("column-count", parse_me...
1
1
1
f69bf5ae2049670c4f9b4cc46e696e684024fb4f
Martin Robinson
2017-04-19T22:01:58
servo: Merge #16529 - Create proper root ClipId when scrolling from script (from mrobinson:root-scroll); r=glennw WebRender currently makes a distinction between an external ClipId with id equal to 0 and the root scroll ClipId. We need to detect this situation and properly form the ClipId for the root. <!-- Please de...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index 981fc49e0..f76ee24b0 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -797,7 +797,12 @@ impl<Window: WindowMethods> IOCompositor<Window> { pipeline_id: PipelineId, ...
1
6
1
5410cbb25ff6051ddd323ff36518156abe157c2a
Boris Chiou
2017-04-19T12:35:09
servo: Merge #16527 - stylo: Bug 1353628 - Support shorthand properties for CSS Transition (from BorisChiou:stylo/transition/shorthands); r=emilio These patches add shorthand properties into TransitionProperty, so we can parse the shorthand properties properly and create transitions for them. --- - [X] `./mach build ...
diff --git a/style/animation.rs b/style/animation.rs index fc4a4bd1f..8db5ea223 100644 --- a/style/animation.rs +++ b/style/animation.rs @@ -272,6 +272,15 @@ impl PropertyAnimation { let timing_function = box_style.transition_timing_function_mod(transition_index); let duration = box_style.transition_d...
4
82
11
53b3efc9349837685b99a87c1dc3fc3ebc73afeb
Glenn Watson
2017-04-19T09:53:22
servo: Merge #16523 - Update WR (driver workaround, large clip mask fix, font index support) (from glennw:update-wr-drivers); r=metajack Source-Repo: https://github.com/servo/servo Source-Revision: 0a54d5a025a78ec4325639d6ffb1dfc1f0ac78ac
diff --git a/gfx/font_cache_thread.rs b/gfx/font_cache_thread.rs index 756d07448..088632595 100644 --- a/gfx/font_cache_thread.rs +++ b/gfx/font_cache_thread.rs @@ -348,9 +348,9 @@ impl FontCache { font_key = Some(*webrender_fonts.entry(template.identifier.clone()).or_insert_with(|| { let ...
1
2
2
1a6d12b81e9140c9caab3d4a32ebdb9a11b2c90e
Emilio Cobos Álvarez
2017-04-19T09:17:09
servo: Merge #16519 - dom/medialist: remove unused import (from emilio:unused-import); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 83130dcc9150dee962d00df7969ccf687313406e
diff --git a/script/dom/medialist.rs b/script/dom/medialist.rs index 134e3a3f2..881c17966 100644 --- a/script/dom/medialist.rs +++ b/script/dom/medialist.rs @@ -2,7 +2,6 @@ * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ -use core...
1
0
1
85525e19ca29929e88e52cd95187e5d7e02fd732
Emilio Cobos Álvarez
2017-04-19T08:41:08
servo: Merge #16516 - stylo: Centralize stylesheet handling (from emilio:stylesheet-handling); r=bholley This is needed for both bug 1357461 and bug 1273303, where I plan to add smarter invalidations than what we have now. Also, it's cleaner. Ideally I'll move this onto stylist, though that may require extra work to...
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index 9683afcbd..286d49484 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -1083,7 +1083,6 @@ impl LayoutThread { ua_or_user: &ua_or_user_guard, }; let mut extra_data = ExtraStyleData { - author_style_disa...
5
133
38
b7dc8b7e68bc302df415dd42a2f5ad06b0a9cf8d
coalman
2017-04-19T08:06:31
servo: Merge #16495 - Make tidy check that opening and closing braces that begin a line do … (from coalman:tidy-brace-alignment); r=emilio …so with proper alignment. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> ...
diff --git a/devtools/actors/network_event.rs b/devtools/actors/network_event.rs index 3d63a5ea6..d05d21cc8 100644 --- a/devtools/actors/network_event.rs +++ b/devtools/actors/network_event.rs @@ -365,7 +365,7 @@ impl NetworkEventActor { RawStatus(s, Cow::from(status_text)) }); self.respo...
17
43
43
635f7fe9928181dee4cf37300c1db30d080dc628
Bobby Holley
2017-04-19T07:32:18
servo: Merge #16521 - Store bloom filter hashes inline in the selector (from bholley:precompute_hashes); r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1357304 Source-Repo: https://github.com/servo/servo Source-Revision: b4bea83312abdceaf7fe142ba82a62c12ce9bd02
diff --git a/script/dom/element.rs b/script/dom/element.rs index 8baba9bb5..f5ed8bef3 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -86,7 +86,7 @@ use net_traits::request::CorsSettings; use ref_filter_map::ref_filter_map; use script_layout_interface::message::ReflowQueryType; use script_thread::R...
7
219
152
8ac29b13f5520fd382e0d2957f212a0dd8a81f5c
Anthony Ramine
2017-04-18T13:33:51
servo: Merge #16514 - Add extra pointer-events values for Gecko (fixes #16397) (from nox:pointer-events); r=upsuper Source-Repo: https://github.com/servo/servo Source-Revision: 7a7697897d373e05deed6810ea278169c28c4986
diff --git a/style/properties/longhand/pointing.mako.rs b/style/properties/longhand/pointing.mako.rs index d76072a5e..78f5809e5 100644 --- a/style/properties/longhand/pointing.mako.rs +++ b/style/properties/longhand/pointing.mako.rs @@ -148,6 +148,7 @@ // is nonstandard, slated for CSS4-UI. // TODO(pcwalton): SVG-onl...
1
1
0
8e415ca353cbb6010a50d1417a24221b4bb6c1ba
Pu Xingyu
2017-04-18T10:30:45
servo: Merge #16428 - layout: Floor to 0 when computing intrinsic sizes with box-sizing:border-box (from stshine:box-sizing); r=emilio <!-- Please describe your changes on the following line: --> Improves bitbucket. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is com...
diff --git a/layout/fragment.rs b/layout/fragment.rs index bf42f628f..b43cf1d23 100644 --- a/layout/fragment.rs +++ b/layout/fragment.rs @@ -937,7 +937,7 @@ impl Fragment { } if self.style.get_position().box_sizing == box_sizing::T::border_box { - specified -= border_padding +...
1
1
1
b0bba142393458915fcf0127dd22a0475e1e0960
Martin Robinson
2017-04-18T08:43:15
servo: Merge #16510 - Remove StackingContext::establishes_3d_context (from mrobinson:establishes-3d-context); r=jdm This member is now unused since WebRender is the only display backend. <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ...
diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs index 6c7242e11..4113193fc 100644 --- a/gfx/display_list/mod.rs +++ b/gfx/display_list/mod.rs @@ -373,9 +373,6 @@ pub struct StackingContext { /// The perspective matrix to be applied to children. pub perspective: Option<Matrix4D<f32>>, - ///...
2
4
15
5be0a26d484b1cca975ebe4b8c7ce8f81ddc2821
Glenn Watson
2017-04-17T22:18:23
servo: Merge #16502 - Update WR (IPC profiling, RG8 image support) (from glennw:update-wr-ipc); r=mbrubeck Source-Repo: https://github.com/servo/servo Source-Revision: 56435db820ad13d7fcb9acf9ce4fa84667234706
diff --git a/net/image_cache.rs b/net/image_cache.rs index 67d23f194..9dcbf331c 100644 --- a/net/image_cache.rs +++ b/net/image_cache.rs @@ -91,6 +91,7 @@ fn is_image_opaque(format: webrender_traits::ImageFormat, bytes: &[u8]) -> bool is_opaque } webrender_traits::ImageFormat::RGB8 => tru...
1
1
0
2445e5fd5633975544746ebc6c3aef705c14bcfc
Josh Matthews
2017-04-17T16:30:29
servo: Merge #16489 - Show HTTP response headers in debug output (from jdm:http-response); r=asajeffrey - [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 changing informative debug output. Source-Repo: https...
diff --git a/net/http_loader.rs b/net/http_loader.rs index a7a3e2137..b3b0f1d2d 100644 --- a/net/http_loader.rs +++ b/net/http_loader.rs @@ -1095,6 +1095,13 @@ fn http_network_fetch(request: &Request, Err(error) => return Response::network_error(error), }; + if log_enabled!(log::LogLevel::Info) { + ...
1
7
0
f14fad3b1741ac7c0e8c891b0b55ad85f4344093
Martin Robinson
2017-04-17T14:13:48
servo: Merge #16463 - Fix various issues with overflow clipping (from mrobinson:various-overflow-fixes); r=emilio When dealing absolutely positioned items, we should use clip of our containing block, even if our containing block doesn't itself establish a new overflow clip. Additionally, we need to properly handle ass...
diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs index ffdae0a28..9a4fb5bd9 100644 --- a/layout/display_list_builder.rs +++ b/layout/display_list_builder.rs @@ -92,6 +92,13 @@ fn convert_repeat_mode(from: RepeatKeyword) -> RepeatMode { } } +fn establishes_containing_block_for_absolut...
1
21
6
d2b36fb888ffda5cb0b15b87dad202c728ef66f5
bjorn3
2017-04-17T10:43:06
servo: Merge #16497 - Fix indentation of a `}` (from bjorn3:patch-1); r=nox <!-- Please describe your changes on the following line: --> Fix indentation of a `}` (see https://github.com/servo/servo/pull/16293/files/8dfef0416f8a67cd96087a75a9129b998469f7be#r111661247) --- <!-- Thank you for contributing to Servo! Plea...
diff --git a/script/dom/document.rs b/script/dom/document.rs index ee79d7105..940baaca3 100644 --- a/script/dom/document.rs +++ b/script/dom/document.rs @@ -2360,7 +2360,7 @@ impl Document { if attr.local_name() == &local_name!("width") || attr.local_name() == &local_name!("height") { ...
1
1
1
c920b55aa6a2109467824ac2398347fd4a3bb731
Boris Chiou
2017-04-17T10:07:23
servo: Merge #16496 - stylo: Bug 1341372 - Detect new transitions and let it run (from BorisChiou:stylo/transition/trigger); r=heycam These are interdependent patches of Bug 1341372. We let animation-only restyle also work for RESTYLE_CSS_TRANSITIONS, and check if we need to update transitions by each transition prope...
diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs index e4df1b77e..12d830e5f 100644 --- a/script/layout_wrapper.rs +++ b/script/layout_wrapper.rs @@ -468,6 +468,10 @@ impl<'le> TElement for ServoLayoutElement<'le> { fn has_css_animations(&self, _pseudo: Option<&PseudoElement>) -> bool { pan...
10
454
66
6087b39d663e03ff68d9aa5bebc26a4f3f699902
Mantaroh Yoshinaga
2017-04-17T08:26:57
servo: Merge #16494 - Make column-count/column-gap/column-width animatable (from mantaroh:animate_column); r=hiro <!-- Please describe your changes on the following line: --> This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1355732. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]`...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index 02e3ace6f..9d7e328f3 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -679,6 +679,7 @@ impl Debug for ${style_struct.gecko_struct_name} { "LengthOrPercentageOrAuto": impl_style_coord, ...
3
24
7
e523e1feaccba5b1b16919a77b432a10453579d2
Matthew
2017-04-17T02:02:06
servo: Merge #16347 - Removing recursion from ComplexSelector (from tictakk:ticbranch); r=emilio <!-- Please describe your changes on the following line: --> Using a smallvec instead of recursively calling to_css for ComplexSelector to handle running out of stack. --- <!-- Thank you for contributing to Servo! Please ...
diff --git a/selectors/Cargo.toml b/selectors/Cargo.toml index a71451303..4410ea922 100644 --- a/selectors/Cargo.toml +++ b/selectors/Cargo.toml @@ -21,3 +21,4 @@ matches = "0.1" cssparser = "0.12.1" fnv = "1.0" precomputed-hash = "0.1" +smallvec = "0.3" diff --git a/selectors/lib.rs b/selectors/lib.rs index fd8ccc6...
3
25
6
0efed40d48bea645296aeddd4fc6d07383e29cac
Mantaroh Yoshinaga
2017-04-16T23:53:10
servo: Merge #16451 - Make perspective origin animatable (from mantaroh:animate_perspective_origin); r=hiro,emilio This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1355344 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with app...
diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs index bff9d838e..02e3ace6f 100644 --- a/style/properties/gecko.mako.rs +++ b/style/properties/gecko.mako.rs @@ -2123,6 +2123,17 @@ fn static_assert() { self.gecko.mPerspectiveOrigin[1].copy_from(&other.gecko.mPerspectiveOrigin[1]); ...
2
15
16
0eef0c33f75570b0a7203c709cbea110e995f0fc
Pyfisch
2017-04-16T20:42:36
servo: Merge #16466 - Remove comment about text-combine-upright digits (from pyfisch:text-combine-upright-no-number); r=emilio The digits value was never implemented and was dropped from the spec. Old issues like #13769 still discussed if this value should be implemented. <!-- Please describe your changes on the foll...
diff --git a/style/properties/longhand/inherited_text.mako.rs b/style/properties/longhand/inherited_text.mako.rs index 260e6fe53..bddc1ea10 100644 --- a/style/properties/longhand/inherited_text.mako.rs +++ b/style/properties/longhand/inherited_text.mako.rs @@ -1274,9 +1274,6 @@ ${helpers.single_keyword("ruby-position",...
1
0
3
f3ccc9f1951db8c9efd794156ce6cad9a0ea0526
charlesvdv
2017-04-16T20:08:59
servo: Merge #15822 - Correct unicode handling for text input (from charlesvdv:unicode-panic); r=emilio <!-- Please describe your changes on the following line: --> Allow proprer handling of unicode sequence in text input. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step ...
diff --git a/script/dom/htmlinputelement.rs b/script/dom/htmlinputelement.rs index db26905b3..baff49835 100755 --- a/script/dom/htmlinputelement.rs +++ b/script/dom/htmlinputelement.rs @@ -1117,7 +1117,7 @@ impl VirtualMethods for HTMLInputElement { translated_y ...
2
13
7
06c1d67068998b52b8e65b96cb4a871d7faedd11
Dominik Boehi
2017-04-16T15:50:20
servo: Merge #16388 - Fix panic when font face name is not available (from Tiwalun:fix-freetype-panic); r=emilio I got a panic in Servo when I ran it with `RUST_LOG=debug`, which was due to `FT_Get_Postscript_Name` returning a null pointer. I'm not sure how to add a test for this, so there is none right now. --- <!-...
diff --git a/gfx/font.rs b/gfx/font.rs index 76f63b2f3..f2a6acf1c 100644 --- a/gfx/font.rs +++ b/gfx/font.rs @@ -48,7 +48,7 @@ pub trait FontHandleMethods: Sized { -> Result<Self, ()>; fn template(&self) -> Arc<FontTemplateData>; fn family_name(&self) -> String; - fn face_name(&self) -...
4
14
8
c78935f73b4698025a7e4a379f6013c61ad0c0fc
Simon Sapin
2017-04-16T05:13:28
servo: Merge #16473 - Upgrade to rustc 1.18.0-nightly (5f13a3b54 2017-04-15) (from servo:rustup); r=emilio This version enables [struct field reordering][1] which brings the size of the types for specified values of some CSS properties under the threshold such that they shouldn’t be boxed anymore, making unit tests fa...
diff --git a/script/dom/element.rs b/script/dom/element.rs index 1bf8fe037..8baba9bb5 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -649,16 +649,16 @@ impl LayoutElementHelpers for LayoutJS<Element> { let width_value = specified::BorderWidth::from_length(specified::Length::from_px(borde...
7
15
18
eb3b308daba158d743cf0cf2dd837fd35a4cc586
Yash Mehrotra
2017-04-16T04:02:14
servo: Merge #16478 - Support non-negative parsing of lengths for Either<Length, T> types (from yashmehrotra:fix-16423); r=Wafflespeanut <!-- Please describe your changes on the following line: --> Implemented a generic `impl<T> Either<Length, T>` which has a `parse_non_negative_length` method. --- <!-- Thank you for...
diff --git a/style/values/specified/length.rs b/style/values/specified/length.rs index 4c4c46966..f2681d08c 100644 --- a/style/values/specified/length.rs +++ b/style/values/specified/length.rs @@ -592,34 +592,12 @@ impl Parse for Length { } } -impl Either<Length, None_> { - /// Parse a non-negative length or...
1
4
26
d91b00efbf6325d665bbb7f1b9d42e7f22c86b27
Bobby Holley
2017-04-14T19:26:49
servo: Merge #16456 - Use the bloom filter for child selectors (from bholley:bloom_children); r=emilio This speeds up bloom-basic-ref.html by 4x on my machine. Source-Repo: https://github.com/servo/servo Source-Revision: b37f4952bd6f2c0177ad462e3445ac79dac19ecb
diff --git a/selectors/matching.rs b/selectors/matching.rs index a0a2dc46a..206e98a77 100644 --- a/selectors/matching.rs +++ b/selectors/matching.rs @@ -122,6 +122,7 @@ fn may_match<E>(mut selector: &ComplexSelector<E::Impl>, loop { match selector.next { None => break, + Some((r...
1
1
0
dd55b2b0a189cd7d956af24bb0e9833670fecb63
Ravi Shankar
2017-04-14T18:15:56
servo: Merge #16443 - Add parsing/serialization for grid-{row,column} and grid-area (from Wafflespeanut:grid-2); r=canaltinova With this, almost all the grid properties will have been covered in Stylo. I now realize that we have only two more shorthands left to go - `grid` and `grid-template` (both require #16067) So...
diff --git a/style/properties/shorthand/position.mako.rs b/style/properties/shorthand/position.mako.rs index aed3f1bb7..e65336527 100644 --- a/style/properties/shorthand/position.mako.rs +++ b/style/properties/shorthand/position.mako.rs @@ -138,6 +138,109 @@ </%helpers:shorthand> +% for kind in ["row", "column"]: ...
1
103
0
4062e384cb5dc2376f6b1ab1522721d79f43dd14
Pyfisch
2017-04-14T17:39:39
servo: Merge #16352 - Correct serialization for border-radius property (from pyfisch:issue12655); r=Wafflespeanut <!-- Please describe your changes on the following line: --> I don't think there is a way to avoid the clones, or is there one? --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `...
diff --git a/style/properties/shorthand/border.mako.rs b/style/properties/shorthand/border.mako.rs index 7f48a74ff..8441f5ce3 100644 --- a/style/properties/shorthand/border.mako.rs +++ b/style/properties/shorthand/border.mako.rs @@ -182,7 +182,7 @@ pub fn parse_border(context: &ParserContext, input: &mut Parser) '...
1
6
14
ac0ea25b3f2340980bf3999a0a9cb7a51b502947
KuoE0
2017-04-14T16:19:56
servo: Merge #16453 - Generate valid form for {background|mask}-position (from KuoE0:generate-valid-form-for-position); r=upsuper <!-- Please describe your changes on the following line: --> This issue is reported at https://bugzilla.mozilla.org/show_bug.cgi?id=1355017. The following style > background-position-x: 1...
diff --git a/style/properties/shorthand/background.mako.rs b/style/properties/shorthand/background.mako.rs index 4e69dca81..8eaa94772 100644 --- a/style/properties/shorthand/background.mako.rs +++ b/style/properties/shorthand/background.mako.rs @@ -159,11 +159,17 @@ } try!(image.to_c...
3
54
31
4df5974074648699919761e003d8e0602b362e23
Fausto Núñez Alberro
2017-04-14T11:16:36
servo: Merge #16340 - Fix -moz-outline-radius shorthand serialization (from brainlessdeveloper:fix-border-radius-serialization); r=Wafflespeanut <!-- Please describe your changes on the following line: --> These changes aim to solve #15169 correcting the `ToCss` implementation for `LonghandsToSerialize` for the `borde...
diff --git a/style/properties/shorthand/outline.mako.rs b/style/properties/shorthand/outline.mako.rs index 25757c28a..30c585f65 100644 --- a/style/properties/shorthand/outline.mako.rs +++ b/style/properties/shorthand/outline.mako.rs @@ -68,6 +68,7 @@ for corner in ['topleft', 'topright', 'bottomright', 'bottomleft...
1
7
11
2cde383d33eeba881c1c069bc26586630be9b643
J. Ryan Stinnett
2017-04-14T09:49:29
servo: Merge #16454 - Stylo: SVG length parsing mode (from jryans:svg-parse-unitless); r=emilio Reviewed by @emilio in [bug 1329088](https://bugzilla.mozilla.org/show_bug.cgi?id=1329088). r? @emilio --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors Source-Rep...
diff --git a/script/dom/css.rs b/script/dom/css.rs index adc542bd3..0e4a7f850 100644 --- a/script/dom/css.rs +++ b/script/dom/css.rs @@ -9,7 +9,7 @@ use dom::bindings::reflector::Reflector; use dom::bindings::str::DOMString; use dom::window::Window; use dom_struct::dom_struct; -use style::parser::ParserContext; +use...
20
137
43
1c5abc4291ea9fec8a67eb17067eab4c583335a7
Anthony Ramine
2017-04-14T09:13:21
servo: Merge #16440 - Implement webkit-prefixed linear gradients (from nox:webkit-gradients); r=emilio This is half of #15441. Source-Repo: https://github.com/servo/servo Source-Revision: 842ff5f978f341b1929f16cbdcac2b1edbe1482e
diff --git a/style/values/computed/image.rs b/style/values/computed/image.rs index da424959e..f196ccd69 100644 --- a/style/values/computed/image.rs +++ b/style/values/computed/image.rs @@ -15,6 +15,7 @@ use style_traits::ToCss; use values::computed::{Angle, Context, Length, LengthOrPercentage, NumberOrPercentage, ToCo...
2
84
48
5582588b2753b66ea4a7ee6c79ca02c0eed1a5b4
Anthony Ramine
2017-04-14T08:16:51
servo: Merge #16435 - Fix parsing of "center left" in parse_origin (fixes #15750) (from nox:parse-origin); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: f7896fd80bf42082d29f82d5393dc1f175735bb4
diff --git a/style/properties/longhand/effects.mako.rs b/style/properties/longhand/effects.mako.rs index 0b56cb38e..93d1100d4 100644 --- a/style/properties/longhand/effects.mako.rs +++ b/style/properties/longhand/effects.mako.rs @@ -439,7 +439,7 @@ pub struct OriginParseResult { pub fn parse_origin(context: &ParserC...
1
8
1
dd9c2b53bf3c5a175dab9ca2c7095612812483bc
Glenn Watson
2017-04-14T05:42:49
servo: Merge #16398 - Update WR (new border code path) (from glennw:update-wr-elliptical-borders-aa); r=mrobinson This includes the new border code path for simple (solid) borders. This gives much higher quality border rendering, including proper support for elliptical border segments. The quality on https://github.c...
diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs index 72c8d641d..19ea757bc 100644 --- a/layout/webrender_helpers.rs +++ b/layout/webrender_helpers.rs @@ -275,7 +275,7 @@ impl WebRenderDisplayItemConverter for DisplayItem { let clip = item.base.clip.to_clip_region(builder); ...
1
1
1
4b83a983bfd9c7e3008d2905bc11463f62e82473
Emilio Cobos Álvarez
2017-04-14T04:09:34
servo: Merge #16450 - stylo: Support keyword-valued media queries (from emilio:keyword-media-queries); r=heycam From [Bug 1356074](https://bugzil.la/1356074) Source-Repo: https://github.com/servo/servo Source-Revision: 6f7db7c57198811e3e32e94f2917ded3f7f8ace8
diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs index b422d45a3..ffa3c95ed 100644 --- a/style/gecko/media_queries.rs +++ b/style/gecko/media_queries.rs @@ -9,7 +9,7 @@ use cssparser::{CssStringWriter, Parser, Token}; use euclid::Size2D; use font_metrics::get_metrics_provider_for_product; use...
3
79
20
fd95696296c3efa67c094eccd8655e634af7592d
Brad Werth
2017-04-14T02:23:07
servo: Merge #16365 - Stylo: Add a bool property to PerDocumentStyleDataImpl, and pass the … (from bradwerth:authoredStyle); r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1341721 https://reviewboard.mozilla.org/r/121214/ r=heycam Source-Repo: https://github.com/servo/servo Source-Revision: 605637fe1de114e08b9...
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index edba3c6ad..4428c0c47 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -1085,6 +1085,7 @@ impl LayoutThread { ua_or_user: &ua_or_user_guard, }; let mut extra_data = ExtraStyleData { + author_style_disa...
4
26
2
dd21844c0fbdfc577243bc94a36c0ecbbfc9382e
mckaymatt
2017-04-14T01:12:08
servo: Merge #16394 - Support line number offsets for inline stylesheets (from mckaymatt:line_num_offset__issue_15693); r=SimonSapin <!-- Please describe your changes on the following line: --> This allows accurate line numbers when reporting stylesheet errors. @jdm This is going to require some effort to merge my ch...
diff --git a/script/dom/htmlstyleelement.rs b/script/dom/htmlstyleelement.rs index 098229d7e..c0f2e5b4e 100644 --- a/script/dom/htmlstyleelement.rs +++ b/script/dom/htmlstyleelement.rs @@ -40,6 +40,7 @@ pub struct HTMLStyleElement { in_stack_of_open_elements: Cell<bool>, pending_loads: Cell<u32>, any_fai...
6
56
19
94719625a668542fcef6ea119d2e86a275c777f3
Josh Matthews
2017-04-13T16:29:58
servo: Merge #16407 - Allow loading multiple stylesheets for the same link element (from jdm:style_panic); r=emilio - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #16399 - [x] There are tests for these changes Source-Repo: https://github....
diff --git a/script/dom/htmllinkelement.rs b/script/dom/htmllinkelement.rs index d22a24d2e..28f72832e 100644 --- a/script/dom/htmllinkelement.rs +++ b/script/dom/htmllinkelement.rs @@ -24,6 +24,7 @@ use dom::virtualmethods::VirtualMethods; use dom_struct::dom_struct; use html5ever_atoms::LocalName; use net_traits::R...
2
5
6
fa6084627b7d8cd948c11afa9d035ed25042398a
Bobby Holley
2017-04-13T13:56:03
servo: Merge #16432 - Coalesce duplicate selector flags and improve LRUCache (from bholley:faster_selector_flags); r=bholley https://bugzilla.mozilla.org/show_bug.cgi?id=1356148 Source-Repo: https://github.com/servo/servo Source-Revision: ea20bd6f6362191875bba7bce376c9d805588cbe
diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs index 4b118bdf7..e4df1b77e 100644 --- a/script/layout_wrapper.rs +++ b/script/layout_wrapper.rs @@ -55,6 +55,7 @@ use servo_atoms::Atom; use servo_url::ServoUrl; use std::fmt; use std::fmt::Debug; +use std::hash::{Hash, Hasher}; use std::marker::Phant...
6
129
57
8ae209de521450878d2694592e345df899ed5caa
Ravi Shankar
2017-04-13T10:32:30
servo: Merge #16383 - Cleanup basic shape code (from Wafflespeanut:clean); r=emilio <!-- Please describe your changes on the following line: --> I began with isolating serialization stuff for `BorderRadius` to help #16340 and #16352, but ended up cleaning a lot of code in `basic_shape.rs` (it's just a cleanup, should...
diff --git a/style/values/computed/basic_shape.rs b/style/values/computed/basic_shape.rs index a3848195e..2ae1675bb 100644 --- a/style/values/computed/basic_shape.rs +++ b/style/values/computed/basic_shape.rs @@ -7,14 +7,13 @@ //! //! [basic-shape]: https://drafts.csswg.org/css-shapes/#typedef-basic-shape -use prop...
3
263
328
c4928916f36bb560635c8a89f6a6d988026c2c19
Emilio Cobos Álvarez
2017-04-13T09:49:30
servo: Merge #16424 - style: relax assertions in dom::element when setting selector flags (from servo:assert-layout); r=bholley Source-Repo: https://github.com/servo/servo Source-Revision: 3011f7613929052acd84c0936a89cc7a8e6acd44
diff --git a/script/dom/element.rs b/script/dom/element.rs index 58fd6c33e..1bf8fe037 100644 --- a/script/dom/element.rs +++ b/script/dom/element.rs @@ -780,7 +780,7 @@ impl LayoutElementHelpers for LayoutJS<Element> { #[inline] #[allow(unsafe_code)] fn insert_selector_flags(&self, flags: ElementSelector...
2
10
1
b9d4b08525aa2e23ad920bdd1fe2db6866554784
Cameron McCormack
2017-04-13T07:41:01
servo: Merge #16402 - style: Disallow all CSS-wide keywords in animation shorthand and counter-increment/counter-reset (from heycam:csswide-keyword); r=emilio From https://bugzilla.mozilla.org/show_bug.cgi?id=1356085. Source-Repo: https://github.com/servo/servo Source-Revision: 54e691b2aa56365ecbed1af02c83cfafdf623d3...
diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs index ff6ec0b10..f0ad19713 100644 --- a/style/properties/longhand/box.mako.rs +++ b/style/properties/longhand/box.mako.rs @@ -816,16 +816,26 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto", impl Parse ...
3
40
24
6b9885bdf4aaca92f571cd4b8b2fbf99bcf35cf4
Bobby Holley
2017-04-13T06:44:12
servo: Merge #16379 - Limit traversal statistics dumps to subtrees of 50 or more elements and add more values (from bholley:quieter_stats); r=SimonSapin On Gecko, we get tons of console spam from 1-element traversals if we don't do this. Source-Repo: https://github.com/servo/servo Source-Revision: b51416846993f108269...
diff --git a/style/context.rs b/style/context.rs index 1eadf4cb8..f33e22a11 100644 --- a/style/context.rs +++ b/style/context.rs @@ -171,6 +171,16 @@ pub struct TraversalStatistics { pub elements_matched: u32, /// The number of cache hits from the StyleSharingCache. pub styles_shared: u32, + /// The n...
5
95
15
8a927e5c8322957f1027841c77fb6764745d4ce0
Manish Goregaokar
2017-04-13T06:09:49
servo: Merge #16406 - stylo: Disable font metrics (from Manishearth:stylo-hide-font-metrics); r=heycam r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1356105 Source-Repo: https://github.com/servo/servo Source-Revision: f312891ace0bbc859dc9c96801f8b8607aec6bd3
diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs index 562135bb9..0531384ae 100644 --- a/style/gecko/wrapper.rs +++ b/style/gecko/wrapper.rs @@ -22,7 +22,7 @@ use dom::{self, AnimationRules, DescendantsBit, LayoutIterator, NodeInfo, TEleme use dom::{OpaqueNode, PresentationalHintsSynthetizer}; use element...
1
20
17
f67e020b95cf3fd029d9f92a7b437a0a887fd9d1
Hiroyuki Ikezoe
2017-04-13T04:57:19
servo: Merge #16396 - Preserve restyle hints other than animation hints in propagate() duri… (from hiikezoe:animation-restyle-propagate-fix); r=heycam …ng animation-only restyle. <!-- Please describe your changes on the following line: --> This is PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1354487 --- <!-- ...
diff --git a/style/data.rs b/style/data.rs index a34ce78c2..7e42511b5 100644 --- a/style/data.rs +++ b/style/data.rs @@ -19,6 +19,7 @@ use std::ops::Deref; use std::sync::Arc; use stylist::Stylist; use thread_state; +use traversal::TraversalFlags; /// The structure that represents the result of style computation....
2
13
7
0ee9531ceac2ae6db388304f53d2cca1ffa5a887
Josh Matthews
2017-04-13T04:09:53
servo: Merge #16258 - Overwrite default RunInfo values with the first real ones encountered (from jdm:panic-at-the-ellipsis); r=pcwalton,stshine TextRunScanner::flush_clump_to_list compares the values in the RunInfo object against the ones determined from the current fragment, but these values can be arbitrary default...
diff --git a/layout/text.rs b/layout/text.rs index 0299199af..5c9b93ede 100644 --- a/layout/text.rs +++ b/layout/text.rs @@ -234,17 +234,22 @@ impl TextRunScanner { let flush_run = run_info.font_index != font_index || run_info.bidi_level != bidi_level || ...
1
16
11
c8a604c4cc17bcdddecbd156c1de50c54b77a238
Emilio Cobos Álvarez
2017-04-13T02:39:15
servo: Merge #16364 - style: Fix dynamic changes of attributes when combined with :not (from emilio:dynamic-not); r=bholley This makes the dependency tracker properly recurse into simple selectors inside the current complex selector to find the appropriate dependencies. We can't still remove the outer visitor because...
diff --git a/selectors/parser.rs b/selectors/parser.rs index fe0b50799..367220b27 100644 --- a/selectors/parser.rs +++ b/selectors/parser.rs @@ -145,7 +145,7 @@ impl<Impl: SelectorImpl> SelectorMethods for Selector<Impl> { } } -impl<Impl: SelectorImpl> SelectorMethods for Arc<ComplexSelector<Impl>> { +impl<Impl...
5
160
82
51ccc9ff7b25b52cedeef52e6a02cda80dd7adf5
Nazım Can Altınova
2017-04-13T00:04:28
servo: Merge #16384 - stylo: Implement shape-outside property (from canaltinova:shape-outside); r=Manishearth shape-outside property implemented. r=Manishearth in bugzilla --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data...
diff --git a/style/gecko/conversions.rs b/style/gecko/conversions.rs index 573bb5e00..3531f35b9 100644 --- a/style/gecko/conversions.rs +++ b/style/gecko/conversions.rs @@ -463,14 +463,23 @@ pub mod basic_shape { } } + impl From<ShapeBox> for StyleGeometryBox { + fn from(reference: ShapeBox) -...
4
103
59
b666d68dd1468819695ff5a6bcf05efbe43f2ec2
Anthony Ramine
2017-04-12T18:31:21
servo: Merge #16382 - Don't reject out of bound calc() values at parsing-time (from nox:calc-clamping); r=emilio Source-Repo: https://github.com/servo/servo Source-Revision: 294f44eca03eff39ceb252b32b3412fa67a9d8b0
diff --git a/style/gecko_bindings/sugar/ns_timing_function.rs b/style/gecko_bindings/sugar/ns_timing_function.rs index 53c0d4685..192125b47 100644 --- a/style/gecko_bindings/sugar/ns_timing_function.rs +++ b/style/gecko_bindings/sugar/ns_timing_function.rs @@ -71,8 +71,8 @@ impl From<SpecifiedTimingFunction> for nsTimi...
7
105
64
5d9f54639d12d16418f664fe349a316232caf8d4
Glenn Watson
2017-04-12T17:03:10
servo: Merge #16360 - Update WR (gradients, batching, text run, border changes) (from glennw:update-wr-borders); r=jdm - Tidy and optimize the batching code. - Support tiling / repeat for linear and radial gradients. - Fix some edge cases of subpixel text AA. - Add clip mask support to border shaders. - Optimization t...
diff --git a/compositing/compositor.rs b/compositing/compositor.rs index 201bcc9e8..981fc49e0 100644 --- a/compositing/compositor.rs +++ b/compositing/compositor.rs @@ -39,7 +39,7 @@ use style_traits::viewport::ViewportConstraints; use time::{precise_time_ns, precise_time_s}; use touch::{TouchHandler, TouchAction}; ...
3
17
13
c51634b0cefa3e54fe8f41c662ad02ac0c49ed2f
Fernando Jiménez Moreno
2017-04-12T16:11:23
servo: Merge #16348 - Unminify JS and dump it to a file before executing it (from ferjm:issue-14824-unminify-js); r=jdm - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #14824 Source-Repo: https://github.com/servo/servo Source-Revision: bc9...
diff --git a/config/opts.rs b/config/opts.rs index 3140e9035..836e23303 100644 --- a/config/opts.rs +++ b/config/opts.rs @@ -228,6 +228,9 @@ pub struct Opts { /// Path to SSL certificates. pub certificate_path: Option<String>, + + /// Unminify Javascript. + pub unminify_js: bool, } fn print_usage(...
3
87
2
94d068c9fbee1f5f960d1a3fd616626aca0a41c9
tamamu
2017-04-12T15:35:54
servo: Merge #16322 - Implement alignment shorthand properties (from tamamu:place-shorthand); r=upsuper <!-- Please describe your changes on the following line: --> I implemented the shorthand properties, but it may includes some bugs. Currently, `mach test-unit -p style` caught some errors (see #15954). I already tr...
diff --git a/style/properties/shorthand/position.mako.rs b/style/properties/shorthand/position.mako.rs index 12581a3df..aed3f1bb7 100644 --- a/style/properties/shorthand/position.mako.rs +++ b/style/properties/shorthand/position.mako.rs @@ -137,3 +137,98 @@ } </%helpers:shorthand> + +<%helpers:shorthand name="pla...
1
95
0
3f88fd466ad3f63371c5c5f8acab62929c572d83
Emilio Cobos Álvarez
2017-04-12T15:00:26
servo: Merge #16378 - stylo: A bunch of media query fixes (from emilio:media-fixes); r=upsuper Source-Repo: https://github.com/servo/servo Source-Revision: bb66bf81d5b699f40c8b59ea5eb7390dc23579bb
diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs index d8a78f685..edba3c6ad 100644 --- a/layout_thread/lib.rs +++ b/layout_thread/lib.rs @@ -113,7 +113,7 @@ use style::data::StoredRestyleHint; use style::dom::{ShowSubtree, ShowSubtreeDataAndPrimaryValues, TElement, TNode}; use style::error_reporting::StdoutEr...
10
129
80
2cce6907650c3c39e7176bf4c2dc65cf41504b58
Manish Goregaokar
2017-04-12T14:16:55
servo: Merge #16376 - stylo: Support mathml and background preshints (from Manishearth:stylo-mathml); r=emilio r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1339711 Source-Repo: https://github.com/servo/servo Source-Revision: 8298ee75c77bdc6061afd8c00d3f57e7f0c2db16
diff --git a/style/build_gecko.rs b/style/build_gecko.rs index a0402e3f3..07ed63298 100644 --- a/style/build_gecko.rs +++ b/style/build_gecko.rs @@ -302,6 +302,7 @@ mod bindings { "NODE_.*", "NS_FONT_.*", "NS_STYLE_.*", + "NS_MATHML_.*", "NS_RADIUS_.*", ...
8
271
23
634a5997df8bead35d88501d417d8511119a7faf
Lucjan Suski
2017-04-12T12:34:27
servo: Merge #16063 - Avoid panics for empty or multibyte image usemap (from methyl:image-usemap-panics); r=nox <!-- Please describe your changes on the following line: --> Some check were added to make sure we can call `split_at` with no risk of panics (when value is empty or the first char is multibyte). --- <!-- T...
diff --git a/script/dom/htmlimageelement.rs b/script/dom/htmlimageelement.rs index 7cebebade..389cd87b0 100644 --- a/script/dom/htmlimageelement.rs +++ b/script/dom/htmlimageelement.rs @@ -423,6 +423,11 @@ impl HTMLImageElement { }; let value = usemap_attr.value(); + + if value.len() == 0 || ...
1
5
0
26803b4e71877947c4929d98e2fba03adf3f2c17
Boris Chiou
2017-04-12T12:00:20
servo: Merge #16381 - stylo: Bug 1343753 - Use ComputedValues while updating transitions in Gecko (from BorisChiou:stylo/transition/use_computed_values); r=manishearth These are interdependent patches of Bug 1343753. We want to use ComputedValues and AnimationValues to start/update/stop the transitions. --- <!-- Than...
diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs index 657ba4de1..562135bb9 100644 --- a/style/gecko/wrapper.rs +++ b/style/gecko/wrapper.rs @@ -678,6 +678,7 @@ impl<'le> TElement for GeckoElement<'le> { let atom_ptr = PseudoElement::ns_atom_or_null_from_opt(pseudo); unsafe { ...
3
47
0