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 |
|---|---|---|---|---|---|---|---|
dc5907c2d0ad1c0f2eacf55caf2770bca3102d15 | Xidorn Quan | 2017-04-12T11:24:47 | servo: Merge #16380 - Some small fixes for stylo (from upsuper:small-fixes); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 528302a300bb375dc2f1d6dd30858d6fc5d95354 | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 34cdc44a5..b7a0b7dac 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -220,7 +220,7 @@ ${helpers.single_keyword("position", "static absolute relative fixed",
<% vertical... | 3 | 5 | 1 |
e04dc48d890c7fac52684bc75d5bb3cc50f92715 | Manish Goregaokar | 2017-04-12T09:33:10 | servo: Merge #16371 - stylo: Cascade relative font-sizes applied to keyword sizes (from Manishearth:stylo-rel-base-size); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1355707
Source-Repo: https://github.com/servo/servo
Source-Revision: 805b29cd53179d3812be272f5f5ab5330965365d | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index a5e63ee74..4f066f46d 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -79,7 +79,21 @@ pub struct ComputedValues {
custom_properties: Option<Arc<ComputedValuesMap>>,
pub writing_mode: WritingMo... | 4 | 68 | 19 |
c5f74590d696428add4f5f1660d045c25460bcdd | Clement Miao | 2017-04-12T08:01:16 | servo: Merge #15666 - added keyboard shortcuts for navigation inside text box (from clementmiao:keyboard_shortcuts); r=asajeffrey
PR to implement keyboard shortcuts per issue #12278, r? jdm
Thanks for letting me help!
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is co... | diff --git a/script/Cargo.toml b/script/Cargo.toml
index b7f7f37fb..37d5d7d62 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -85,6 +85,7 @@ smallvec = "0.3"
style = {path = "../style"}
style_traits = {path = "../style_traits"}
time = "0.1.12"
+unicode-segmentation = "1.1.0"
url = {version = "1.2", featur... | 3 | 181 | 11 |
b46357841f604f87c0a8d3cf475bc0d29bb3710f | Bobby Holley | 2017-04-12T07:27:02 | servo: Merge #16369 - Store style system options in the global style data and shared style context (from bholley:style_system_options); r=SimonSapin
I wanted to add an environmental variable to disable the style sharing
cache for gecko, but the current pattern involves lazy_static!, which
involves an atomic operation ... | diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs
index 1bfa0e616..d8a78f685 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -107,7 +107,8 @@ use std::sync::atomic::{AtomicUsize, Ordering};
use std::sync::mpsc::{Receiver, Sender, channel};
use std::thread;
use style::animation::Animation;
-use... | 6 | 50 | 44 |
20963c1670ba756ad7358d8825aff0236d9a792a | KuoE0 | 2017-04-12T06:51:56 | servo: Merge #16361 - Make stylo recognize -moz-crisp-edges keyword (from KuoE0:bug-1354000); r=heycam
<!-- Please describe your changes on the following line: -->
See [Bug 1354000](https://bugzilla.mozilla.org/show_bug.cgi?id=1354000).
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]`... | diff --git a/style/properties/longhand/inherited_box.mako.rs b/style/properties/longhand/inherited_box.mako.rs
index f0d316172..c5a121a79 100644
--- a/style/properties/longhand/inherited_box.mako.rs
+++ b/style/properties/longhand/inherited_box.mako.rs
@@ -70,13 +70,14 @@ ${helpers.single_keyword("color-adjust",
... | 1 | 5 | 4 |
6d42af1d0d39db0bea108ffd0d4ee6bb4a5c5078 | Tom Houlé | 2017-04-12T06:16:32 | servo: Merge #16229 - style: Do not immediately convert absolute specified lengths (from tomhoule:fix-lengths); r=emilio
<!-- Please describe your changes on the following line: -->
This PR aims to solve issue #15729. I tried to follow the recommendations there as much as possible.
This is my first attempt at contri... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 4b3a6010a..58fd6c33e 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -561,7 +561,7 @@ impl LayoutElementHelpers for LayoutJS<Element> {
}
LengthOrPercentageOrAuto::Length(length) => {
let width_... | 4 | 139 | 26 |
09c9b446772492a30e2a010a683ec561c32b9c41 | Manish Goregaokar | 2017-04-12T05:13:51 | servo: Merge #16363 - stylo: Use prefixed values in ExtremumLength (from Manishearth:stylo-prefixed); r=upsuper
r=xidorn https://bugzilla.mozilla.org/show_bug.cgi?id=1355674
Source-Repo: https://github.com/servo/servo
Source-Revision: 3c5a21ebf39b31cb77cb1a2e162e4abdac325e74 | diff --git a/style/properties/longhand/position.mako.rs b/style/properties/longhand/position.mako.rs
index cd42e56fc..6b0551fcc 100644
--- a/style/properties/longhand/position.mako.rs
+++ b/style/properties/longhand/position.mako.rs
@@ -201,7 +201,14 @@ ${helpers.predefined_type("flex-basis",
${Min... | 2 | 12 | 5 |
ee4bbfc20c7f67697fe4db6129bfe8ed2f8f9885 | Bobby Holley | 2017-04-12T03:52:23 | servo: Merge #16358 - Fix up the style sharing cache (from bholley:style_sharing_fixes); r=emilio
Reviewed in:
https://bugzilla.mozilla.org/show_bug.cgi?id=1354895
https://bugzilla.mozilla.org/show_bug.cgi?id=1332525
Source-Repo: https://github.com/servo/servo
Source-Revision: 7ba3f1e4f3064ec3054b2346062758375b8ab117 | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 10ed72aae..6ea874090 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -25,6 +25,7 @@ testing = []
app_units = "0.4"
atomic_refcell = "0.1"
bitflags = "0.7"
+bit-vec = "0.4.3"
byteorder = "1.0"
cfg-if = "0.1.0"
cssparser = "0.12.1"
diff --git a/style/ca... | 10 | 200 | 152 |
a70a836a4d6ffa298ae4b501b99ea8673ac83cdf | cku | 2017-04-12T03:07:36 | servo: Merge #16345 - stylo: Correct computed value of mask-image (from CJKu:cku-master); r=heycam
<!-- Please describe your changes on the following line: -->
The patch is part of fix in Bug 1341667(stylo: Figure out why all the W3C masking reftests fail)
---
<!-- Thank you for contributing to Servo! Please replace ... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 6d042346d..c75b30553 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2374,8 +2374,8 @@ fn static_assert() {
% else:
use properties::longhands::mask_image::single_value::c... | 2 | 3 | 15 |
aadfe007efc3b390a1204eb968bad263c68eee74 | Iris Hsiao | 2017-04-12T02:54:47 | Backed out changeset c3e3315e68fb (bug 1354000) for touching things under servo/ | diff --git a/style/properties/longhand/inherited_box.mako.rs b/style/properties/longhand/inherited_box.mako.rs
index c5a121a79..f0d316172 100644
--- a/style/properties/longhand/inherited_box.mako.rs
+++ b/style/properties/longhand/inherited_box.mako.rs
@@ -70,14 +70,13 @@ ${helpers.single_keyword("color-adjust",
... | 1 | 4 | 5 |
0478b95c4f30d33fcf9f46465059db376632f0e6 | KuoE0 | 2017-04-10T14:31:17 | Bug 1354000 - (Part 1) Make stylo recognize -moz-crisp-edges keyword. r=heycam
MozReview-Commit-ID: GZyvkN4HAqT | diff --git a/style/properties/longhand/inherited_box.mako.rs b/style/properties/longhand/inherited_box.mako.rs
index f0d316172..c5a121a79 100644
--- a/style/properties/longhand/inherited_box.mako.rs
+++ b/style/properties/longhand/inherited_box.mako.rs
@@ -70,13 +70,14 @@ ${helpers.single_keyword("color-adjust",
... | 1 | 5 | 4 |
636716e7c3c73d352f5e452a5fe3fbdb3c8cdcf7 | Jeremy Chen | 2017-04-12T01:22:59 | servo: Merge #16349 - Stylo - add glue code for initial-letter property (from chenpighead:stylo-initial-letter-support); r=heycam
<!-- Please describe your changes on the following line: -->
Add glue code for initial-letter property.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` wh... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 63f4a5abb..6d042346d 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -3039,7 +3039,7 @@ fn static_assert() {
</%self:impl_trait>
<%self:impl_trait style_struct_name="Text"
- skip_l... | 2 | 25 | 2 |
15316a1e36fff7c61f64e69bee3aa0074f4d858d | Hiroyuki Ikezoe | 2017-04-11T19:16:21 | servo: Merge #16344 - Call process_animation only if it's not animation-only restyles (from hiikezoe:animation-only-restyle-fix); r=emilio,heycam
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1354426
---
<!-- Thank you for contributing to Ser... | diff --git a/style/matching.rs b/style/matching.rs
index 7fab97d7d..2f2468413 100644
--- a/style/matching.rs
+++ b/style/matching.rs
@@ -433,7 +433,7 @@ trait PrivateMatchMethods: TElement {
&pseudo_style);
// Handle animations.
- if animate {
+ ... | 2 | 7 | 7 |
9c069a803c357afefa0a97bc8a857249607dfd53 | Emilio Cobos Álvarez | 2017-04-11T15:12:13 | servo: Merge #16342 - Fix a few media query parsing bugs (from emilio:media-query-parsing); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: df67977704b5aa0741e4caf6ce5d5d6cd4e9f334 | diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs
index 53074d905..d6c5a9286 100644
--- a/style/gecko/media_queries.rs
+++ b/style/gecko/media_queries.rs
@@ -409,11 +409,12 @@ impl Expression {
// If there's no colon, this is a media query of the form
// '(<feature>)', t... | 2 | 25 | 13 |
19cf10c6d22a17f19883ce7b4f76011400653f49 | Jeremy Chen | 2017-04-11T14:37:21 | servo: Merge #16334 - Stylo - support image-orientation property (from chenpighead:stylo-image-orientation-support); r=bholley
First, we need to make Servo's image-orientation parser to be agreed with Gecko's.
Numbers without any AngleUnit, including unitless 0 angle, should be invalid
for image-orientation. However, ... | diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs
index db14d9013..cabc1ab4a 100644
--- a/style/gecko_bindings/bindings.rs
+++ b/style/gecko_bindings/bindings.rs
@@ -704,6 +704,18 @@ extern "C" {
extern "C" {
pub fn Gecko_CopyFontFamilyFrom(dst: *mut nsFont, src: *const nsFont);
}
... | 7 | 149 | 82 |
232cac9cef1fa1b8d8fcb3df9207ead179d99220 | Martin Robinson | 2017-04-11T14:01:33 | servo: Merge #16350 - Remove the show-compositor-borders debug option (from mrobinson:remove-show-compositor-borders); r=emilio
This was used by the old compositor of which only the ghostly echoes of
old commits remain. Since it's been unused for quite some time, it is
probably safe to remove it.
<!-- Please describe... | diff --git a/config/opts.rs b/config/opts.rs
index 2970ce57b..3140e9035 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -86,10 +86,6 @@ pub struct Opts {
/// browser engines.
pub bubble_inline_sizes_separately: bool,
- /// True if we should show borders on all layers and tiles for
- /// debugging ... | 1 | 0 | 10 |
fe4421cd58e26c06b90a02af0622a56a326c8700 | Pu Xingyu | 2017-04-10T20:07:06 | servo: Merge #16285 - layout: Use the margin box of an inline block when computing the inline size (from stshine:inline-block-margin); r=emilio
<!-- Please describe your changes on the following line: -->
When computing the inline size of an inline block in inline formating
context, use the margin box of the underlin... | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 392cc7f62..bf42f628f 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -2380,10 +2380,7 @@ impl Fragment {
pub fn update_late_computed_replaced_inline_size_if_necessary(&mut self) {
if let SpecificFragmentInfo::InlineBlock(ref mut inline... | 1 | 1 | 4 |
587bee4d8fb3dee5cc06d687728652c20b7a352c | Nazım Can Altınova | 2017-04-10T19:08:04 | servo: Merge #16319 - stylo: Add -moz-element support (from canaltinova:element); r=upsuper
Implemented -moz-element for background property.
r=upsuper
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach ... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 380517d99..89e1fa659 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -657,6 +657,9 @@ impl FragmentDisplayListBuilding for Fragment {
Some(computed::Image::ImageRect(_)) => {
... | 5 | 64 | 4 |
3a9edae552477463a7809091ce46138abfd8ea01 | Keith Yeung | 2017-04-10T14:27:01 | servo: Merge #16325 - Fix formdata-blob.htm (from KiChjang:fix-formdata-wpt); r=cbrewster
The other failure is a legitimate WPT bug, will fix upstream.
Source-Repo: https://github.com/servo/servo
Source-Revision: 638e1dc40bc70c3c0d9cd2efdaef852fdb371382 | diff --git a/script/dom/bindings/structuredclone.rs b/script/dom/bindings/structuredclone.rs
index ed3cf6aa6..b3a9df326 100644
--- a/script/dom/bindings/structuredclone.rs
+++ b/script/dom/bindings/structuredclone.rs
@@ -87,7 +87,7 @@ unsafe fn write_blob(blob: Root<Blob>,
-> Result<(), ()> {
... | 3 | 10 | 6 |
54707d3cb4ccfec94f5db46ceaf903ea6429d5fd | Brad Werth | 2017-04-10T09:04:54 | servo: Merge #16328 - Stylo: Add FFI interfaces for exposing style sources (from bradwerth:computedStyles); r=heycam
https://bugzilla.mozilla.org/show_bug.cgi?id=1346256
https://reviewboard.mozilla.org/r/119044/
Source-Repo: https://github.com/servo/servo
Source-Revision: a0a60ba61dccef2bfea803654a33d77606dd3224 | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 3a8cd29b4..a0402e3f3 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -615,9 +615,11 @@ mod bindings {
"RawServoAnimationValue",
"RawServoAnimationValueMap",
"RawServoDeclarationBlock",
+ "Raw... | 5 | 31 | 4 |
57fae6c56a90bec325f7fd5a750c0d12b30a29d6 | Manish Goregaokar | 2017-04-10T06:35:18 | servo: Merge #16333 - stylo: support font metrics (from Manishearth:stylo-metrics); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1341724
Source-Repo: https://github.com/servo/servo
Source-Revision: dafa6c94eb3c748d6aa81f460e262882741cf7bd | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 85997cdb3..3a8cd29b4 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -343,6 +343,7 @@ mod bindings {
"FragmentOrURL",
"FrameRequestCallback",
"GeckoParserExtraData",
+ "GeckoFontMetrics",
... | 12 | 133 | 58 |
a6b546e42460a7ec873f743d72dd8bb8a1e13814 | Manish Goregaokar | 2017-04-09T11:15:51 | servo: Merge #16316 - stylo: Make font base size computation threadsafe (from Manishearth:stylo-threadsafe); r=emilio
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1351200
Source-Repo: https://github.com/servo/servo
Source-Revision: d77d7529905e52c29597048422556a2416550b76 | diff --git a/layout/animation.rs b/layout/animation.rs
index 232f9cd2e..be6d5baf7 100644
--- a/layout/animation.rs
+++ b/layout/animation.rs
@@ -13,6 +13,7 @@ use script_traits::{AnimationState, ConstellationControlMsg, LayoutMsg as Conste
use std::collections::HashMap;
use std::sync::mpsc::Receiver;
use style::anim... | 23 | 327 | 41 |
d93bb08d1f336e0e6bf1d02bba8896ef5df9fa1e | Emilio Cobos Álvarez | 2017-04-09T10:17:55 | servo: Merge #16293 - style: Refactor the selectors crate to remove ad-hoc logic (from emilio:refactor-selectors); r=bholley
Also refactors a lot of the restyle hint code to use these new hooks, and removes a lot of hacks in servo that shouldn't be needed because of correct handling of restyles due to attribute change... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 8dd3cd17a..ee79d7105 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -133,7 +133,7 @@ use std::sync::Arc;
use std::time::{Duration, Instant};
use style::attr::AttrValue;
use style::context::{QuirksMode, ReflowGoal};
-use style::re... | 14 | 330 | 410 |
0b49415bfa0d45f2ceb9579829eb31d5b2e2f3ce | Ravi Shankar | 2017-04-09T07:29:32 | servo: Merge #16314 - Include bindings for StyleGridTemplate (from Wafflespeanut:bind); r=heycam
Servo-side changes for [Bug 1354775](https://bugzilla.mozilla.org/show_bug.cgi?id=1354775)
Source-Repo: https://github.com/servo/servo
Source-Revision: 6020c2feebc14f0fadabbca73b553d05af0e365f | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 671314ee8..deffa87ce 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -401,6 +401,7 @@ mod bindings {
"nsStyleFont",
"nsStyleGradient",
"nsStyleGradientStop",
+ "nsStyleGridTemplate",
... | 2 | 11 | 0 |
82f43c5c68a96338ecdacc70982344a8cd0f0ee5 | Bobby Holley | 2017-04-09T06:55:09 | servo: Merge #16312 - Make the sequential traversal breadth-first (from bholley:breadth_first_sequential); r=emilio
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1354806
Source-Repo: https://github.com/servo/servo
Source-Revision: fd2b092839ec5229066ed1d608a81a556f38c55b | diff --git a/layout/traversal.rs b/layout/traversal.rs
index 3c0c1763d..844a61527 100644
--- a/layout/traversal.rs
+++ b/layout/traversal.rs
@@ -56,7 +56,7 @@ impl<'a, E> DomTraversal<E> for RecalcStyleAndConstructFlows<'a>
{
type ThreadLocalContext = ScopedThreadLocalLayoutContext<E>;
- fn process_preorder(... | 8 | 115 | 128 |
73cba3f3a73000ddfd6c82ffcabe1369d28d3f6b | Anthony Ramine | 2017-04-09T04:17:26 | servo: Merge #16311 - Do not return an error for non-GET data: requests (fixes #13293) (from nox:data-method); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 3a5ed1797f8db21b5d90c90c509b16f0535691a8 | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index eb740a1cb..a073056ee 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -395,18 +395,14 @@ fn basic_fetch(request: &mut Request,
},
"data" => {
- if request.method == Method::Get {
- match decode(&u... | 1 | 8 | 12 |
c6fe7b88b039d56f3570e8db95533b2af9f4f97d | Sebastian Hengst | 2017-04-08T14:53:00 | Backed out changeset 186921ff2a55 (bug 1351535) | diff --git a/style/traversal.rs b/style/traversal.rs
index 16505e71b..37e52eafb 100644
--- a/style/traversal.rs
+++ b/style/traversal.rs
@@ -149,12 +149,6 @@ pub trait DomTraversal<E: TElement> : Sync {
-> PreTraverseToken
{
if traversal_flags.for_unstyled_children_only() {
- ... | 1 | 0 | 6 |
7d89cab571ed7c584f513458bf2e68979093d8fa | Sebastian Hengst | 2017-04-08T14:52:56 | Backed out changeset 2687cb9cb4de (bug 1351535) | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 671314ee8..ff9f9820f 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -321,7 +321,6 @@ mod bindings {
"mozilla::css::SheetParsingMode",
"mozilla::HalfCorner",
"mozilla::PropertyStyleAnimationValuePair",
... | 1 | 0 | 2 |
b38f275abe764e4c3941aac7ca341328a67b31db | Sebastian Hengst | 2017-04-08T14:52:51 | Backed out changeset d44f633899ce (bug 1351535) | diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs
index 06caf7edd..2d9b92139 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -523,7 +523,7 @@ impl LayoutThread {
local_context_creation_data: Mutex::new(thread_local_style_context_creation_data),
timer: self.timer.... | 4 | 13 | 14 |
bed066a8588cf606e051c7d9a848714eb5f9d623 | Sebastian Hengst | 2017-04-08T14:52:47 | Backed out changeset b1a425c54b79 (bug 1351535) | diff --git a/style/data.rs b/style/data.rs
index a34ce78c2..46c1c6218 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -223,13 +223,6 @@ impl StoredRestyleHint {
StoredRestyleHint(RESTYLE_SELF | RESTYLE_DESCENDANTS)
}
- /// Creates a restyle hint that forces the element and all its later
- /// si... | 3 | 18 | 75 |
8f304cc6d7c22589497f9a0dff9129ebf1cc0af4 | Cameron McCormack | 2017-04-04T11:32:47 | Bug 1351535 - Part 6: Handle TraversalRestyleBehavior::ForReconstruct in the Servo restyle. r=bholley
MozReview-Commit-ID: 6vz9gHgzK87 | diff --git a/style/data.rs b/style/data.rs
index 46c1c6218..a34ce78c2 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -223,6 +223,13 @@ impl StoredRestyleHint {
StoredRestyleHint(RESTYLE_SELF | RESTYLE_DESCENDANTS)
}
+ /// Creates a restyle hint that forces the element and all its later
+ /// si... | 3 | 75 | 18 |
8fdb82096c6ef86b063a2075cdf5de149b8805e2 | Cameron McCormack | 2017-04-08T08:36:09 | Bug 1351535 - Part 5.1: Move TraversalFlags into SharedStyleContext. r=bholley
MozReview-Commit-ID: IfLzJ9h6vKT | diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs
index 2d9b92139..06caf7edd 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -523,7 +523,7 @@ impl LayoutThread {
local_context_creation_data: Mutex::new(thread_local_style_context_creation_data),
timer: self.timer.... | 4 | 14 | 13 |
0577c44255be26bb05b85a3656978afed2c76199 | Cameron McCormack | 2017-04-04T11:31:23 | Bug 1351535 - Part 5: Add a TraversalRestyleBehavior argument to traversal functions. r=bholley
This argument will be used to control whether we are restyling in preparation
for reframing a subtree, which can avoid generating any change hints, as we
aren't preserving the frames that they would otherwise apply to.
Moz... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index ff9f9820f..671314ee8 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -321,6 +321,7 @@ mod bindings {
"mozilla::css::SheetParsingMode",
"mozilla::HalfCorner",
"mozilla::PropertyStyleAnimationValuePair",
... | 1 | 2 | 0 |
935cfabc4fd86def60d32d5e1ab4d43e35a90157 | Cameron McCormack | 2017-04-04T11:22:42 | Bug 1351535 - Part 4: Don't traverse children if the root of the restyle is display:none. r=bholley
If we append a child to a display:none element, and we use StyleNewChildren on
that parent, we should skip restyling the children.
MozReview-Commit-ID: 7A6e7sPNHIA | diff --git a/style/traversal.rs b/style/traversal.rs
index 37e52eafb..16505e71b 100644
--- a/style/traversal.rs
+++ b/style/traversal.rs
@@ -149,6 +149,12 @@ pub trait DomTraversal<E: TElement> : Sync {
-> PreTraverseToken
{
if traversal_flags.for_unstyled_children_only() {
+ ... | 1 | 6 | 0 |
edfb55a03dff53f6d9d33b79549e1f7c52b5c8c7 | Emilio Cobos Álvarez | 2017-04-08T00:03:12 | servo: Merge #16070 - selectors: Get rid of hashing overhead using the precomputed hash atoms have (from emilio:selectors-bloom-hash-less); r=bholley
I realized of this when @bzbarsky mentioned the bloom filter in https://bugzilla.mozilla.org/show_bug.cgi?id=1348935#c7.
Right now we hash (the hash) all the time, whe... | diff --git a/selectors/Cargo.toml b/selectors/Cargo.toml
index f99cccf26..a71451303 100644
--- a/selectors/Cargo.toml
+++ b/selectors/Cargo.toml
@@ -20,3 +20,4 @@ bitflags = "0.7"
matches = "0.1"
cssparser = "0.12.1"
fnv = "1.0"
+precomputed-hash = "0.1"
diff --git a/selectors/bloom.rs b/selectors/bloom.rs
index 9d6... | 10 | 131 | 67 |
c49fdb42c950e7c431ac93fcb1a1c08b17797a0f | Gregory Szorc | 2017-04-08T01:09:02 | Backout changesets 20bd44c62c89, 7fbc0a154eaa, and b8cfaab9ac09 (bug 1346256)
For touching servo/. (This is Autoland's fault for landing it.) | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index e01bf7704..ff9f9820f 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -610,11 +610,9 @@ mod bindings {
"RawServoAnimationValue",
"RawServoAnimationValueMap",
"RawServoDeclarationBlock",
- "Raw... | 2 | 2 | 6 |
4e79cd5324f8431be86346612649133a4bcf2a34 | Brad Werth | 2017-04-06T17:19:00 | Bug 1346256 Part 1: Add FFI interfaces for exposing style sources. r=heycam
MozReview-Commit-ID: FOQCgXD68E9 | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index ff9f9820f..e01bf7704 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -610,9 +610,11 @@ mod bindings {
"RawServoAnimationValue",
"RawServoAnimationValueMap",
"RawServoDeclarationBlock",
+ "Raw... | 2 | 6 | 2 |
e5521f1fe44f14092084800e18e1703ed232f4b8 | Emilio Cobos Álvarez | 2017-04-07T11:40:45 | servo: Merge #16301 - Update string-cache (from emilio:atoms-up); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: e0731215c0e712d792ea64a709c5178cb2cab165 | diff --git a/atoms/Cargo.toml b/atoms/Cargo.toml
index 8d73fb2f7..dc22f8b1d 100644
--- a/atoms/Cargo.toml
+++ b/atoms/Cargo.toml
@@ -11,7 +11,7 @@ workspace = "../.."
path = "lib.rs"
[dependencies]
-string_cache = {version = "0.4", features = ["heapsize"]}
+string_cache = {version = "0.5", features = ["heapsize"]}
... | 5 | 8 | 8 |
8fdf1380f1373110879d9673aa5406296e49a9ad | Anthony Ramine | 2017-04-07T10:53:31 | servo: Merge #16288 - Kill ResourceGroup (from nox:net); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 8f2ceb41dd1a039f1d0150dcb1c4e2ba6b22afa2 | diff --git a/net/connector.rs b/net/connector.rs
index 79bb2282e..50d8c11a6 100644
--- a/net/connector.rs
+++ b/net/connector.rs
@@ -12,7 +12,6 @@ use openssl::ssl::{SslConnectorBuilder, SslMethod};
use std::io;
use std::net::TcpStream;
use std::path::PathBuf;
-use std::sync::Arc;
pub struct HttpsConnector {
... | 6 | 52 | 76 |
4d1b6c2f63b3d2db627c099491fa586653de82de | Pyfisch | 2017-04-07T10:13:47 | servo: Merge #16300 - Make transform perspective reject negative lengths (from pyfisch:transform-perspective); r=emilio
<!-- Please describe your changes on the following line: -->
`transform: perspective(-10px)` is invalid per spec. This patch prevents negative values from being parsed. There is an issue if zero shou... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 9ff28b6e6..a4d78e7f3 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -1213,6 +1213,8 @@ ${helpers.predefined_type("scroll-snap-coordinate",
///
/// Part of... | 1 | 3 | 1 |
a987bdc801541aaedb5b6394461c6c6a36055698 | Xidorn Quan | 2017-04-07T09:34:47 | servo: Merge #16297 - Remove servo_url dependency for geckolib (from upsuper:stylo-servo-url); r=SimonSapin
It seems mod attr is not used for geckolib at all, and that is the only place where servo_url is still referenced for geckolib, so we can just remove it.
Source-Repo: https://github.com/servo/servo
Source-Revis... | diff --git a/compositing/Cargo.toml b/compositing/Cargo.toml
index 72f316576..ba7999629 100644
--- a/compositing/Cargo.toml
+++ b/compositing/Cargo.toml
@@ -20,9 +20,9 @@ msg = {path = "../msg"}
net_traits = {path = "../net_traits"}
profile_traits = {path = "../profile_traits"}
script_traits = {path = "../script_tra... | 21 | 94 | 75 |
2087b4eeb303053e863a577c0d3b8b56487e0746 | Xidorn Quan | 2017-04-07T06:10:25 | servo: Merge #16296 - Update cssparser in Cargo.toml (from upsuper:cssparser); r=heycam
This helps Stylo builds to actually use the new cssparser.
Source-Repo: https://github.com/servo/servo
Source-Revision: 535d0e421a3188473fc0c3cefca569c1276c4804 | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index e905c8fbd..aef669412 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"
+cssparser = "0.1... | 9 | 9 | 9 |
d1d0b28c6b06f0efd5127ab260d705bc99c3d29e | Hiroyuki Ikezoe | 2017-04-07T03:11:18 | servo: Merge #16294 - Make word spacing animatable (from hiikezoe:make-word-spacing-animatable); r=emilio
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1354053
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` ... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 6941dbbb1..ff3529bb5 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2885,11 +2885,12 @@ fn static_assert() {
pub fn clone_letter_spacing(&self) -> longhands::letter_spacing::computed_value::T ... | 3 | 47 | 26 |
71d0d2677115d1af93c08de22f646a1476ade004 | Connor Brewster | 2017-04-07T02:22:14 | servo: Merge #16037 - Reduce cloning of FrameState (from cbrewster:reduce_framestate_clones); r=asajeffrey
<!-- Please describe your changes on the following line: -->
This uses `kmerge` from itertools to construct the jsh future and past iterators without having to do a collect/sort. This allows us to reduce cloning ... | diff --git a/constellation/Cargo.toml b/constellation/Cargo.toml
index de1e5df08..564fbf618 100644
--- a/constellation/Cargo.toml
+++ b/constellation/Cargo.toml
@@ -21,6 +21,7 @@ euclid = "0.11"
gfx = {path = "../gfx"}
gfx_traits = {path = "../gfx_traits"}
ipc-channel = "0.7"
+itertools = "0.5"
layout_traits = {pat... | 3 | 16 | 22 |
6975d3fb1ffc5ca50a9e510946c3343e2c657d99 | Bobby Holley | 2017-04-07T01:07:48 | servo: Merge #16291 - Hoist possibly_expired_animations into CurrentElementInfo (from bholley:possibly_expired); r=emilio
The current mechanism requires threading a lot of this state through a bunch of
callsites that are several layers of abstraction above the code that actually
uses this vector (which is only compile... | diff --git a/style/context.rs b/style/context.rs
index c0ded1483..39643af2f 100644
--- a/style/context.rs
+++ b/style/context.rs
@@ -5,7 +5,7 @@
//! The context within which style is calculated.
#![deny(missing_docs)]
-use animation::Animation;
+use animation::{Animation, PropertyAnimation};
use app_units::Au;
us... | 3 | 23 | 24 |
257dfd22f98c288ec1a1cb465e5b6daef57570af | Bobby Holley | 2017-04-06T21:32:14 | servo: Merge #16289 - Cascade the primary style before matching pseudos (from bholley:primary_before_pseudos); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1353960
Source-Repo: https://github.com/servo/servo
Source-Revision: 3beaa8d2e98bd077ba8badf4a2e3bc3ddc51ed0e | diff --git a/style/data.rs b/style/data.rs
index 9eb831e07..46c1c6218 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -80,7 +80,7 @@ pub struct EagerPseudoStyles(Option<Box<[Option<ComputedStyle>]>>);
impl EagerPseudoStyles {
/// Returns whether there are any pseudo styles.
pub fn is_empty(&self) -> bool {... | 5 | 187 | 191 |
7452109d17c27b7bbd2da7d6c19ef2158a51c27b | Martin Robinson | 2017-04-06T19:32:16 | servo: Merge #16284 - Use real clips when generating scroll roots (from mrobinson:scroll-root-clip); r=glennw
This is the first step toward removing inherited clips in favor of
scroll roots for handling overflow and CSS clipping. This will allow us
to more easily handle elements that should not be clipped. While we ar... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index e43767dda..6c7242e11 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -508,7 +508,7 @@ pub struct ScrollRoot {
pub parent_id: ScrollRootId,
/// The position of this scroll root's frame in the parent stacking context.
-... | 3 | 47 | 12 |
634a74775eb734465be1e95119d3d2376cc4ce37 | Emilio Cobos Álvarez | 2017-04-06T18:57:40 | servo: Merge #16283 - style: Multiple cleanups around parsing code (from emilio:cleanup-parse-non-negative); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 208d5dbfb6d8d9eed5ee5f5f21641221fe16e819 | diff --git a/style/properties/longhand/background.mako.rs b/style/properties/longhand/background.mako.rs
index 66db18d64..b053be48f 100644
--- a/style/properties/longhand/background.mako.rs
+++ b/style/properties/longhand/background.mako.rs
@@ -483,36 +483,23 @@ ${helpers.single_keyword("background-origin",
}
... | 9 | 183 | 214 |
a12eba87c3a52531d48bd29c6b49c3fb2421cae5 | Josh Matthews | 2017-04-06T10:53:14 | servo: Merge #15784 - Make SSL tests work (from jdm:ssltests); r=nox,jgraham
These changes fix #6919.
Source-Repo: https://github.com/servo/servo
Source-Revision: f3fd8238ce1f7b2eb74d4fccbe76cfac8aa2335a | diff --git a/config/opts.rs b/config/opts.rs
index ca0c24f8d..e62bade0c 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -230,6 +230,9 @@ pub struct Opts {
/// Print the version and exit.
pub is_printing_version: bool,
+
+ /// Path to SSL certificates.
+ pub certificate_path: Option<String>,
}
... | 10 | 78 | 65 |
7ef8bbb5ec9de8ab2b330fe1da741e7a57373133 | Xidorn Quan | 2017-04-06T03:11:14 | servo: Merge #16281 - Add std::atomic to opaque_types in build_gecko (from servo:atomic_opaque); r=heycam
Recent change in bug 1277709 makes ThreadSafeAutoRefCnt start using std::atomic, which somehow doesn't not have #[derive(Debug)] on Windows, which makes all objects which includes ThreadSafeAutoRefCnt to stop havi... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index fa7142b69..2e33ade63 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -439,6 +439,7 @@ mod bindings {
let opaque_types = [
"std::pair__PCCP",
"std::namespace::atomic___base", "std::atomic__My_base",
+ ... | 1 | 1 | 0 |
ddf48276948abd9c04f9b234744bdac891cd446c | Hiroyuki Ikezoe | 2017-04-05T23:58:35 | servo: Merge #16278 - Make letter-spacing animatable (from hiikezoe:make-letter-spacing-animatable); r=emilio
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1353921
From the spec: 'normal' value computes to zero.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contr... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index bc6d5471b..2d55fd3c4 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2882,6 +2882,15 @@ fn static_assert() {
}
}
+ pub fn clone_letter_spacing(&self) -> longhands::letter_spacing::c... | 2 | 33 | 2 |
07cefe4616f62c0454efa5f9519e9453b004bc88 | Carlos Martinez | 2017-04-05T17:09:20 | servo: Merge #16274 - Reject negative values of flex-basis (from CarlosMcs:negative-flex-basis); r=emilio
Fixes #15902
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropr... | diff --git a/style/properties/longhand/position.mako.rs b/style/properties/longhand/position.mako.rs
index be5b1c2c9..c4a03e15d 100644
--- a/style/properties/longhand/position.mako.rs
+++ b/style/properties/longhand/position.mako.rs
@@ -142,6 +142,7 @@ ${helpers.predefined_type("flex-basis",
... | 2 | 19 | 0 |
6914961f83737d66880c5b02a279e2a99424c9d6 | Anthony Ramine | 2017-04-05T14:27:55 | servo: Merge #16272 - Net enhancements (from nox:net); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: bf7c044955ecfb8e074699e278994a08c22109fa | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index 553c92cf7..49fd05632 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -163,15 +163,8 @@ pub fn main_fetch(request: &mut Request,
// TODO: handle FTP URLs.
// Step 10.
- if !request.current_url().is_secure_scheme() && request.cu... | 4 | 51 | 32 |
55ee06c25aaca2d63cf76df9682a1913c11a83c1 | SendilKumar N | 2017-04-05T13:49:22 | servo: Merge #15904 - making image element areas good at finding areas (from sendilkumarn:image-area); r=jdm
<!-- Please describe your changes on the following line: -->
---
<!-- 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/htmlimageelement.rs b/script/dom/htmlimageelement.rs
index acf1d2ed9..7cebebade 100644
--- a/script/dom/htmlimageelement.rs
+++ b/script/dom/htmlimageelement.rs
@@ -429,16 +429,12 @@ impl HTMLImageElement {
return None
}
- let map = self.upcast::<Node>()
- ... | 2 | 15 | 10 |
fa5459efdb17fb1154ba41d91f7c5a535c636935 | Josh Matthews | 2017-04-05T13:09:23 | servo: Merge #16262 - Enable HTTP connection pooling (from jdm:connection-pool); r=nox
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15694
- [X] There are tests for these changes
Source-Repo: https://github.com/servo/servo
Source-Revisi... | diff --git a/net/http_loader.rs b/net/http_loader.rs
index d4ed98d54..059c4d1e8 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -487,7 +487,9 @@ fn obtain_response(request_factory: &NetworkHttpRequestFactory,
let response = match request_writer.send() {
Ok(w) => w,
- Err(H... | 2 | 4 | 3 |
e277280d8117b8135f7bccd79d7baebb12ba31a6 | Cameron McCormack | 2017-04-05T10:10:07 | servo: Merge #16269 - Add an Atom::from_addrefed function (from heycam:atom-already-addrefed); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: a55cb8425dc41fc6909047841c985a4ede3fa8f9 | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index 9ec7ee3cf..6f59864b3 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -694,7 +694,7 @@ impl<'le> PresentationalHintsSynthetizer for GeckoElement<'le> {
let global_style_data = &*GLOBAL_STYLE_DATA;
let pdb =... | 2 | 11 | 1 |
d23e1657f233e8758c7e49bd84ed522f86a2ce54 | Simon Sapin | 2017-04-05T08:59:26 | servo: Merge #16169 - Remove heapsize for Stylo (from servo:stylo-heapsize); r=emilio
It doesn’t seem to be used, and is causing compilation trouble for Gecko: https://bugzilla.mozilla.org/show_bug.cgi?id=1350581
Source-Repo: https://github.com/servo/servo
Source-Revision: 42f58503c0dfb5c02d4395d481b9bd65e3d69d3a | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 42e33e1c1..137328c07 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -15,7 +15,7 @@ doctest = false
[features]
gecko = ["nsstring_vendor", "rayon/unstable", "num_cpus"]
use_bindgen = ["bindgen", "regex"]
-servo = ["serde/unstable", "serde", "serde_derive... | 4 | 3 | 15 |
89e91537cf7b606613a1d9dff5306cd2d4a9a77e | Fernando Jiménez Moreno | 2017-04-05T07:34:27 | servo: Merge #16126 - Block scripts with text/csv, audio/*, video/* and image/* mime types (from ferjm:issue-14520-block-media-csv); r=nox
This patch implements step 12 of the Main Fetch section of the Fetch API standard. It blocks the load of scripts with `text/csv`, `audio/*`, `video/*` and `image/*` mime types.
Cr... | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index 41aadda70..553c92cf7 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -244,6 +244,8 @@ pub fn main_fetch(request: &mut Request,
let response_is_network_error = response.is_network_error();
let should_replace_with_nosniff_err... | 1 | 21 | 1 |
bd644430d180291fcc8bc9a6d17d9b70aed57d3b | Manish Goregaokar | 2017-04-05T04:56:00 | servo: Merge #16266 - stylo: Support all extra style rules from nsHTMLStyleSheet (from Manishearth:stylo-nshtmlss); r=heycam
r=heycam from https://bugzilla.mozilla.org/show_bug.cgi?id=1341714
Source-Repo: https://github.com/servo/servo
Source-Revision: 21979bf715bbc9fcbde1ea487853cfe73d853353 | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index 066633805..9ec7ee3cf 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -51,7 +51,7 @@ use gecko_bindings::structs::NODE_IS_NATIVE_ANONYMOUS;
use gecko_bindings::sugar::ownership::HasArcFFI;
use parking_lot::RwLock;
use properties::{... | 8 | 219 | 33 |
995aaf02bcb1b82698971217f96ba24087c5658d | Glenn Watson | 2017-04-05T01:35:19 | servo: Merge #16264 - Update WR (border fast paths, clip interfaces) (from glennw:update-wr-borders-and-clips); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: 6a67688924b1b122be9c8ec456d6029dc02366a4 | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index ee3494e1b..e43767dda 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -510,8 +510,8 @@ pub struct ScrollRoot {
/// The position of this scroll root's frame in the parent stacking context.
pub clip: Rect<Au>,
- /// T... | 3 | 18 | 12 |
3ec3c134afa29f1a0825b025dda3aee4aa208906 | Hiroyuki Ikezoe | 2017-04-05T00:26:02 | servo: Merge #16263 - Make AnimationValue::from_declaration return computed CSS variable (from hiikezoe:handle-css-variables-in-animations); r=Manishearth
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1326131
In Gecko, we resolve CSS variables when we generate keyframes for each
animations (i.e. when w... | diff --git a/style/properties/helpers/animated_properties.mako.rs b/style/properties/helpers/animated_properties.mako.rs
index bde0ae8af..9c7dada85 100644
--- a/style/properties/helpers/animated_properties.mako.rs
+++ b/style/properties/helpers/animated_properties.mako.rs
@@ -301,7 +301,10 @@ impl AnimationValue {
... | 1 | 38 | 4 |
90fee80b8acc7e35725b4f86d198643e65aaf8f9 | Pyfisch | 2017-04-04T20:30:23 | servo: Merge #16242 - Implement serialization for transform functions (from pyfisch:transform-one); r=emilio
Preserve more information from transform function parsing.
Preserve angle unit while parsing.
Simplify SpecifiedMatrix.
Use the write! macro for formatting with a helper called Css.
Implement ToCss for &T if T ... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 244a0e4a1..3e9c64dcb 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -1105,12 +1105,13 @@ ${helpers.predefined_type("scroll-snap-coordinate",
fixpos_cb="... | 3 | 406 | 284 |
e07288b6fed53b88b0a962c74b0eadd07b6836d8 | Glenn Watson | 2017-04-04T19:41:41 | servo: Merge #16252 - Update WR (gradient features) (from glennw:update-wr-gra); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 41e712786e6d618e83a0988d43436d6e5e5bb36e | diff --git a/layout/webrender_helpers.rs b/layout/webrender_helpers.rs
index ec83eb996..8f1f76f41 100644
--- a/layout/webrender_helpers.rs
+++ b/layout/webrender_helpers.rs
@@ -370,12 +370,11 @@ impl WebRenderDisplayItemConverter for DisplayItem {
let start_point = item.gradient.start_point.to_pointf()... | 2 | 6 | 7 |
fb2e39abe2c1b4fa407392e7ee520576f603a783 | Anthony Ramine | 2017-04-04T11:25:33 | servo: Merge #16256 - Another batch of net enhancements 🕶 (from nox:net); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 5421d833de30e0c963bc6241120263897d4fc68c | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index e824d09d0..41aadda70 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -8,12 +8,12 @@ use data_loader::decode;
use devtools_traits::DevtoolsControlMsg;
use fetch::cors_cache::CorsCache;
use filemanager_thread::FileManager;
-use http_loader:... | 3 | 94 | 93 |
81f41cb7f7e4b36d8a7cd9ecef56a2915120b796 | Hiroyuki Ikezoe | 2017-04-04T04:32:13 | servo: Merge #16253 - Fix handling of baseline (from hiikezoe:baseline-fix); r=Manishearth
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1352781
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is... | diff --git a/style/values/specified/align.rs b/style/values/specified/align.rs
index 98844cd2a..d62a0bbd7 100644
--- a/style/values/specified/align.rs
+++ b/style/values/specified/align.rs
@@ -80,8 +80,8 @@ impl ToCss for AlignFlags {
ALIGN_CENTER => "center",
ALIGN_LEFT => "left",
... | 1 | 34 | 4 |
10326d182ed93473fff8efb757e15f1e9615ddf6 | Bobby Holley | 2017-04-03T23:04:34 | servo: Merge #16250 - Don't use a HashMap for pseudo-element styles (from bholley:pseudo_repr); r=emilio
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1335708
@bors-servo try
Source-Repo: https://github.com/servo/servo
Source-Revision: eee25e23132b0f5d4cb50e5af4691b6e4bf75978 | diff --git a/script_layout_interface/wrapper_traits.rs b/script_layout_interface/wrapper_traits.rs
index 08de74f0e..a1c59d831 100644
--- a/script_layout_interface/wrapper_traits.rs
+++ b/script_layout_interface/wrapper_traits.rs
@@ -339,7 +339,7 @@ pub trait ThreadSafeLayoutElement: Clone + Copy + Sized + Debug +
... | 7 | 256 | 139 |
3e58055a741f5c04dbf24b9481cefe0462964d4a | Simon Sapin | 2017-04-03T22:10:50 | servo: Merge #16247 - ParserContext::new_for_cssom is used for author origin, not user (from servo:for_cssom); r=jdm
This probably doesn’t make any difference since the only thing we do with this origin is test whether it is user-agent (for internal properties), but this is more correct.
Source-Repo: https://github.c... | diff --git a/style/parser.rs b/style/parser.rs
index 941946399..024d71de9 100644
--- a/style/parser.rs
+++ b/style/parser.rs
@@ -39,7 +39,7 @@ impl<'a> ParserContext<'a> {
pub fn new_for_cssom(url_data: &'a UrlExtraData,
error_reporter: &'a ParseErrorReporter)
->... | 1 | 1 | 1 |
a2d9e2d3f139e7b0872ece44899b5dcea3963a71 | Simon Sapin | 2017-04-03T21:16:07 | servo: Merge #16246 - Revert to per-process shared lock for author-origin stylesheets (from servo:revert-per-doc); r=jdm
Fixes https://github.com/servo/servo/issues/16097
Reopens https://github.com/servo/servo/issues/16027
Source-Repo: https://github.com/servo/servo
Source-Revision: b6b6608ca3a46113bb488e4da835b4ee74... | diff --git a/script/Cargo.toml b/script/Cargo.toml
index cb4418b94..de9456ec1 100644
--- a/script/Cargo.toml
+++ b/script/Cargo.toml
@@ -54,6 +54,7 @@ image = "0.12"
ipc-channel = "0.7"
js = {git = "https://github.com/servo/rust-mozjs", features = ["promises"]}
jstraceable_derive = {path = "../jstraceable_derive"}
+... | 3 | 18 | 1 |
a1d38de7ad7a9315fa0b99d174961c79e92e53d7 | Emilio Cobos Álvarez | 2017-04-03T20:15:49 | servo: Merge #15562 - style: Tweak rule tree memory ordering (from emilio:rule-mem-order); r=bholley
I've commented on the ones that I think are the most tricky. Note that this code
is stress-tested in the style tests (tests/unit/style/rule_tree/bench.rs).
Source-Repo: https://github.com/servo/servo
Source-Revision: ... | diff --git a/style/rule_tree/mod.rs b/style/rule_tree/mod.rs
index 53a78ac2c..128de7a67 100644
--- a/style/rule_tree/mod.rs
+++ b/style/rule_tree/mod.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
#![allow(unsafe_code)]
-#![deny(missing_docs)]
//! The rule tree.
@@ -35,6 +34,... | 1 | 74 | 40 |
0ff2255d7531b99b3070e06170329e2e5f596257 | Anthony Ramine | 2017-04-03T17:07:27 | servo: Merge #16245 - Don't share the SSL client between the private and public groups (from nox:ssl); r=avadacatavra
Source-Repo: https://github.com/servo/servo
Source-Revision: e8ed3e0b7f5fefffa7fa8c73846bdcb6673bf36e | diff --git a/net/resource_thread.rs b/net/resource_thread.rs
index 987f08585..b54377563 100644
--- a/net/resource_thread.rs
+++ b/net/resource_thread.rs
@@ -114,10 +114,11 @@ fn create_resource_groups(config_dir: Option<&Path>)
ssl_client: ssl_client.clone(),
connector: create_http_connector(ssl_clien... | 1 | 3 | 2 |
023efed1883e57503f12cac4fcd10f7b2d88340a | Simon Sapin | 2017-04-03T10:35:19 | servo: Merge #16239 - Remove a memory allocation (`iter.collect::<Vec<_>>()`) in `cascade()` (from servo:cascade-collect); r=emilio
This vector was there to pre-acquire locks and give all declarations the same lifetime (which is necessary for custom properties cascading).
https://github.com/servo/servo/pull/16014 int... | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index fb61e231d..13565f00f 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -1976,24 +1976,25 @@ pub fn cascade(device: &Device,
}
};
- // Hold locks until after the app... | 1 | 18 | 17 |
6462dc1048382824db45a28160c8087ea1214dc8 | Hiroyuki Ikezoe | 2017-04-03T01:12:09 | servo: Merge #16233 - Set each control points when converting specified keyworded timing fu… (from hiikezoe:timing-function-fix); r=emilio
…nction to nsTimingFunction.
Gecko's timing function (nsTimingFunction) needs to be specified
each control points if timing function can be represented as cubic-bezier
function. T... | diff --git a/style/gecko_bindings/sugar/ns_timing_function.rs b/style/gecko_bindings/sugar/ns_timing_function.rs
index 840879b4d..53c0d4685 100644
--- a/style/gecko_bindings/sugar/ns_timing_function.rs
+++ b/style/gecko_bindings/sugar/ns_timing_function.rs
@@ -21,8 +21,11 @@ impl nsTimingFunction {
}
}
... | 2 | 52 | 26 |
57eaaa401a57f1b3e4a7c28a53a5e8e739b67bdc | Hiroyuki Ikezoe | 2017-04-02T22:47:09 | servo: Merge #16232 - Fix justify-content values (from hiikezoe:justify-content-fix); r=bholley
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1352771
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the s... | diff --git a/style/values/specified/align.rs b/style/values/specified/align.rs
index faa415da2..98844cd2a 100644
--- a/style/values/specified/align.rs
+++ b/style/values/specified/align.rs
@@ -358,9 +358,9 @@ fn parse_content_distribution(input: &mut Parser) -> Result<AlignFlags, ()> {
let ident = input.expect_ide... | 1 | 3 | 3 |
79b8e36294fbe1cce60ea2c0d3545ce017efb7fc | Glenn Watson | 2017-04-02T22:05:01 | servo: Merge #16200 - Update WR (various optimizations, gradient improvements) (from glennw:update-wr-clear-opts); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: e45d7e0e2e5d47945d3d821db5767feff64d7634 | diff --git a/canvas/canvas_paint_thread.rs b/canvas/canvas_paint_thread.rs
index 7f09603d3..39c633e12 100644
--- a/canvas/canvas_paint_thread.rs
+++ b/canvas/canvas_paint_thread.rs
@@ -18,6 +18,7 @@ use ipc_channel::ipc::{self, IpcSender};
use num_traits::ToPrimitive;
use std::borrow::ToOwned;
use std::mem;
+use std... | 4 | 74 | 40 |
3d7b430ed43391d0155aac1780b6f61feeb54741 | Anthony Ramine | 2017-04-02T14:12:44 | servo: Merge #16230 - Introduce create_ssl_client (from nox:ssl); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 2df6e26fd726cded0e4f91ebd92e47669ffcc940 | diff --git a/net/connector.rs b/net/connector.rs
index 4d9ddcdab..3f0dc0e12 100644
--- a/net/connector.rs
+++ b/net/connector.rs
@@ -2,33 +2,17 @@
* 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 hyper;
use hyper::client::Poo... | 3 | 36 | 28 |
dd3caabfd2ff1c117d37f958ef155c91b5556259 | Manish Goregaokar | 2017-04-02T02:56:52 | Bug 1352775 - Revert "Bug 1352771 - Fix justify-content values. r=manishearth"
This reverts commit aa66bb144e3953f7439cb76a7d3eafbd8c7cadad.
MozReview-Commit-ID: JsstyQPm8TU | diff --git a/style/values/specified/align.rs b/style/values/specified/align.rs
index 98844cd2a..faa415da2 100644
--- a/style/values/specified/align.rs
+++ b/style/values/specified/align.rs
@@ -358,9 +358,9 @@ fn parse_content_distribution(input: &mut Parser) -> Result<AlignFlags, ()> {
let ident = input.expect_ide... | 1 | 3 | 3 |
afeec89a914eec1742bcd586190b4d2f21223d2c | Hiroyuki Ikezoe | 2017-04-02T02:06:23 | Bug 1352771 - Fix justify-content values. r=bholley
MozReview-Commit-ID: L4HFHTettLB | diff --git a/style/values/specified/align.rs b/style/values/specified/align.rs
index faa415da2..98844cd2a 100644
--- a/style/values/specified/align.rs
+++ b/style/values/specified/align.rs
@@ -358,9 +358,9 @@ fn parse_content_distribution(input: &mut Parser) -> Result<AlignFlags, ()> {
let ident = input.expect_ide... | 1 | 3 | 3 |
5e60eb6644e632844028b967ae16733fe8061594 | Josh Matthews | 2017-04-01T22:32:24 | servo: Merge #16225 - Disable HTTP connection pooling (from jdm:revertpooling); r=KiChjang
The intermittent failures in the nosniff tests appeared once more after #16209 merged, so we should disable this again.
Source-Repo: https://github.com/servo/servo
Source-Revision: dc3765e231441b006f17c9aa4588e7f166bba45e | diff --git a/net/resource_thread.rs b/net/resource_thread.rs
index 6010fa1ab..46f3c9d53 100644
--- a/net/resource_thread.rs
+++ b/net/resource_thread.rs
@@ -326,7 +326,8 @@ impl CoreResourceManager {
hsts_list: group.hsts_list.clone(),
cookie_jar: group.cookie_jar.clone(),
auth_ca... | 1 | 2 | 1 |
2914abc6d1def53b1355c87f8c5c5fb7a4031dec | Bobby Holley | 2017-04-01T19:34:33 | servo: Merge #16226 - stylo: Introduce is_native_anonymous and cull style traversal of doomed NAC (from bholley:doomed_nac); r=emilio
Reviewed in https://bugzilla.mozilla.org/show_bug.cgi?id=1352570
Source-Repo: https://github.com/servo/servo
Source-Revision: fb3c52e7926cc79078cc444da9d547ade407b9b6 | diff --git a/style/dom.rs b/style/dom.rs
index 31319e365..602401530 100644
--- a/style/dom.rs
+++ b/style/dom.rs
@@ -386,6 +386,10 @@ pub trait TElement : PartialEq + Debug + Sized + Copy + Clone + ElementExt + Pre
unsafe fn unset_animation_only_dirty_descendants(&self) {
}
+ /// Returns true if this ele... | 3 | 24 | 0 |
312989bcc7fee5884755d4b851794e4ba09e3b7e | Pu Xingyu | 2017-04-01T11:02:08 | servo: Merge #16096 - Use Servo-specific pseudo elements for anonymous box and text (from stshine:die-modify-style-die); r=emilio
<!-- Please describe your changes on the following line: -->
Use some fake pseudo elements to style servo-specific boxes in servo. Also, Since for nested inline elements non-inheritable pr... | diff --git a/layout/construct.rs b/layout/construct.rs
index 00cd46a07..089209551 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -51,7 +51,7 @@ use style::computed_values::content::ContentItem;
use style::computed_values::position;
use style::context::SharedStyleContext;
use style::logical_geometry::D... | 7 | 106 | 257 |
8a449a43540dade1646edcac0b113cedaeeb5a68 | Josh Matthews | 2017-04-01T05:05:56 | servo: Merge #16210 - Update rust-mozjs to master (from jdm:updatejs); r=Wafflespeanut
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16152
- [X] There are tests for these changes
Source-Repo: https://github.com/servo/servo
Source-Revisi... | diff --git a/script/script_runtime.rs b/script/script_runtime.rs
index 303353d53..c4f90edf8 100644
--- a/script/script_runtime.rs
+++ b/script/script_runtime.rs
@@ -126,7 +126,7 @@ unsafe extern "C" fn enqueue_job(cx: *mut JSContext,
#[allow(unsafe_code)]
pub unsafe fn new_rt_and_cx() -> Runtime {
LiveDOMReferen... | 1 | 1 | 1 |
7b77ea0d039f9e7854acf79a8c0a280905396b23 | Anthony Ramine | 2017-03-31T22:56:11 | servo: Merge #16209 - Enable HTTP pooling again (fixes #15694) (from nox:net); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 325713af3877eb7c51745e7b626952f5d74dc76f | diff --git a/net/resource_thread.rs b/net/resource_thread.rs
index 46f3c9d53..6010fa1ab 100644
--- a/net/resource_thread.rs
+++ b/net/resource_thread.rs
@@ -326,8 +326,7 @@ impl CoreResourceManager {
hsts_list: group.hsts_list.clone(),
cookie_jar: group.cookie_jar.clone(),
auth_ca... | 1 | 1 | 2 |
8440989066eae5787a538f08f7a8dd0ea57c94e9 | Simon Sapin | 2017-03-31T18:06:37 | servo: Merge #16203 - Upgrade to rustc 1.18.0-nightly (474f7a91e 2017-03-31) (from servo:rustup); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e264be7dd7627965fd0a4b7f3e05457aed772a43 | diff --git a/script_plugins/unrooted_must_root.rs b/script_plugins/unrooted_must_root.rs
index c62796b7a..d86921131 100644
--- a/script_plugins/unrooted_must_root.rs
+++ b/script_plugins/unrooted_must_root.rs
@@ -138,7 +138,7 @@ impl<'a, 'tcx> LateLintPass<'a, 'tcx> for UnrootedPass {
visit::FnKind::Closur... | 2 | 12 | 13 |
e8b1e05b140a6cf6470417b171213d0bdd277c94 | Boris Zbarsky | 2017-03-31T16:05:50 | servo: Merge #16205 - Presentation hints should not get applied to pseudo-elements (from bzbarsky:fix-pseudo-preshints); r=Manishearth
Servo side of https://bugzilla.mozilla.org/show_bug.cgi?id=1352464
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please r... | diff --git a/style/stylist.rs b/style/stylist.rs
index f93d76a58..c02a5f197 100644
--- a/style/stylist.rs
+++ b/style/stylist.rs
@@ -622,19 +622,21 @@ impl Stylist {
CascadeLevel::UANormal);
debug!("UA normal: {:?}", relations);
- // Step 2: Presentationa... | 1 | 12 | 10 |
5db28f850ebaf27209b731a7ad7f09ff6959b2f1 | Emilio Cobos Álvarez | 2017-03-31T14:05:32 | servo: Merge #16204 - stylo: Relax assertion that doesn't hold in layout/style/test/test_pseudoelement_state.html (from emilio:unify-note-descendants); r=emilio
It deserves more investigation, we should probably clear NAC data on
ServoRestyleManager::ClearServoDataFromSubtree, but not worth to keep the tree
orange mea... | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index 84f6489b7..3aab96b36 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -511,7 +511,17 @@ impl<'le> TElement for GeckoElement<'le> {
}
unsafe fn note_descendants<B: DescendantsBit<Self>>(&self) {
- debug_assert!(self.... | 1 | 11 | 1 |
67712c2c2c8aa11ae1302da13e454bc42f54d2ca | Manish Goregaokar | 2017-03-31T11:01:06 | servo: Merge #16201 - stylo: Handle text-emphasis-position pres attrs (from Manishearth:text-emph-pos); r=emilio
Somehow slipped through the cracks.
try: https://treeherder.mozilla.org/#/jobs?repo=try&revision=e1d349e847b528be3d61ad2ebf374a791800cfbb
Source-Repo: https://github.com/servo/servo
Source-Revision: 955d3a... | diff --git a/style/properties/longhand/inherited_text.mako.rs b/style/properties/longhand/inherited_text.mako.rs
index 1ff10a506..b24cdbbca 100644
--- a/style/properties/longhand/inherited_text.mako.rs
+++ b/style/properties/longhand/inherited_text.mako.rs
@@ -1076,6 +1076,28 @@ ${helpers.single_keyword("text-align-las... | 1 | 22 | 0 |
18308b97fe8dc08f501f089cd8b4409dd0b0a8d1 | Emilio Cobos Álvarez | 2017-03-31T09:40:13 | servo: Merge #16196 - style: Make the servo and gecko implementations of Element::note_descendants equivalent (from emilio:unify-note-descendants); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 95e0532dd6e4b90051c291de199051328e7d796e | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index 661d32896..9a672ae7d 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -59,13 +59,13 @@ use std::marker::PhantomData;
use std::mem::transmute;
use std::sync::Arc;
use std::sync::atomic::Ordering;
+use style;
use style::attr... | 3 | 71 | 28 |
4b5e5a27d37ce2990ce5cfb84a968db1db63ae47 | Manish Goregaokar | 2017-03-31T03:22:26 | servo: Merge #16199 - stylo: Include content rules from HTMLTableCellElement::WalkContentStyleRules (from Manishearth:stylo-td-content); r=bz
This also removes the TABLE_ATTRS_DIRTY optimization. Constructing nsMappedAttributes isn't really expensive and we do it all the time anyway.
r=bz https://bugzilla.mozilla.org... | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index 2fee62cb2..6b912b2fd 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -33,6 +33,7 @@ use gecko_bindings::bindings::Gecko_ClassOrClassList;
use gecko_bindings::bindings::Gecko_ElementHasAnimations;
use gecko_bindings::bindings::Gecko... | 2 | 12 | 0 |
37025e226e3fe19f94d2f82d7eea1775dc472290 | streichgeorg | 2017-03-30T23:37:24 | servo: Merge #16166 - initial-letter property (from streichgeorg:initial-letter); r=emilio
<!-- Please describe your changes on the following line: -->
Implemented parsing and serialization for the initial-letter property.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step ... | diff --git a/style/properties/longhand/text.mako.rs b/style/properties/longhand/text.mako.rs
index 710150341..361ac2387 100644
--- a/style/properties/longhand/text.mako.rs
+++ b/style/properties/longhand/text.mako.rs
@@ -230,3 +230,74 @@ ${helpers.predefined_type(
products="gecko",
animatable=True,
spec=... | 1 | 71 | 0 |
c3697c8ecfb2990f06101d6959b5ba5bae72391d | Nazım Can Altınova | 2017-03-30T20:45:39 | servo: Merge #16194 - stylo: Serialize unquoted font-family without quote (from canaltinova:font-family); r=Manishearth
<!-- Please describe your changes on the following line: -->
Reviewed by Manishearth
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and r... | diff --git a/gfx/font_cache_thread.rs b/gfx/font_cache_thread.rs
index 4a25a5052..756d07448 100644
--- a/gfx/font_cache_thread.rs
+++ b/gfx/font_cache_thread.rs
@@ -269,7 +269,7 @@ impl FontCache {
});
}
Source::Local(ref font) => {
- let font_face_name = Lowerc... | 6 | 45 | 19 |
8c2de979dcf60a87fb38cdc527e1fef19ba779cf | Xidorn Quan | 2017-03-30T13:23:31 | servo: Merge #16192 - Output binding files to dist dir in addition (from upsuper:bug1350810); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1350810
Source-Repo: https://github.com/servo/servo
Source-Revision: 54e2b7b2d5eaa2b59c8d922de2344677871370a1 | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 2be69e798..287698adc 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -35,7 +35,7 @@ mod bindings {
use std::cmp;
use std::collections::HashSet;
use std::env;
- use std::fs::File;
+ use std::fs::{self, File};
use std... | 1 | 10 | 3 |
6e829e9434ca130379c52b1941f17f0613f75fc2 | Fernando Jiménez Moreno | 2017-03-30T12:31:02 | servo: Merge #16184 - Terminate timer scheduler thread during shutdown (from ferjm:issue-16153-terminate-time-scheduler-shutdown); r=jdm
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16153
Source-Repo: https://github.com/servo/servo
Sou... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 109e8bfd5..30f36cbaa 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -96,7 +96,7 @@ use profile_traits::time;
use script_traits::{AnimationState, AnimationTickType, CompositorEvent};
use script_trait... | 8 | 47 | 23 |
6ee4ba32246d72a50c378f10bec76b2f2a37a034 | Fernando Jiménez Moreno | 2017-03-30T00:38:45 | servo: Merge #16156 - Update http_network_or_cache_fetch according to spec (from ferjm:issue-16130-http-network-or-cache-fetch); r=jdm
There are still many steps blocked by the absence of an HTTP cache and the inability to trigger a credentials dialog.
- [X] `./mach build -d` does not report any errors
- [X] `./mach ... | diff --git a/net/http_loader.rs b/net/http_loader.rs
index 589164992..e8093ffdc 100644
--- a/net/http_loader.rs
+++ b/net/http_loader.rs
@@ -747,15 +747,17 @@ fn http_network_or_cache_fetch(request: Rc<Request>,
// TODO: Implement Window enum for Request
let request_has_no_window = true;
- // Step 1
+ ... | 1 | 111 | 104 |
6d9391141d8f6836ceb523e892ad43a4ed5094cb | n0max | 2017-03-29T20:12:07 | servo: Merge #16157 - Parse perspective property as non negative and add tests (from n0max:perspective_parse_non_negative); r=emilio
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` ... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index d0b4a5046..363964be7 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -1778,6 +1778,7 @@ ${helpers.single_keyword("resize",
${helpers.predefined_type("perspective",
... | 2 | 12 | 0 |
c8bdb2a2e2a1b8457015f2a099329fff8d099960 | Simon Sapin | 2017-03-29T18:43:06 | servo: Merge #16183 - Replace ParsedDeclaration::expand with non-generic method (from servo:expand-diet); r=emilio
... to reduce its code size impact.
https://bugzilla.mozilla.org/show_bug.cgi?id=1351737
Source-Repo: https://github.com/servo/servo
Source-Revision: f3a5ad2f497a13aff0faf7873ce98f0868e56101 | diff --git a/script/dom/cssstyledeclaration.rs b/script/dom/cssstyledeclaration.rs
index d5d248f78..384dfd4d4 100644
--- a/script/dom/cssstyledeclaration.rs
+++ b/script/dom/cssstyledeclaration.rs
@@ -272,10 +272,7 @@ impl CSSStyleDeclaration {
// Step 8
// Step 9
- *changed = fal... | 4 | 67 | 29 |
22f60331636956e3cd40ee399a30ac1b03db29c1 | Anthony Ramine | 2017-03-29T17:55:38 | servo: Merge #16180 - Make the WebSocket handshake ourselves 🍷 (from nox:tungstenite); r=jdm
HYPE
Source-Repo: https://github.com/servo/servo
Source-Revision: 76a2c9705a34d651a11caac98b4b023c79657368 | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index 27af691c7..4f5e91471 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -527,7 +527,7 @@ fn is_null_body_status(status: &Option<StatusCode>) -> bool {
}
/// https://fetch.spec.whatwg.org/#should-response-to-request-be-blocked-due-to-nosniff... | 6 | 631 | 131 |
8ca37b50b6ac87bd911083cbb93e3dedd4985061 | Bobby Holley | 2017-03-29T17:16:35 | servo: Merge #16163 - stylo: Remove ThreadSafeArray (from bholley:revert_threadsafe_array); r=bholley
See https://bugzilla.mozilla.org/show_bug.cgi?id=1350244
This reverts https://bugzilla.mozilla.org/show_bug.cgi?id=1348606
Source-Repo: https://github.com/servo/servo
Source-Revision: a54e4f33eee1a3600beda89e5699dd7... | diff --git a/style/gecko_bindings/structs_debug.rs b/style/gecko_bindings/structs_debug.rs
index 8e9f8e850..640b66f1b 100644
--- a/style/gecko_bindings/structs_debug.rs
+++ b/style/gecko_bindings/structs_debug.rs
@@ -8389,6 +8389,7 @@ pub mod root {
}
pub type pair_first_type<_T1> = _T1;
pub ... | 3 | 135 | 238 |
49bcd8c258a3aaeeed6d3c7745e3e06b2fafc122 | Emilio Cobos Álvarez | 2017-03-29T13:48:12 | servo: Merge #16177 - Bug 1350140: stylo: Implement all the remaining state pseudo-classes (from emilio:stylo-pseudo-classes); r=heycam,jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1d98e3406a5acacfd5a203ede54f3df9b7c2a9a0 | diff --git a/style/element_state.rs b/style/element_state.rs
index 842285c8e..530de486c 100644
--- a/style/element_state.rs
+++ b/style/element_state.rs
@@ -4,64 +4,116 @@
//! States elements can be in.
-#![deny(missing_docs)]
-
bitflags! {
- #[doc = "Event-based element states."]
+ /// Event-based element ... | 6 | 268 | 95 |
2135c9d9a83416b4fcaf18247731c616d915f0d1 | Boris Chiou | 2017-03-29T12:42:22 | servo: Merge #16178 - stylo: Bug 1336769 - Make Angle constructors return a finite value (from BorisChiou:stylo/animation/parse_angle); r=emilio
It is possible to input an extra large angle, e.g. rotate(9.5e+307rad), so we need to clamp it to avoid any assertion in Gecko.
---
- [X] `./mach build -d` does not report a... | diff --git a/style/values/specified/mod.rs b/style/values/specified/mod.rs
index dfdc88c20..ccb3878cf 100644
--- a/style/values/specified/mod.rs
+++ b/style/values/specified/mod.rs
@@ -13,6 +13,7 @@ use parser::{ParserContext, Parse};
use self::grid::{TrackBreadth as GenericTrackBreadth, TrackSize as GenericTrackSize}... | 1 | 4 | 8 |
b32a9e754b87a329b6c751c84b709ac86885a4a2 | Bobby Holley | 2017-03-29T11:52:07 | servo: Merge #16159 - Centralize note_dirty_descendants implementation, and fully propagate dirty_descendants in resolve_style (from bholley:note_dirty_descendants); r=heycam
The current code can leave the tree in an inconsistent state, with the dirty
descendants bit not fully propagated.
Reviewed in https://bugzilla... | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index adf47842e..661d32896 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -63,7 +63,8 @@ use style::attr::AttrValue;
use style::computed_values::display;
use style::context::{QuirksMode, SharedStyleContext};
use style::data::El... | 3 | 61 | 16 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.