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 |
|---|---|---|---|---|---|---|---|
6217e3db4394f54dd4a961f494f470d9d3d8d0de | Manish Goregaokar | 2017-05-27T05:18:01 | servo: Merge #17057 - Don't set root font size when styling NAC (from Manishearth:nonac); r=emilio
try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=ad4acc4941dd91d10e3646ecd7fa03576fc75342
Source-Repo: https://github.com/servo/servo
Source-Revision: 6706c818371c18e23e75de59aebc7327be67ead8 | diff --git a/style/matching.rs b/style/matching.rs
index c26ed8399..25349b545 100644
--- a/style/matching.rs
+++ b/style/matching.rs
@@ -13,8 +13,9 @@ use data::{ComputedStyle, ElementData, RestyleData};
use dom::{TElement, TNode};
use font_metrics::FontMetricsProvider;
use log::LogLevel::Trace;
+use properties::{AL... | 2 | 15 | 2 |
71cf01e75c29649c6c271ec1b661dc23cbf4c723 | Matt Brubeck | 2017-05-26T17:18:12 | servo: Merge #17042 - Update dependencies (from mbrubeck:always-be-updating); r=jdm
No Cargo.toml changes except `base64` which is updated from 0.4.2 to 0.5.2. Does not affect stylo. No new crates in the dependency graph.
Source-Repo: https://github.com/servo/servo
Source-Revision: 0f5ccdb589f484e17908811173893abc2... | diff --git a/net/Cargo.toml b/net/Cargo.toml
index e241d55f9..9833f2562 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -10,7 +10,7 @@ name = "net"
path = "lib.rs"
[dependencies]
-base64 = "0.4.2"
+base64 = "0.5.2"
brotli = "1.0.6"
cookie = "0.6"
devtools_traits = {path = "../devtools_traits"}
diff --git a/s... | 3 | 3 | 3 |
2a71c110364481ca16c68271901a184ae1b4b108 | Brian Birtles | 2017-05-26T12:34:16 | servo: Merge #17050 - Fix calculation of base styles to drop animation rules (from birtles:fix-base-styles); r=hiro
It seems that changeset 97ce9ed5b08f7b1c7c6cd71a9499068b8bd2ae4e mistakenly changed the check that a cascade level to keep is *not* an animation level to a check that it *is* an animation level.
This pa... | diff --git a/style/rule_tree/mod.rs b/style/rule_tree/mod.rs
index bb13836c2..22a862cac 100644
--- a/style/rule_tree/mod.rs
+++ b/style/rule_tree/mod.rs
@@ -369,7 +369,7 @@ impl RuleTree {
let mut last = path;
let mut children = vec![];
for node in iter {
- if node.cascade_level().... | 1 | 1 | 1 |
9f1304aade59a71b610535ce50cf605bfc57b12a | Jeremy Chen | 2017-05-26T08:40:38 | servo: Merge #17053 - style: Compute and store SVG unitless length as a factor number (from chenpighead:stylo-svg-unitless-length); r=heycam
There are 3 SVG properties that accept SVG unitless length, stroke-width, stroke-dasharray, and stroke-dashoffset. We compute and store SVG unitless length as a factor number for... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index bf55c66f9..a0a372bcb 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -3994,7 +3994,7 @@ clip-path
</%self:impl_trait>
<%self:impl_trait style_struct_name="InheritedSVG"
- skip_long... | 2 | 46 | 7 |
518fef0c72d6b1dc3cff6a53fdb9449dcfe0a65b | jklepatch | 2017-05-26T05:24:06 | servo: Merge #17049 - Fixed typo in components/constellation/browsingcontext.rs (from jklepatch:fix_typo_in_browsingcontext.rs); r=jdm
Changed a typo in a comment:
"Each browsing contest..." into "Each browsing context..."
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any... | diff --git a/constellation/browsingcontext.rs b/constellation/browsingcontext.rs
index a75ed4900..42561d091 100644
--- a/constellation/browsingcontext.rs
+++ b/constellation/browsingcontext.rs
@@ -14,7 +14,7 @@ use style_traits::CSSPixel;
/// The constellation's view of a browsing context.
/// Each browsing context... | 1 | 1 | 1 |
be1fac26ab2fc98b7f037802fe7c25d7fb457e68 | Emilio Cobos Álvarez | 2017-05-26T00:58:47 | servo: Merge #17025 - script/layout: Stop doing unsafe transmutes between refcell references (from emilio:layout-data); r=jdm
This commit splits the style and layout data in two separate refcells.
These transmutes have been a source of trouble (for example on Android), and
they feel like a hack anyway.
Fixes #16982
... | diff --git a/layout/construct.rs b/layout/construct.rs
index a3b062a5f..cbb440054 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -17,7 +17,7 @@ use StyleArc;
use app_units::Au;
use block::BlockFlow;
use context::{LayoutContext, with_thread_local_font_context};
-use data::{HAS_NEWLY_CONSTRUCTED_FLOW, P... | 7 | 78 | 66 |
437c3eb2773ef3be9978fcf72a29c11bb14c2b75 | Manish Goregaokar | 2017-05-25T23:29:52 | servo: Merge #17041 - Move root_font_size to the device (from Manishearth:root_font_size); r=emilio
ComputedValues is heap allocated, and the number of CVs grows with the number of elements, so we should keep it small. The root_font_size is the same for the document, so we should stash it on the device and use that in... | diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs
index cdf79c270..7ba4959ee 100644
--- a/style/gecko/media_queries.rs
+++ b/style/gecko/media_queries.rs
@@ -17,7 +17,9 @@ use gecko_bindings::structs::RawGeckoPresContextOwned;
use media_queries::MediaType;
use parser::ParserContext;
use proper... | 6 | 105 | 53 |
0d2fb8a20d996649c1f078a84a1b71faf6e6bb9a | Imanol Fernandez | 2017-05-25T12:12:11 | servo: Merge #17031 - Update rust-webvr (from MortimerGoro:update_webvr); r=emilio
<!-- Please describe your changes on the following line: -->
Required for https://github.com/servo/servo/issues/16556
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and repl... | diff --git a/config/Cargo.toml b/config/Cargo.toml
index e8668a019..5049bb8a3 100644
--- a/config/Cargo.toml
+++ b/config/Cargo.toml
@@ -29,4 +29,4 @@ env_logger = "0.4"
xdg = "2.0"
[target.'cfg(target_os = "android")'.dependencies]
-android_injected_glue = {git = "https://github.com/mmatyas/android-rs-injected-glu... | 5 | 48 | 4 |
2a44d4fc8952bb74818bca0ad97dc287bb719718 | Xidorn Quan | 2017-05-25T09:10:43 | servo: Merge #17035 - Allow text to be in background shorthand (from upsuper:bug1188074); r=heycam
Servo side change of [bug 1188074](https://bugzilla.mozilla.org/show_bug.cgi?id=1188074).
Source-Repo: https://github.com/servo/servo
Source-Revision: 3016a036503b541f2e4b5693b496ebdc0f5ca411 | diff --git a/style/properties/shorthand/background.mako.rs b/style/properties/shorthand/background.mako.rs
index 5a7747cf3..36652a735 100644
--- a/style/properties/shorthand/background.mako.rs
+++ b/style/properties/shorthand/background.mako.rs
@@ -72,13 +72,6 @@
if ${name}.is_none() {
... | 1 | 0 | 7 |
1d8ea4009d343bd81b8b71d0e71eb2ed77a92dad | Boris Zbarsky | 2017-05-25T07:07:08 | servo: Merge #17026 - mathvariant attributes should affect computed font style and weight in stylo (from bzbarsky:mathvariant); r=Manishearth
<!-- 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 rep... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index d9990d9df..bbeb892d1 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -2192,7 +2192,7 @@ ${helpers.single_keyword("-moz-math-display",
need_clon... | 2 | 19 | 1 |
55680fd226550ea3b7da4de7fe0ad3426cabad5e | Ravi Shankar | 2017-05-25T05:31:49 | servo: Merge #17021 - Stylo: Wrap up grid (from servo:grid); r=nox
Adds the final piece for grid (`grid-template` and `grid` shorthands), fixes #15307
Source-Repo: https://github.com/servo/servo
Source-Revision: 9e7f02ba77f09b1ca6bb090dfb7beebe15c5dc62 | diff --git a/style/properties/longhand/position.mako.rs b/style/properties/longhand/position.mako.rs
index 324b0112f..754fc9473 100644
--- a/style/properties/longhand/position.mako.rs
+++ b/style/properties/longhand/position.mako.rs
@@ -223,6 +223,7 @@ ${helpers.predefined_type("object-position",
${helpers.predefi... | 3 | 287 | 7 |
a59c6044d0b44d26f3aea542ea69d4b44bbf637d | Brad Werth | 2017-05-25T04:26:23 | servo: Merge #17028 - Stylo: Deep clone ServoStyleSheets (from bradwerth:innerClone); r=heycam
MozReview-Commit-ID: 6hYIcOa86Y
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1339629
https://reviewboard.mozilla.org/r/135314/
---
<!-- Thank you for contributin... | diff --git a/style/counter_style/mod.rs b/style/counter_style/mod.rs
index b1c461b43..20cd638b7 100644
--- a/style/counter_style/mod.rs
+++ b/style/counter_style/mod.rs
@@ -142,7 +142,7 @@ macro_rules! counter_style_descriptors {
$( #[$doc: meta] $name: tt $ident: ident / $gecko_ident: ident: $ty: ty = $initia... | 8 | 215 | 10 |
f380946983cd93cc185949d37b9d722e5cc9f535 | Emilio Cobos Álvarez | 2017-05-25T03:20:37 | servo: Merge #17006 - style: Reject non-positive resolution values in media queries (from emilio:negative-resolution); r=upsuper
Fixes https://bugzilla.mozilla.org/show_bug.cgi?id=1366961
See: https://github.com/w3c/csswg-drafts/issues/1454
Source-Repo: https://github.com/servo/servo
Source-Revision: 8d950bd62036cebeb... | diff --git a/style/gecko/media_queries.rs b/style/gecko/media_queries.rs
index 4105e685c..cdf79c270 100644
--- a/style/gecko/media_queries.rs
+++ b/style/gecko/media_queries.rs
@@ -185,6 +185,10 @@ impl Resolution {
_ => return Err(()),
};
+ if value <= 0. {
+ return Err(())
+ ... | 1 | 4 | 0 |
69ea7d2240dd3635f397808aa9632601c5f2ce79 | Xidorn Quan | 2017-05-24T22:26:03 | servo: Merge #17016 - Use struct rather than nsCSSValue::Array to store counter functions in Gecko (from upsuper:bug1366735); r=heycam
This is the Servo side change for [bug 1366735](https://bugzilla.mozilla.org/show_bug.cgi?id=1366735).
Source-Repo: https://github.com/servo/servo
Source-Revision: e457d22f81ac0f45c4d... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 6a5dca5ea..028b4678c 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -80,6 +80,9 @@ unsafe impl Sync for nsStyleContent {}
use gecko_bindings::structs::nsStyleContentData;
unsafe impl Sen... | 5 | 154 | 23 |
a9dc7bb9ee3c28746daced7afc1367ce9bf1209f | Manish Goregaokar | 2017-05-24T21:08:02 | servo: Merge #17027 - Rollup of 9 pull requests (from Manishearth:rollup); r=Manishearth
- Successful merges: #16993, #17000, #17010, #17013, #17014, #17017, #17019, #17020, #17022
- Failed merges:
Source-Repo: https://github.com/servo/servo
Source-Revision: 8ae546f7ea158466441987d4a86c5c440f0a5e00 | diff --git a/script/textinput.rs b/script/textinput.rs
index 144be9dbd..b508ba280 100644
--- a/script/textinput.rs
+++ b/script/textinput.rs
@@ -632,14 +632,6 @@ impl<T: ClipboardProvider> TextInput<T> {
self.insert_char(c);
KeyReaction::DispatchInput
},
- #[cfg... | 18 | 297 | 177 |
9ce504b1fa461e55565a3d68c01ac009347d8595 | Glenn Watson | 2017-05-24T14:21:07 | servo: Merge #17015 - Fix the -Z wr-no-batch option (from glennw:fix-batching); r=jdm
The DebugOpts struct uses the Default trait to set all the values
to false initialily. So bools in the DebugOpts struct must be
negative verbs to work correctly.
This drops the draw call count on HN from ~2000 back to ~5.
Source-Re... | diff --git a/config/opts.rs b/config/opts.rs
index 84a8a6499..2a51577b1 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -310,7 +310,7 @@ pub struct DebugOptions {
pub webrender_record: bool,
/// Enable webrender instanced draw call batching.
- pub webrender_batch: bool,
+ pub webrender_disable_bat... | 1 | 3 | 3 |
360a7a74903bcc544d4b173bd06e625316e54e5b | Emilio Cobos Álvarez | 2017-05-24T12:12:25 | servo: Merge #16974 - style: Minor cleanups in the rule tree code (from emilio:rule-tree-cleanup); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: df9286d67c51f7598862a275ebcf874eb83ec151 | diff --git a/style/rule_tree/mod.rs b/style/rule_tree/mod.rs
index bfc6c19bf..8b288b824 100644
--- a/style/rule_tree/mod.rs
+++ b/style/rule_tree/mod.rs
@@ -562,7 +562,7 @@ impl RuleNode {
// Store the `next` pointer as appropriate, either in the previous
// sibling, or in the parent otherwise.
- ... | 1 | 65 | 51 |
b06b6a97dfb76cbbe14eee70d05d2ca7284eaf69 | Anthony Ramine | 2017-05-24T07:18:01 | servo: Merge #17002 - Introduce style::values::generics::rect ▭ (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: b4cebe1920ee9dc64f1a080fb940ea77743692a2 | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 63ec70b70..13829e883 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -1429,8 +1429,7 @@ impl FragmentDisplayListBuilding for Fragment {
... | 14 | 357 | 447 |
d2c0342b2cb822b2bc7bc80764a85835b5dbc5e0 | Boris Zbarsky | 2017-05-24T01:39:24 | servo: Merge #16999 - Fix stylo's text-overflow handling to match gecko (from bzbarsky:fix-text-overflow-handling); r=Manishearth
A single value sets the text-overflow on the _end_ of the text, not both start and end.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to... | diff --git a/layout/inline.rs b/layout/inline.rs
index f3dc8fc53..8a54eac9e 100644
--- a/layout/inline.rs
+++ b/layout/inline.rs
@@ -713,7 +713,7 @@ impl LineBreaker {
let available_inline_size = self.pending_line.green_zone.inline -
self.pending_line.bounds.size.inline - indentation;
- l... | 3 | 67 | 13 |
1ade9c23cab5a75aa6ef2299c2d6be5a6ec1e199 | Boris Zbarsky | 2017-05-23T21:52:31 | servo: Merge #16998 - The 'contain' property can affect whether a box is a fixed-pos containing block (from bzbarsky:fix-contain-flags); r=emilio
This makes will-change:contain work correctly.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace ea... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index c0e2709b5..8b8eedd74 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -2219,6 +2219,7 @@ ${helpers.single_keyword("transform-style",
// like `content`(layout style paint) in... | 1 | 1 | 0 |
5d35127b896bc400e676735d88aa4a711e0e4ad3 | Emilio Cobos Álvarez | 2017-05-23T15:50:13 | servo: Merge #17005 - stylo: Fixup an embarrassing typo that has turned everything orange (from emilio:backdrop-fixup); r=emilio
I messed up when turning the conditions the other way around in #16981.
Source-Repo: https://github.com/servo/servo
Source-Revision: 5e58c522723a8d5aa819012cf700df87c9279778 | diff --git a/style/gecko/pseudo_element.rs b/style/gecko/pseudo_element.rs
index 93da2b589..a501198f2 100644
--- a/style/gecko/pseudo_element.rs
+++ b/style/gecko/pseudo_element.rs
@@ -55,7 +55,7 @@ impl PseudoElement {
/// This is not the common thing, but there are some pseudos (namely:
/// ::backdrop), tha... | 1 | 1 | 1 |
1b98697be5c34f8500ce2f290647db7b00f1c446 | Emilio Cobos Álvarez | 2017-05-23T13:40:37 | servo: Merge #16990 - Remove dead code in restyle_hints submodule, and move SelectorMap to its own submodule (from emilio:selector-map); r=upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: f35c7a577d6b2709bf75592e091479774d55bae7 | diff --git a/style/gecko/data.rs b/style/gecko/data.rs
index b95e938d3..88c94a287 100644
--- a/style/gecko/data.rs
+++ b/style/gecko/data.rs
@@ -5,20 +5,16 @@
//! Data needed to style a Gecko document.
use Atom;
-use animation::Animation;
use atomic_refcell::{AtomicRef, AtomicRefCell, AtomicRefMut};
-use dom::Opaq... | 5 | 473 | 491 |
231aa26c1cc829c0985de6821597969e36a67045 | Emilio Cobos Álvarez | 2017-05-23T11:35:16 | servo: Merge #16985 - layout: Stop mutating the style data from layout (from emilio:cache); r=bholley
This is part of #16982.
Right now we have some code that tries to cache stuff in the style data during
layout.
This code is extremely rarely executed, only for `<details>` and `<summary>`.
I think if we really real... | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index fca0f0949..5241d0178 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -30,7 +30,7 @@
#![allow(unsafe_code)]
-use atomic_refcell::AtomicRefCell;
+use atomic_refcell::{AtomicRef, AtomicRefCell};
use dom::bindings::inherita... | 3 | 32 | 60 |
5d064e7889f53580a423f16093137b03027189c1 | Emilio Cobos Álvarez | 2017-05-23T09:58:53 | servo: Merge #16983 - style: Remove unneeded indirection in traversal code (from emilio:indir-data); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: e24d96cdd04fb40c0681a6ba46476ba04607f573 | diff --git a/style/matching.rs b/style/matching.rs
index 194c83cf6..e0a8e4ec7 100644
--- a/style/matching.rs
+++ b/style/matching.rs
@@ -7,7 +7,6 @@
#![allow(unsafe_code)]
#![deny(missing_docs)]
-use atomic_refcell::AtomicRefMut;
use cascade_info::CascadeInfo;
use context::{SelectorFlagsMap, SharedStyleContext, S... | 2 | 12 | 12 |
74b4a137de18a0527ad1bb2c471a7021db09b81a | Emilio Cobos Álvarez | 2017-05-23T07:25:07 | servo: Merge #16981 - Bug 1366427: Make backdrop not inherit from the parent element. r=heycam (from emilio:backdrop); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 17069f4876670d5a4f310e449f8bc78bbb45c827 | diff --git a/style/gecko/pseudo_element.rs b/style/gecko/pseudo_element.rs
index b15e17e6f..93da2b589 100644
--- a/style/gecko/pseudo_element.rs
+++ b/style/gecko/pseudo_element.rs
@@ -49,6 +49,15 @@ impl PseudoElement {
PseudoElementCascadeType::Lazy
}
+ /// Whether the pseudo-element should inherit... | 2 | 12 | 3 |
ce0dbb6a5ee4a585da0f81819934c53579f1698b | Manfred Brandl | 2017-05-23T05:31:15 | servo: Merge #16979 - remove unused style::restyle_hints::RestyleReplacements (from manfredbrandl:patch-1); r=emilio
<!-- Please describe your changes on the following line: -->
remove unused style::restyle_hints::RestyleReplacements from line 134
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 378dee975..0e775d018 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -131,7 +131,7 @@ use std::rc::Rc;
use std::time::{Duration, Instant};
use style::attr::AttrValue;
use style::context::{QuirksMode, ReflowGoal};
-use style::resty... | 1 | 1 | 1 |
4873f211da8ea81e8d230d472f9dfcb13afa6432 | Behnam Esfahbod | 2017-05-23T04:06:07 | servo: Merge #16779 - [gfx] [layout] [style] Upgrade unicode-bidi to 0.3 (from behnam:bidi-0.3); r=mbrubeck
Depends on https://github.com/servo/unicode-bidi/pull/27 , which
upgrades `unicode-bidi` crate to `0.3.0`.
Summary of changes:
* Use `unicode_bidi::Level` (instead of `u8`) in all relevant places and
replace m... | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index 843f7f833..dfbe6ab58 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -37,6 +37,7 @@ smallvec = "0.3"
style = {path = "../style"}
style_traits = {path = "../style_traits"}
time = "0.1.12"
+unicode-bidi = {version = "0.3", features = ["with_serde"]}
unicode-scrip... | 9 | 40 | 27 |
42ada76395fe0adf3c7ca3fc04ac5799626a7115 | heyzoos | 2017-05-23T01:12:46 | servo: Merge #16968 - Stylist accessors (from HeyZoos:stylist-accessors); r=emilio
<!-- Please describe your changes on the following line: -->
Add accessor methods for the `device` and `ruleset` fields in the `Stylist` struct.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the ... | diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs
index 4a3ceaab8..bb0c77cee 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -462,7 +462,7 @@ impl LayoutThread {
for stylesheet in &ua_stylesheets.user_or_user_agent_stylesheets {
add_font_face_rules(stylesheet,
... | 6 | 34 | 21 |
b4e86f444f8c588533c93b148e9c1c13785f8dfc | Anthony Ramine | 2017-05-22T21:46:30 | servo: Merge #16947 - Parse -moz-alt-content as a whole content value (fixes #15726) (from nox:moz-alt-content); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: a03d0b8472a30379dd85c2cb326f9595c7559be6 | diff --git a/layout/wrapper.rs b/layout/wrapper.rs
index 9ceee25a7..a63d69430 100644
--- a/layout/wrapper.rs
+++ b/layout/wrapper.rs
@@ -148,7 +148,7 @@ impl<T: ThreadSafeLayoutNode> ThreadSafeLayoutNodeHelpers for T {
let style = self.as_element().unwrap().resolved_style();
return match sty... | 4 | 37 | 31 |
544483feeafa3e80ba65a41db9b833a4bf31d59d | Mats Palmgren | 2017-05-22T18:36:36 | servo: Merge #16996 - Back out webkit-appearance support in stylo for now (from bzbarsky:backout-webkit-appearance); r=bzbarsky
See https://bugzilla.mozilla.org/show_bug.cgi?id=1365614 for web compat issues this causes.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing ... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 46897b1e0..c0e2709b5 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -2310,15 +2310,6 @@ ${helpers.single_keyword("transform-style",
}
</%helpers:longhand>
-${helper... | 1 | 1 | 10 |
7023715075b1192dea0e91f325019e81c3eca04b | Malo Jaffré | 2017-05-22T14:42:20 | servo: Merge #16970 - Refactor grid style types and impls (from MaloJaffre:grid_cleanup); r=wafflespeanut
Fixes #16949.
- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes do not require tests because it's just a refactor
Source-Repo: https://gith... | diff --git a/style/gecko/values.rs b/style/gecko/values.rs
index 63b035447..62cad421e 100644
--- a/style/gecko/values.rs
+++ b/style/gecko/values.rs
@@ -17,8 +17,8 @@ use values::computed::{LengthOrPercentageOrNone, Number, NumberOrPercentage};
use values::computed::{MaxLength, MozLength};
use values::computed::basic... | 7 | 572 | 552 |
b72221b96bc9583b71615d6d7093b5c043c1fa2d | Carsten "Tomcat" Book | 2017-05-22T13:45:27 | Backed out changeset fde1635233e9 (bug 1365614) | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index b809a8024..fe9aa583a 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -2310,6 +2310,15 @@ ${helpers.single_keyword("transform-style",
}
</%helpers:longhand>
+${helper... | 1 | 10 | 1 |
cef840e0c08e3796d3b35666f576b6fa666e41ce | Hiroyuki Ikezoe | 2017-05-22T06:46:01 | servo: Merge #16962 - Prefixed intrinsic size value (from hiikezoe:prefixed-intrinsic-size-value); r=Manishearth
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1355402
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy... | diff --git a/style/gecko/values.rs b/style/gecko/values.rs
index 1126d4787..63b035447 100644
--- a/style/gecko/values.rs
+++ b/style/gecko/values.rs
@@ -14,7 +14,7 @@ use std::cmp::max;
use values::{Auto, Either, ExtremumLength, None_, Normal};
use values::computed::{Angle, LengthOrPercentage, LengthOrPercentageOrAut... | 10 | 223 | 219 |
3072b666675f87847d4bdda894d7dc88ff97b607 | Hiroyuki Ikezoe | 2017-05-22T04:22:35 | servo: Merge #16959 - Font serialization for canvas (from hiikezoe:font-serialization-for-canvas); r=Manishearth,emilio
<!-- Please describe your changes on the following line: -->
This is a PR for https://bugzilla.mozilla.org/show_bug.cgi?id=1362914
---
<!-- Thank you for contributing to Servo! Please replace each `[... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index c88d389bd..5f0f0d19a 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -2471,6 +2471,11 @@ extern "C" {
CSSPseudoElementType)
... | 5 | 105 | 48 |
a5206213f86f4d938de676c2fca2c25a15ab8636 | Dzmitry Malyshau | 2017-05-22T00:07:40 | servo: Merge #16958 - -Z wr-no-batch option (from kvark:no-batch); r=jdm
<!-- Please describe your changes on the following line: -->
This new debug option exposes https://github.com/servo/webrender/pull/1186
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, ... | diff --git a/config/opts.rs b/config/opts.rs
index 1b0938a5e..84a8a6499 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -190,6 +190,9 @@ pub struct Opts {
/// True if webrender recording should be enabled.
pub webrender_record: bool,
+ /// True if webrender is allowed to batch draw calls as instances... | 2 | 11 | 0 |
ea7dccccdb5c4d1182fda41fe998f238f6357b0c | Emilio Cobos Álvarez | 2017-05-21T20:40:41 | servo: Merge #16988 - Revert "Auto merge of #16976 - upsuper:bug1366247, r=nox" for breaking the world (from emilio:backout); r=emilio
This reverts commit 3d40b516c8ac6e946cadace2378581cbac7b1e1b, reversing
changes made to 255387a915ef83db6b11d976f89c10b518c97487.
Source-Repo: https://github.com/servo/servo
Source-Re... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 298740870..c88d389bd 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1,13 +1,13 @@
/* automatically generated by rust-bindgen */
pub use nsstring::{nsACString, nsAString, nsString, nsS... | 6 | 26 | 75 |
3dcefa450e932a4d7215e17ab310f657db2580d7 | Matt Brubeck | 2017-05-21T19:09:52 | servo: Merge #16956 - stylo: Use correct counts when copying from image layers (from mbrubeck:cleanup); r=Manishearth
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes do not require tests because they are code cleanup.
Source-Repo: https:/... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 0736d34e9..0fb75af9d 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2769,19 +2769,18 @@ fn static_assert() {
pub fn copy_${shorthand}_${name}_from(&mut self, other: &Self) {
use gecko_b... | 1 | 10 | 13 |
e023b85dd7c1d46f3fd2995cc27f5ef4e01055a4 | Emilio Cobos Álvarez | 2017-05-21T15:36:54 | servo: Merge #16984 - Bug 1365629: Respect parsing mode in LengthOrPercentage. r=canaltinova (from emilio:lop-parsing-mode); r=canaltinova
Source-Repo: https://github.com/servo/servo
Source-Revision: 0566c601570bc5367db0b9696cb3616405c6a8ca | diff --git a/style/values/specified/length.rs b/style/values/specified/length.rs
index 830b433b8..56b1d903d 100644
--- a/style/values/specified/length.rs
+++ b/style/values/specified/length.rs
@@ -620,7 +620,8 @@ impl Length {
Token::Dimension(ref value, ref unit) if num_context.is_ok(value.value) =>
... | 1 | 12 | 5 |
434e8eb460c31bdeba8561159b85e70abda6c984 | Anthony Ramine | 2017-05-21T13:48:10 | servo: Merge #16973 - Derive ToComputedValue (from servo:derive-all-the-things); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: a25b1e5fe3ee1c88a029835e5e27c73fdbdafa2c | diff --git a/geometry/lib.rs b/geometry/lib.rs
index 453cf0997..8b98301dd 100644
--- a/geometry/lib.rs
+++ b/geometry/lib.rs
@@ -10,7 +10,6 @@ use app_units::{Au, MAX_AU, MIN_AU};
use euclid::point::Point2D;
use euclid::rect::Rect;
use euclid::size::Size2D;
-use std::i32;
// Units for use with euclid::length and ... | 19 | 267 | 448 |
75a74ebd5067355d34991244ecd1768165ce1afa | Xidorn Quan | 2017-05-21T10:28:58 | servo: Merge #16976 - Add sugar for already_AddRefed (from upsuper:bug1366247); r=nox
This is Servo side change of [bug 1366247](https://bugzilla.mozilla.org/show_bug.cgi?id=1366247).
Source-Repo: https://github.com/servo/servo
Source-Revision: 3d40b516c8ac6e946cadace2378581cbac7b1e1b | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index c88d389bd..298740870 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1,13 +1,13 @@
/* automatically generated by rust-bindgen */
pub use nsstring::{nsACString, nsAString, nsString, nsS... | 6 | 75 | 26 |
5f7a762ff7f0c122661c2dfcaea7865113dbb0e1 | Bobby Holley | 2017-05-21T06:12:22 | servo: Merge #16971 - Rewrite parallel.rs (from bholley:fix_parallelism); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1366347
Source-Repo: https://github.com/servo/servo
Source-Revision: f14eeb00c0d9c76ead36d9caecafb218598525b1 | diff --git a/layout/parallel.rs b/layout/parallel.rs
index 6128abbda..ada231b81 100644
--- a/layout/parallel.rs
+++ b/layout/parallel.rs
@@ -17,12 +17,17 @@ use servo_config::opts;
use std::mem;
use std::sync::atomic::{AtomicIsize, Ordering};
use style::dom::UnsafeNode;
-use style::parallel::CHUNK_SIZE;
use travers... | 2 | 155 | 36 |
79f69a4c279e6483e0f4d7762aeba7978a9ec2c6 | Emilio Cobos Álvarez | 2017-05-21T02:11:38 | servo: Merge #16972 - style: Move all the style sharing code outside matching.rs (from emilio:sanity-is-important-most-of-the-time); r=bholley
This is just a code health change. I want to move it away to keep matching.rs as
simple as possible.
Source-Repo: https://github.com/servo/servo
Source-Revision: 03fbea4ec8af3... | diff --git a/style/context.rs b/style/context.rs
index a628ef137..f0fadc4bd 100644
--- a/style/context.rs
+++ b/style/context.rs
@@ -17,13 +17,13 @@ use euclid::Size2D;
use fnv::FnvHashMap;
use font_metrics::FontMetricsProvider;
#[cfg(feature = "gecko")] use gecko_bindings::structs;
-use matching::StyleSharingCandid... | 6 | 585 | 499 |
e993aae17eec6d721c6d01967c44add2bb0fec2e | Simon Sapin | 2017-05-21T00:28:59 | servo: Merge #16950 - Fix warning in a future compiler version (from servo:warn); r=nox
(Do not upgrade yet because of https://github.com/rust-lang/rust/issues/42101)
Source-Repo: https://github.com/servo/servo
Source-Revision: dbd4adf3b266fb8d02cb717bc255c04f0fe41c05 | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 191dca525..dc9814c18 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -1315,6 +1315,7 @@ ${helpers.single_keyword_system("font-kerning",
}
</%helpers:longhand>
+#... | 1 | 1 | 0 |
b26feb316b94069e28b98ca91843bc04c5ebfe3c | Emilio Cobos Álvarez | 2017-05-20T22:17:05 | servo: Merge #16943 - style: Make a bloom filter arrive to restyle hint computation (from emilio:bloom-restyle-hints); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: d98abe1397ae9e100d6ee490d69e0fb1a32fd3e6 | diff --git a/style/bloom.rs b/style/bloom.rs
index 7633d154f..f5df67e6a 100644
--- a/style/bloom.rs
+++ b/style/bloom.rs
@@ -9,6 +9,7 @@
use dom::{SendElement, TElement};
use selectors::bloom::BloomFilter;
+use smallvec::SmallVec;
/// A struct that allows us to fast-reject deep descendant selectors avoiding
///... | 5 | 115 | 43 |
bd27a8fa25e9b077d2c130905f8709d73bf89b04 | Imanol Fernandez | 2017-05-20T20:04:43 | servo: Merge #16933 - Implement MutationObserver childList mutations (from MortimerGoro:mutation_children); r=jdm
<!-- Please describe your changes on the following line: -->
Implement MutationObserver childList mutations
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step ... | diff --git a/script/dom/mutationobserver.rs b/script/dom/mutationobserver.rs
index 48c8fe24b..84d34af01 100644
--- a/script/dom/mutationobserver.rs
+++ b/script/dom/mutationobserver.rs
@@ -29,9 +29,10 @@ pub struct MutationObserver {
record_queue: DOMRefCell<Vec<Root<MutationRecord>>>,
}
-#[derive(Clone)]
-pub ... | 4 | 112 | 17 |
71ec917e26c2116eab006ae86462d88ef4221ebf | Emilio Cobos Álvarez | 2017-05-20T14:15:27 | servo: Merge #16961 - style: Move some bloom filter code outside of matching.rs (from emilio:bloom-simplify); r=heycam
Also simplify it, while we're at it.
Source-Repo: https://github.com/servo/servo
Source-Revision: 3ca7f4fc9296c2dd53e644ac25ddaa6411147d24 | diff --git a/style/bloom.rs b/style/bloom.rs
index e8ba95aeb..7633d154f 100644
--- a/style/bloom.rs
+++ b/style/bloom.rs
@@ -8,7 +8,6 @@
#![deny(missing_docs)]
use dom::{SendElement, TElement};
-use matching::MatchMethods;
use selectors::bloom::BloomFilter;
/// A struct that allows us to fast-reject deep descen... | 2 | 34 | 54 |
4c901c75493f8cd6bbb94d2b86eaca05e60935f4 | Manish Goregaokar | 2017-05-20T04:09:20 | servo: Merge #16914 - Update app_units to 0.4.1 (from Manishearth:update_au); r=jryans
Source-Repo: https://github.com/servo/servo
Source-Revision: 00376cbaa77b2c3b78990e49eb9ca29cc1e0a714 | diff --git a/geometry/Cargo.toml b/geometry/Cargo.toml
index 73368f5df..a004a8936 100644
--- a/geometry/Cargo.toml
+++ b/geometry/Cargo.toml
@@ -14,6 +14,6 @@ path = "lib.rs"
servo = ["euclid/unstable"]
[dependencies]
-app_units = "0.4"
+app_units = "0.4.1"
euclid = "0.11"
heapsize = "0.3.0"
diff --git a/geometry... | 14 | 25 | 26 |
6f8484e30dce10ab6174de52530859779c578b96 | Gregory Terzian | 2017-05-20T01:09:54 | servo: Merge #16861 - Use microtasks to await a stable state (from gterzian:use_microtask_to_await_stable_state); r=jdm
<!-- Please describe your changes on the following line: -->
@jdm @KiChjang First pass at using microtasks to await a stable state. I ran into all sorts of problems to get it to compile, I think it'... | diff --git a/script/dom/htmlmediaelement.rs b/script/dom/htmlmediaelement.rs
index 679294dae..eed702088 100644
--- a/script/dom/htmlmediaelement.rs
+++ b/script/dom/htmlmediaelement.rs
@@ -31,6 +31,7 @@ use dom_struct::dom_struct;
use html5ever::{LocalName, Prefix};
use ipc_channel::ipc;
use ipc_channel::router::ROU... | 3 | 47 | 52 |
34ceb1fc8cae5cc8bf22b6d0ab5238f1b201baf2 | SendilKumar N | 2017-05-19T15:45:44 | servo: Merge #16913 - Make canvas origin clean checks use origin of image response (from jdm:canvas2d); r=jdm
Adapted from #15887.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #15409
- [X] There are tests for these changes
Source-R... | diff --git a/layout/context.rs b/layout/context.rs
index 8acbc3b25..3a4fac939 100644
--- a/layout/context.rs
+++ b/layout/context.rs
@@ -183,7 +183,7 @@ impl<'a> LayoutContext<'a> {
}
match self.get_or_request_image_or_meta(node, url.clone(), use_placeholder) {
- Some(ImageOrMetadataAvail... | 9 | 76 | 41 |
01a18bc5620ad99e395f5749797fd09f8c293a6a | Fernando Jiménez Moreno | 2017-05-19T12:49:27 | servo: Merge #16931 - Support font-feature-settings as a @font-face descriptor (from nox:font-feature-descriptor); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 61d64daf4c5831e5e4428f76faaea874d8d5f4cd | diff --git a/style/font_face.rs b/style/font_face.rs
index 3d81476fd..4c953c3b0 100644
--- a/style/font_face.rs
+++ b/style/font_face.rs
@@ -9,7 +9,7 @@
#![deny(missing_docs)]
#[cfg(feature = "gecko")]
-use computed_values::{font_style, font_weight, font_stretch};
+use computed_values::{font_feature_settings, font_... | 7 | 191 | 124 |
b4356c8cd5bcdf2a603d8cd68f2b5a4abe3628b3 | Emilio Cobos Álvarez | 2017-05-19T11:44:25 | servo: Merge #16929 - stylo: Avoid unconditional FFI calls to get the element state (from emilio:more-bits); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: 448422c9a4f0cf28b92fd9e1479aa3d013b703f7 | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index 3d8ab2706..e043ff572 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -432,6 +432,14 @@ impl<'le> GeckoElement<'le> {
self.as_node().get_bool_flag(nsINode_BooleanFlag::ElementHasID)
}
+ #[inline]
+ fn get_state_i... | 1 | 9 | 3 |
369bbaa8ffd580e00457df476d234c8eda9468cb | Anthony Ramine | 2017-05-19T10:31:17 | servo: Merge #16926 - Support hashless color quirk in border-color (from nox:quirks); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 0edc0f547dfca72cd97626350caa2a19f705175b | diff --git a/style/properties/shorthand/border.mako.rs b/style/properties/shorthand/border.mako.rs
index 223e5069d..25ef00190 100644
--- a/style/properties/shorthand/border.mako.rs
+++ b/style/properties/shorthand/border.mako.rs
@@ -6,7 +6,8 @@
<% from data import to_rust_ident, ALL_SIDES, PHYSICAL_SIDES, maybe_moz_lo... | 1 | 2 | 1 |
cfa8307af45514061070fd14c696cde3fc6c9fa0 | Simon Sapin | 2017-05-19T08:48:14 | servo: Merge #16935 - Move bindings tests out of the style crate (from servo:out-of-crate-bindings-tests); r=emilio
This cuts in almost half the time to run:
```
touch components/style/lib.rs
./mach test-stylo
```
Source-Repo: https://github.com/servo/servo
Source-Revision: a01ab9ad3462bb5f30f5ea7903abd6deb9beb364 | diff --git a/style/Cargo.toml b/style/Cargo.toml
index f9b93b750..8cc372343 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -7,6 +7,9 @@ publish = false
build = "build.rs"
+# https://github.com/rust-lang/cargo/issues/3544
+links = "for some reason the links key is required to pass data around between build... | 4 | 5 | 25 |
6cd58f4ffe309f2188274d68f34c843d3e2ff515 | Xidorn Quan | 2017-05-19T04:49:30 | servo: Merge #16944 - Implement access to CSSKeyframesRule and CSSKeyframeRule for stylo (from upsuper:bug1345697); r=heycam
This is the Servo side change for [bug 1345697](https://bugzilla.mozilla.org/show_bug.cgi?id=1345697).
Source-Repo: https://github.com/servo/servo
Source-Revision: eda64309f5b8f64476ca3301e6102... | diff --git a/style/gecko/arc_types.rs b/style/gecko/arc_types.rs
index 32294ad1c..6619059d5 100644
--- a/style/gecko/arc_types.rs
+++ b/style/gecko/arc_types.rs
@@ -8,20 +8,23 @@
#![allow(non_snake_case, missing_docs)]
-use gecko_bindings::bindings::{RawServoMediaList, RawServoMediaRule, RawServoNamespaceRule, Raw... | 4 | 146 | 21 |
db9d286f1363e8b8bc437f8ed31886a42f4e5f2c | Paolo Amadini | 2017-05-19T02:47:21 | servo: Merge #16892 - Allow -moz-stack-sizing to work in a single direction only (from pamadini:master); r=Manishearth
<!-- Please describe your changes on the following line: -->
https://bugzilla.mozilla.org/show_bug.cgi?id=1364115
https://reviewboard.mozilla.org/r/138434/
---
<!-- Thank you for contributing to Serv... | diff --git a/style/gecko/generated/structs_debug.rs b/style/gecko/generated/structs_debug.rs
index eed178533..2f8b574b2 100644
--- a/style/gecko/generated/structs_debug.rs
+++ b/style/gecko/generated/structs_debug.rs
@@ -185,9 +185,6 @@ pub mod root {
pub const NS_FONT_SUB_SUPER_LARGE_SIZE: f64 = 45.;
pub con... | 4 | 26 | 25 |
87834ed5f9bfe1039522eafa9682df66c1b2a212 | Xidorn Quan | 2017-05-19T01:42:55 | servo: Merge #16941 - Move config info from build_gecko.rs to Gecko code (from upsuper:bug1336540); r=emilio
This is the Servo side change for [bug 1336540](https://bugzilla.mozilla.org/show_bug.cgi?id=1336540)
Source-Repo: https://github.com/servo/servo
Source-Revision: 0ad0641872b5fc8139c84159ccec484ab4c3e265 | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 708488861..f9b93b750 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -14,7 +14,7 @@ doctest = false
[features]
gecko = ["nsstring_vendor", "rayon/unstable", "num_cpus", "style_traits/gecko"]
-use_bindgen = ["bindgen", "regex"]
+use_bindgen = ["bindgen",... | 3 | 247 | 580 |
28d4f1ab7d266a4755fcb110052eebefaf604d1c | Ravi Shankar | 2017-05-18T22:09:15 | servo: Merge #16067 - Stylo: Add support for grid-template-{rows,columns} (from Wafflespeanut:grid); r=nox,Wafflespeanut
This has the implementation of grid's `<track-list>` nightmare.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with app... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index fa08db836..0812e9027 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -662,7 +662,8 @@ mod bindings {
.header(add_include("mozilla/ServoBindings.h"))
.hide_type("nsACString_internal")
.hide_type("nsAStri... | 9 | 809 | 47 |
e5e1a3671cc28588bee302b29ad879b67333cbac | Anthony Ramine | 2017-05-18T20:15:04 | servo: Merge #16937 - Fix calc() clamping issues (from nox:clamp-calc); r=emilio
Fix calc() clamping issues
Source-Repo: https://github.com/servo/servo
Source-Revision: b4204b5e2d8b2981408e2c092130af40ad3170bb | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 36336b94b..63ec70b70 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -2803,12 +2803,13 @@ struct StopRun {
stop_count: usize,
}
-fn position_to_offset(position: LengthOrPercentage, Au(total_len... | 9 | 36 | 24 |
212ed8dfc3141f6351a20d9d6a4948af288ff8af | Bobby Holley | 2017-05-18T14:53:41 | servo: Merge #16930 - Only use the parallel traversal when traversing from the root (from bholley:limit_parallelism); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1365686
Let's get this in to see the impact on Talos.
Source-Repo: https://github.com/servo/servo
Source-Revision: 9d887a23756c9b646394831a073a3a... | diff --git a/style/gecko/global_style_data.rs b/style/gecko/global_style_data.rs
index 3cbace9b9..2ba8749e2 100644
--- a/style/gecko/global_style_data.rs
+++ b/style/gecko/global_style_data.rs
@@ -57,12 +57,25 @@ lazy_static! {
pub static ref GLOBAL_STYLE_DATA: GlobalStyleData = {
let stylo_threads = env:... | 1 | 15 | 2 |
3ff9019b31f18efe7c91f2f91fa7e43f53130011 | Anthony Ramine | 2017-05-18T13:06:19 | servo: Merge #16889 - Refactor how calc() clamping is done on computed values (fixes #15296) (from nox:clamp-calc); r=stshine
Source-Repo: https://github.com/servo/servo
Source-Revision: 864f5509d8d82609b1be7c9571395fbefa84fa9e | diff --git a/layout/block.rs b/layout/block.rs
index 4da24dfeb..adeb04730 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -46,7 +46,6 @@ use gfx_traits::print_tree::PrintTree;
use incremental::RelayoutMode;
use layout_debug;
use model::{AdjoiningMargins, CollapsibleMargins, IntrinsicISizes, MarginCollapseInfo,... | 13 | 166 | 148 |
23a1ae366aa38d0db5e970aed235d1227a7c3a98 | Paul Rouget | 2017-05-18T05:56:30 | servo: Merge #16904 - Not headless by default (from paulrouget:notHeadLess); r=metajack
Without this, initializing Servo without using the command line (when embedded) requires to explicitly set `opts.headless = false`, which is weird as it's the only option that needs to be changed.
Source-Repo: https://github.com/s... | diff --git a/config/opts.rs b/config/opts.rs
index 9130fb4cb..1b0938a5e 100644
--- a/config/opts.rs
+++ b/config/opts.rs
@@ -485,7 +485,7 @@ pub fn default_opts() -> Opts {
replace_surrogates: false,
gc_profile: false,
load_webfonts_synchronously: false,
- headless: true,
+ head... | 1 | 1 | 1 |
0debc5ee2b9da6218edd2cac62a910f9e9e5d5e4 | Paul Rouget | 2017-05-18T03:53:46 | servo: Merge #16903 - make gl context current on browser initialization (from paulrouget:makeCurrentOnNew); r=emilio
As explained in servo/webrender#1233, it's necessary to make the current gl context current when the browser is initialized, otherwise the wrong gl context might be used if another window is created bef... | diff --git a/servo/lib.rs b/servo/lib.rs
index e3afaada4..83362789b 100644
--- a/servo/lib.rs
+++ b/servo/lib.rs
@@ -126,6 +126,8 @@ impl<Window> Browser<Window> where Window: WindowMethods + 'static {
// Global configuration options, parsed from the command line.
let opts = opts::get();
+ //... | 1 | 2 | 0 |
5cdb275b74b59d836bb464799953c32e1f9f8bba | Mats Palmgren | 2017-05-18T03:11:00 | Bug 1365614 part 4 - Backout bug 1333482 part 10 (Stylo). Removes support for [-webkit-]appearance for now b/c web compat issues. r=bz
MozReview-Commit-ID: 4VB9bTfqNR3 | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index fe9aa583a..b809a8024 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -2310,15 +2310,6 @@ ${helpers.single_keyword("transform-style",
}
</%helpers:longhand>
-${helper... | 1 | 1 | 10 |
72355e0a54f44f9b0c250bef927401a900dd1bb6 | Dzmitry Malyshau | 2017-05-18T01:38:14 | servo: Merge #16891 - Using TransformStyle::Preserve3D (from kvark:preserve3d); r=glennw,emilio
<!-- Please describe your changes on the following line: -->
The changes were reviewed previously as a part of WR update PRs, but then we decided to move them out.
r? @emilio
---
<!-- Thank you for contributing to Servo! ... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 626c3f56b..8ca587bfc 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -30,11 +30,11 @@ use std::cmp::{self, Ordering};
use std::collections::HashMap;
use std::fmt;
use std::sync::Arc;
-use style::computed_values::{border_style,... | 5 | 73 | 50 |
0ebe23ba914f704cd2a25e15644cc8c5fda023ed | Matt Brubeck | 2017-05-18T00:13:51 | servo: Merge #16881 - Fix containing block size for absolute root element (from mbrubeck:absolute_root); r=stshine
The root element doesn't have a containing block, so use the viewport size instead of `self.base.absolute_cb`.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not rep... | diff --git a/layout/block.rs b/layout/block.rs
index 5e30c6f08..4da24dfeb 100644
--- a/layout/block.rs
+++ b/layout/block.rs
@@ -657,7 +657,7 @@ impl BlockFlow {
pub fn containing_block_size(&self, viewport_size: &Size2D<Au>, descendant: OpaqueFlow)
-> LogicalSize<Au> {
d... | 1 | 1 | 1 |
f3916934e22e097cb0cf96c8f8d7292ca4b0bc43 | Emilio Cobos Álvarez | 2017-05-17T19:45:55 | servo: Merge #16911 - Bug 1365471: Check bool flags before going through FFI in a variety of situations. r=bz (from emilio:bits); r=bzbarsky
Source-Repo: https://github.com/servo/servo
Source-Revision: bafaae75f47c169078132e761ed2dcfda9541a27 | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index 4915e1ddd..7aa879c3d 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -46,7 +46,7 @@ use gecko_bindings::bindings::Gecko_MatchStringArgPseudo;
use gecko_bindings::bindings::Gecko_UpdateAnimations;
use gecko_bindings::structs;
use g... | 1 | 51 | 7 |
0bf68b00d3107730bf92672db9bc485ee0059b39 | Nathan Froyd | 2017-05-17T17:48:47 | servo: Merge #16910 - Bindgen cross compilation take 2 (from froydnj:bindgen-cross-compilation-take-2); r=emilio
Fix all the cross-compilation issues in build_gecko.rs.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16879
Source-Repo: h... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 6da76e25f..fa08db836 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -148,38 +148,46 @@ mod bindings {
if build_type == BuildType::Debug {
builder = builder.clang_arg("-DDEBUG=1").clang_arg("-DJS_DEBUG=1");
... | 1 | 26 | 18 |
606ab6a7c8e93a418cfd12e574f79ff5735c9ddf | Emilio Cobos Álvarez | 2017-05-17T16:19:56 | servo: Merge #16909 - style: Refactor the cascade function (from emilio:simplify-cascade); r=bholley
The `cascade_primary_or_pseudo` function was nice when we shared more code, but
right now I think it just makes it harder to understand what's going on.
Source-Repo: https://github.com/servo/servo
Source-Revision: c6c... | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index 4cf1789be..4d1810978 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -404,9 +404,9 @@ impl<'le> TElement for ServoLayoutElement<'le> {
#[inline]
fn existing_style_for_restyle_damage<'a>(&'a self,
- ... | 6 | 72 | 94 |
a0ee10659afb22c9818af245608948adff7dc046 | Anthony Ramine | 2017-05-17T13:08:00 | servo: Merge #16858 - Implement the hashless color quirk (fixes #15341) (from nox:quirks); r=SimonSapin
Source-Repo: https://github.com/servo/servo
Source-Revision: 5622c2af81eba232f616ad862946cd2ba0ffdb92 | diff --git a/style/Cargo.toml b/style/Cargo.toml
index 57bc8e31a..708488861 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -29,12 +29,13 @@ bitflags = "0.7"
bit-vec = "0.4.3"
byteorder = "1.0"
cfg-if = "0.1.0"
-cssparser = "0.13.3"
+cssparser = "0.13.5"
encoding = {version = "0.2", optional = true}
euclid... | 8 | 103 | 15 |
dcafdfb9c683abb7c68ed34b58567d1fa46e546d | Nazım Can Altınova | 2017-05-17T11:53:57 | servo: Merge #16882 - stylo: Continue to propagate quirks mode information to Servo (from canaltinova:more-quirk); r=bholley
r=bholley in bugzilla
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [X] `./mach build... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 439a3cd9e..2008a696f 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1670,7 +1670,8 @@ extern "C" {
*const RawServoMediaList,
... | 1 | 9 | 4 |
566b88f486bdcab89c390c97df0159fd51f9a0ac | alajara | 2017-05-17T08:53:10 | servo: Merge #16884 - Create higher-level APIs for manipulating custom structured clones (from jdm:structuredclone); r=jdm
Rebase of #16321.
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes fix #16031
- [X] There are tests for these changes... | diff --git a/script/dom/bindings/structuredclone.rs b/script/dom/bindings/structuredclone.rs
index b3a9df326..53f3b63e0 100644
--- a/script/dom/bindings/structuredclone.rs
+++ b/script/dom/bindings/structuredclone.rs
@@ -67,16 +67,44 @@ unsafe fn read_length(r: *mut JSStructuredCloneReader)
return length as usize;
... | 1 | 38 | 14 |
eb429c0470a061057774d7aa40cd96613d29465a | Martin Robinson | 2017-05-17T02:27:47 | servo: Merge #16795 - Don't optimize display list for projective transforms (from mrobinson:out-of-viewport-transform); r=glennw
There are situations where elements are transformed from outside the
display list. With projective transforms it's currently difficult to
detect these. In those cases we just don't optimize ... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index c3ac7f090..67a520a37 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -2236,6 +2236,14 @@ impl BlockFlowDisplayListBuilding for BlockFlow {
}
match transform {
+ ... | 1 | 8 | 0 |
9083a01325af37e3d36a57662f9fc0ae1512e59d | Simon Sapin | 2017-05-17T01:03:53 | servo: Merge #16890 - Fix serialization of namespace and universal selectors (from servo:qname); r=emilio
Fix #16017
Fix #16020
Source-Repo: https://github.com/servo/servo
Source-Revision: c96245898418ff91de6fd51edca288ecace44d2b | diff --git a/selectors/matching.rs b/selectors/matching.rs
index ebc31fa7b..c4e19f47f 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -3,7 +3,7 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use bloom::BloomFilter;
use parser::{CaseSensitivity, Combinator, ComplexSelector, Compon... | 3 | 306 | 66 |
1bed27d56ce561ed60b8f492c9cf9f4c7ce1e71e | Matt Brubeck | 2017-05-16T21:13:43 | servo: Merge #16896 - Bug 1365100 - stylo: Fix inheritance of multiple background images. r=Manishearth (from mbrubeck:image-inherit); r=Manishearth
https://bugzilla.mozilla.org/show_bug.cgi?id=1365100
Source-Repo: https://github.com/servo/servo
Source-Revision: 15271f59610b152c8b566071502ed0b76adff6e0 | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index e8e54f115..fa58b6b9c 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2850,9 +2850,21 @@ fn static_assert() {
pub fn copy_${shorthand}_image_from(&mut self, other: &Self) {
+ use gecko_... | 1 | 14 | 2 |
c324c3b4593455cff7d33c87ce5b280af1fcd71c | Boris Zbarsky | 2017-05-16T19:36:13 | servo: Merge #16895 - Add :-moz-is-html support for stylo (from bzbarsky:moz-is-html); 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 `__` with appropriate data: -->
- [X] `./... | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index 5b1b056ba..f6551ce90 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -25,8 +25,6 @@
*
* Pending pseudo-classes:
*
- * :-moz-is-html -> Used only in UA sheets,... | 3 | 8 | 3 |
1918b99b7d69c86d1a592bd07eab11820496bacc | Boris Zbarsky | 2017-05-16T18:31:50 | servo: Merge #16894 - Fix the two-value form of text-overflow to work in stylo (from bzbarsky:two-value-text-overflow); r=manishearth
<!-- 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/gecko.mako.rs b/style/properties/gecko.mako.rs
index 146c8827b..e8e54f115 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -3626,9 +3626,7 @@ fn static_assert() {
}
self.clear_overflow_sides_if_string();
- if v.second.is_none() ... | 1 | 1 | 3 |
e5ab84e2df73bff7e29f2b334501649e3aab2c68 | Boris Zbarsky | 2017-05-16T17:01:50 | servo: Merge #16875 - Don't require style sharing cache invalidation for :dir (from bzbarsky:dir-no-revalidation); 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 `__` with app... | diff --git a/style/gecko/selector_parser.rs b/style/gecko/selector_parser.rs
index bed3737db..e46b8c489 100644
--- a/style/gecko/selector_parser.rs
+++ b/style/gecko/selector_parser.rs
@@ -159,8 +159,12 @@ impl NonTSPseudoClass {
/// Returns true if the given pseudoclass should trigger style sharing cache revali... | 1 | 5 | 1 |
59f3e92d2ae02c4ffc2e2d5f570b80b7955bb915 | J. Ryan Stinnett | 2017-05-16T14:45:36 | servo: Merge #16872 - Create a MatchingContext to group related matching args (from jryans:matching-context); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1364914
Upcoming changes for visited support and others as well need to pass more args through matching, so this creates a MatchingContext to group them t... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index aa3237012..91ea14353 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -85,7 +85,7 @@ use net_traits::request::CorsSettings;
use ref_filter_map::ref_filter_map;
use script_layout_interface::message::ReflowQueryType;
use script_thread::R... | 9 | 91 | 83 |
4ef9336bdd980c86409755cbf961553f01bdbb09 | Martin Robinson | 2017-05-16T13:33:22 | servo: Merge #16865 - Properly handle scroll offsets in hit testing (from mrobinson:scroll-offsets-fix); r=emilio
Scroll roots are no longer nested containers holding items, so instead
we need to track the offsets of each, carefully handling fixed position
items and stacking contexts that create new reference frames.
... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 55c183da7..52c617fb0 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -22,7 +22,7 @@ use net_traits::image::base::{Image, PixelFormat};
use profile_traits::time::{self, ProfilerCategory, profile};
use script_traits::{Ani... | 8 | 221 | 178 |
aaef2377f067a566335f9f7d653f782345ba20f2 | Nathan Froyd | 2017-05-16T12:19:53 | servo: Merge #16880 - provide more information when bindgen fails (from froydnj:bindgen-informative-failure); r=emilio
Providing the flags we passed into clang can be informative for double-checking that we set everything up correctly.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does n... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index d32b3a9f6..6da76e25f 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -250,7 +250,14 @@ mod bindings {
return;
}
}
- let mut result = builder.generate().expect("Unable to generate bindings").to_st... | 1 | 8 | 1 |
697a834df1265b2280304937e75f272d6b99b2db | Simon Sapin | 2017-05-16T09:00:30 | servo: Merge #16870 - Add size_of tests for geckolib selectors (from servo:size_of); r=emilio
First step of https://bugzilla.mozilla.org/show_bug.cgi?id=1364148
Source-Repo: https://github.com/servo/servo
Source-Revision: ababebcced62d3a9bd09f002f1bf27b1b2691ea6 | diff --git a/selectors/Cargo.toml b/selectors/Cargo.toml
index 20ddf3b8a..ceef176ea 100644
--- a/selectors/Cargo.toml
+++ b/selectors/Cargo.toml
@@ -17,6 +17,9 @@ path = "lib.rs"
# https://github.com/servo/servo/issues/16710
doctest = false
+[features]
+gecko_like_types = []
+
[dependencies]
bitflags = "0.7"
mat... | 8 | 160 | 21 |
d7c65ee846af0b7ea939d1eecc87d3a6b4ebde6c | Bobby Holley | 2017-05-16T04:19:43 | servo: Merge #16874 - Use a SmallVec when gathering applicable declarations (from bholley:applicable_declarations_smallvec); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1364952
Source-Repo: https://github.com/servo/servo
Source-Revision: 7ca393a9603d7fa72e58a36bd53c29db396f6ea4 | diff --git a/style/matching.rs b/style/matching.rs
index 47562dbb3..764f58ec0 100644
--- a/style/matching.rs
+++ b/style/matching.rs
@@ -29,7 +29,7 @@ use selectors::matching::AFFECTED_BY_PSEUDO_ELEMENTS;
use shared_lock::StylesheetGuards;
use sink::ForgetfulSink;
use stylearc::Arc;
-use stylist::ApplicableDeclarati... | 2 | 16 | 9 |
dc6056f12da66119338f4929b9a3d6f5d7d3ab73 | Glenn Watson | 2017-05-16T02:49:35 | servo: Merge #16860 - Update WR (preserve-3d, AA improvements) (from glennw:preserve3d); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 180edaab604212d8c43c0523ef3eba68d55a2c6c | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index cbe8e3166..55c183da7 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 | 16 | 4 |
6be7adcc89329f9b27e1748739820a6027af77ee | cku | 2017-05-16T00:42:57 | servo: Merge #16864 - Stylo: Change mask-repeat initial value from no-repeat to repeat (from CJKu:bug-1364273); r=heycam
<!-- Please describe your changes on the following line: -->
Change mask-repeat initial value from no-repeat to repeat.
Gecko bug link:
https://bugzilla.mozilla.org/show_bug.cgi?id=1364273
---
<!--... | diff --git a/style/properties/longhand/svg.mako.rs b/style/properties/longhand/svg.mako.rs
index 540c522c0..bd1a2b520 100644
--- a/style/properties/longhand/svg.mako.rs
+++ b/style/properties/longhand/svg.mako.rs
@@ -81,12 +81,12 @@ ${helpers.single_keyword("mask-mode",
#[inline]
pub fn get_initial_value() ... | 1 | 2 | 2 |
133bf3a648d00f4a4c4178932fe8202637209c8d | cku | 2017-05-15T23:04:59 | servo: Merge #16862 - stylo: Pass Cached ImageValue from stylo back to gecko (from CJKu:bug-1310885-part-6); r=heycam
stylo: Pass Cached ImageValue from stylo back to gecko
<!-- Please describe your changes on the following line: -->
This is part 6 ~ part 9 patch in bug 1310885
gecko bug link:
https://bugzilla.mozi... | diff --git a/layout/construct.rs b/layout/construct.rs
index 2f24629b5..a3b062a5f 100644
--- a/layout/construct.rs
+++ b/layout/construct.rs
@@ -53,6 +53,7 @@ use style::computed_values::position;
use style::context::SharedStyleContext;
use style::logical_geometry::Direction;
use style::properties::ServoComputedValu... | 12 | 138 | 35 |
c65311a683761ecb543a3ded8083e21649f06b6e | Boris Zbarsky | 2017-05-15T21:38:14 | servo: Merge #16877 - Implement :-moz-anonymous-content in stylo (from bzbarsky:moz-anonymous-content); 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 `__` with appropriate da... | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index 145126656..5b1b056ba 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -26,8 +26,6 @@
* Pending pseudo-classes:
*
* :-moz-is-html -> Used only in UA sheets, sho... | 3 | 4 | 5 |
2ebc5c01049a80419599cc2563795ee9ea842802 | Josh Matthews | 2017-05-15T20:00:19 | servo: Merge #16295 - Root nodes for the duration of their CSS transitions (from jdm:transition-safety); r=nox
This ensures that we can pass a node address as part of the asynchronous
transition end notification, making it safe to fire the corresponding
DOM event on the node from the script thread. Without explicitly ... | diff --git a/layout/animation.rs b/layout/animation.rs
index be6d5baf7..d1673ac44 100644
--- a/layout/animation.rs
+++ b/layout/animation.rs
@@ -9,7 +9,9 @@ use flow::{self, Flow};
use gfx::display_list::OpaqueNode;
use ipc_channel::ipc::IpcSender;
use msg::constellation_msg::PipelineId;
+use opaque_node::OpaqueNode... | 13 | 207 | 90 |
6c68b56810b69f0341f481b987457b17fdd9b9fc | Boris Zbarsky | 2017-05-15T16:40:40 | servo: Merge #16873 - Fix dynamic updates when :dir matching changes in stylo (from bzbarsky:fix-dir-matching); r=emilio
This is the servo part of https://bugzilla.mozilla.org/show_bug.cgi?id=1364280
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please rep... | diff --git a/style/element_state.rs b/style/element_state.rs
index 30e67060f..809f01218 100644
--- a/style/element_state.rs
+++ b/style/element_state.rs
@@ -115,6 +115,11 @@ bitflags! {
const IN_HANDLER_VULNERABLE_NO_UPDATE_STATE = 1 << 42,
/// https://drafts.csswg.org/selectors-4/#the-focus-within-ps... | 2 | 50 | 0 |
58f120e95ae0dfa15c4d9a0bbceddaff89dbec2f | Fabrice Desré | 2017-05-15T15:15:37 | servo: Merge #16869 - Ignore mime type parameters in nosniff (fixes #16049) (from nox:mime); r=nox
Source-Repo: https://github.com/servo/servo
Source-Revision: f3c8f7e0d0fb42f32e3699d07fc0f8002bf564c8 | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index a073056ee..b6b5d8023 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -559,10 +559,10 @@ pub fn should_be_blocked_due_to_nosniff(request_type: Type, response_headers: &H
mime!(Text / ("x-javascript")),
];
- java... | 1 | 4 | 4 |
a637212f3c57621fd195e5c8dc43de5c531b11cc | Fernando Jiménez Moreno | 2017-05-15T10:28:50 | servo: Merge #16835 - Stylo: Bug 1350175 - Support getting line / column number of CSS rules (from ferjm:bug1350175.line.column.css.rules); r=upsuper,SimonSapin
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
Bugzilla bug: https://bugzilla.mozilla.org/show_bug.cg... | diff --git a/style/encoding_support.rs b/style/encoding_support.rs
index 92620378b..af37e2088 100644
--- a/style/encoding_support.rs
+++ b/style/encoding_support.rs
@@ -88,6 +88,7 @@ impl Stylesheet {
&string,
url_data,
stylesh... | 5 | 93 | 38 |
7b871c1e06da38975b430799df0a4abbf62adf64 | Emilio Cobos Álvarez | 2017-05-14T23:53:28 | servo: Merge #16855 - style: Set root font-size right after cascading font-size (from emilio:rem-root); r=upsuper
This way rem in the root element works as expected.
This fixes layout/reftests/css-valuesandunits/unit-rem-root-width.html in Gecko.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8366b4d4f... | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index 5772410c3..79505e926 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -2612,6 +2612,7 @@ pub fn apply_declarations<'a, F, I>(device: &Device,
% if category_to_cascade_now ==... | 1 | 6 | 5 |
51cd3fe67578b910c228075ac1c6e2a1287b9c04 | Nazım Can Altınova | 2017-05-14T18:03:47 | servo: Merge #16856 - stylo: -moz-image-region shouldn't parse unitless lengths in quirks mode (from canaltinova:moz-image-region); r=nox
For clip property, `ClipRectOrAuto` was parsing its lengths without units in quirks mode. But `-moz-image-region` property should reject unitless lengths according to gecko. This fi... | diff --git a/style/properties/longhand/effects.mako.rs b/style/properties/longhand/effects.mako.rs
index b7bcffadb..b56f105c4 100644
--- a/style/properties/longhand/effects.mako.rs
+++ b/style/properties/longhand/effects.mako.rs
@@ -83,6 +83,7 @@ ${helpers.predefined_type("clip",
"computed::C... | 2 | 32 | 10 |
f2ceca789cbfff5b0d59e7ec15fedc770d934119 | Xidorn Quan | 2017-05-14T04:56:25 | servo: Merge #16853 - Fix serialization of font-feature-settings (from upsuper:font-feature-settings-serialization); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: dab2df356594bf89502fc5934d8c16a57e3fdf45 | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 86f4666b3..2b5c89b95 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -1839,15 +1839,16 @@ ${helpers.single_keyword_system("font-variant-position",
fn to_css... | 1 | 5 | 4 |
59f65425d80fda02968b10a5371454838679c687 | Nazım Can Altınova | 2017-05-14T01:50:10 | servo: Merge #16819 - stylo: Propagate quirks mode information from Gecko to Servo (from canaltinova:quirk-mode); r=bholley,emilio
r=bholley in bugzilla
---
<!-- 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_thread/lib.rs b/layout_thread/lib.rs
index d67b1c8d2..9e8cc9bc1 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -418,7 +418,7 @@ impl LayoutThread {
let font_cache_receiver =
ROUTER.route_ipc_receiver_to_new_mpsc_receiver(ipc_font_cache_receiver);
- let... | 8 | 42 | 9 |
45bbd98c064c113e9f4be6fd33799a183de53ac8 | Brad Werth | 2017-05-13T21:13:13 | servo: Merge #16844 - Servo-side change stylesheet_set entry unique_id to u64 (from bradwerth:stylesheet64); r=heycam
https://bugzilla.mozilla.org/show_bug.cgi?id=1363572
https://reviewboard.mozilla.org/r/138092/
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complet... | diff --git a/style/gecko/generated/bindings.rs b/style/gecko/generated/bindings.rs
index 66b551524..422b2ddfb 100644
--- a/style/gecko/generated/bindings.rs
+++ b/style/gecko/generated/bindings.rs
@@ -1655,24 +1655,24 @@ extern "C" {
extern "C" {
pub fn Servo_StyleSet_AppendStyleSheet(set: RawServoStyleSetBorrowe... | 2 | 12 | 12 |
f98425272983cc77ad59df94e4f328de0972185b | Simon Whitehead | 2017-05-13T20:12:15 | servo: Merge #16829 - Disallow negative duration for animation and transition (from hiikezoe:disallow-negative-duration); 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 `__` w... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 4927c807d..ac0ac739a 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -444,7 +444,7 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
}
pub ... | 2 | 33 | 15 |
b2be751c332dd04c30ddd39c3a6b89d243a03ead | Simon Sapin | 2017-05-13T16:25:07 | servo: Merge #16852 - Fix illegal_floating_point_literal_pattern again and rustup… (from servo:illegal_floating_point_literal_pattern); r=jdm+SimonSapin
… to compiler that has it, to avoid regressing again.
Upgrade to (rustc 1.19.0-nightly (e17a1227a 2017-05-12)
Source-Repo: https://github.com/servo/servo
Source-Rev... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 4271b424b..60acde9e1 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -1660,11 +1660,7 @@ fn static_assert() {
pub fn clone_font_size_adjust(&self) -> longhands::font_size_adjust::computed_value:... | 2 | 5 | 8 |
e7caf000e3931d6a25f8fbd30787756173b31d0a | Nathan Froyd | 2017-05-13T07:03:19 | servo: Merge #16843 - explicitly specify bitness for x86 cross-compilation situations (from froydnj:bindgen-cross-compile); r=emilio
Despite compiling for architecture X, the user may have specified a
clang that defaults to architecture Y. We need to ensure that we invoke
clang with the correct architecture selection... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 8376587d5..ad964b4b2 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -153,6 +153,15 @@ mod bindings {
}
if cfg!(target_os = "linux") {
builder = builder.clang_arg("-DOS_LINUX=1");
+ /... | 1 | 9 | 0 |
00486499877da0dddb5d582664c56deea5ee4f9e | Boris Zbarsky | 2017-05-13T06:00:46 | servo: Merge #16841 - Fix the situation when :any-link starts or stops matching to actually restyle correctly (from bzbarsky:fix-moz-any-matching); 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 co... | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index 160bc5b16..145126656 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -38,7 +38,9 @@
* possible.
*
* $gecko_type can be either "_" or an ident in Gecko's CSSPse... | 2 | 4 | 2 |
be64104c8889bbfdf13c522bdf639cd0c776d8cf | Manish Goregaokar | 2017-05-13T04:59:25 | servo: Merge #16824 - Recalculate font-size when generic changes (from Manishearth:font-size-generic-changed); r=heycam
With the MathML refactorings this feature got lost. It would still get
recalculated when explicitly specified as a keyword, but not otherwise.
To avoid hitting the font metrics provider too often, w... | diff --git a/style/properties/longhand/font.mako.rs b/style/properties/longhand/font.mako.rs
index 723d657ab..11e4aeb1e 100644
--- a/style/properties/longhand/font.mako.rs
+++ b/style/properties/longhand/font.mako.rs
@@ -891,9 +891,10 @@ ${helpers.single_keyword_system("font-variant-caps",
}
}
+ #[al... | 1 | 18 | 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.