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 |
|---|---|---|---|---|---|---|---|
c9989ec8d0b740de25958bd4c2fc37ae203fab13 | Emilio Cobos Álvarez | 2017-03-29T11:11:32 | servo: Merge #16135 - Shorthand with variable reference should not have extra whitespace after colon for serialization (from emilio:shorthand-reference-variable); r=upsuper
This is https://github.com/servo/servo/pull/15422 + a manifest update. Fixes #15295.
Source-Repo: https://github.com/servo/servo
Source-Revision... | diff --git a/style/properties/declaration_block.rs b/style/properties/declaration_block.rs
index 9d76adf13..4d3da8690 100644
--- a/style/properties/declaration_block.rs
+++ b/style/properties/declaration_block.rs
@@ -333,7 +333,9 @@ impl PropertyDeclarationBlock {
}
let iter = self.dec... | 2 | 91 | 55 |
3b3d82a60146b6c62df537f9f0c3e447924161f1 | Xidorn Quan | 2017-03-29T09:53:27 | servo: Merge #15951 - Skip some parts of image-layer shorthands when they are initial (from upsuper:image-layer-serialization); r=canaltinova
To make it closer to Gecko's serialization algorithm.
Neither Servo nor Gecko currently perfectly matches the spec. Gecko has some test for this, but I don't think that's suffi... | diff --git a/style/properties/shorthand/background.mako.rs b/style/properties/shorthand/background.mako.rs
index 25954c768..4e69dca81 100644
--- a/style/properties/shorthand/background.mako.rs
+++ b/style/properties/shorthand/background.mako.rs
@@ -158,31 +158,25 @@
try!(write!(dest, " "));
... | 2 | 23 | 36 |
0b2f8806ad61496f55294eb3d3d97c529073e89e | Anthony Ramine | 2017-03-29T08:33:53 | servo: Merge #16160 - Some enhancements in the net crate (from nox:tungstenite); r=jdm
See the individual commits.
Source-Repo: https://github.com/servo/servo
Source-Revision: 299f9446e6c8b289ac0c88b97614a272e7b2ca32 | diff --git a/net/connector.rs b/net/connector.rs
index 8211e415f..0bd2d225e 100644
--- a/net/connector.rs
+++ b/net/connector.rs
@@ -27,15 +27,19 @@ const DEFAULT_CIPHERS: &'static str = concat!(
"AES128-SHA256:AES256-SHA256:AES128-SHA:AES256-SHA"
);
-pub fn create_http_connector(certificate_file: &str) -> Arc<... | 4 | 50 | 32 |
06add423e768ab19337c8c814b5c7072f7df94d0 | Kuba Pawlaczyk | 2017-03-29T06:33:19 | servo: Merge #16174 - Added missing comma in {background,mask}-position (from Adynatos:15200-serialization-with-comma); r=Wafflespeanut
<!-- Please describe your changes on the following line: -->
Fixed #15200 - missing comma in serialized {background,mask}-position with multiple values.
---
<!-- Thank you for contri... | diff --git a/style/properties/shorthand/background.mako.rs b/style/properties/shorthand/background.mako.rs
index a0747e9ea..25954c768 100644
--- a/style/properties/shorthand/background.mako.rs
+++ b/style/properties/shorthand/background.mako.rs
@@ -234,6 +234,9 @@
self.background_position_x.0[i].to_css... | 2 | 7 | 0 |
2ae4a448847199c7feb9452dd3e341b72d6c9e65 | Cameron McCormack | 2017-03-29T04:39:06 | servo: Merge #16164 - stylo: Add argument to Servo_ResolveStyle to allow stale styles to be returned (from heycam:stale-styles); r=bholley
This is the Servo-side part of https://bugzilla.mozilla.org/show_bug.cgi?id=1350671.
Source-Repo: https://github.com/servo/servo
Source-Revision: 6311321882a021f4929d040d62035a9cf... | diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs
index dd5196def..cc79d32bc 100644
--- a/style/gecko_bindings/bindings.rs
+++ b/style/gecko_bindings/bindings.rs
@@ -1812,7 +1812,8 @@ extern "C" {
}
extern "C" {
pub fn Servo_ResolveStyle(element: RawGeckoElementBorrowed,
- ... | 1 | 2 | 1 |
19181831a54ee5798ab8b5e7add1de1a2f875175 | Jeremy Chen | 2017-03-28T20:05:33 | servo: Merge #16155 - stylo: Implement gecko glue for font-language-override (from chenpighead:gecko-glue-for-font-language-override); r=emilio
To be aligned with the implementation from Gecko side, we parse
font-language-override as Normal keyword or String. Then, we compute
and store it as a u32. So, as to the stylo... | diff --git a/style/Cargo.toml b/style/Cargo.toml
index b5ec4e4a3..42e33e1c1 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"
+byteorder = "1.0"
cfg-if = "0.1.0"
cssparser = "0.12"
encoding = {version = "0.2", optional = t... | 5 | 102 | 39 |
27701b4fcd5205e794cf973570ac3f6619bb783c | James Bendig | 2017-03-28T18:30:13 | servo: Merge #16127 - Add full parsing/serialization for mask-repeat and background-repeat (from jbendig:issue_14954); r=emilio
I implemented full parsing and serialization for the mask-repeat and background-repeat style properties. I think some more tests are required but I'm not what I'm missing. I'd appreciate some... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index f2aac5441..94e388dff 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -768,45 +768,45 @@ impl FragmentDisplayListBuilding for Fragment {
let mut stretch_size = image_size;
//... | 4 | 167 | 59 |
2e528a57fddf48e3cc78138d581858ee10598d92 | Iris Hsiao | 2017-03-28T07:23:59 | Backed out changeset 6e4ccddb5c4b (bug 1350671) for build bustage | diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs
index cc79d32bc..dd5196def 100644
--- a/style/gecko_bindings/bindings.rs
+++ b/style/gecko_bindings/bindings.rs
@@ -1812,8 +1812,7 @@ extern "C" {
}
extern "C" {
pub fn Servo_ResolveStyle(element: RawGeckoElementBorrowed,
- ... | 1 | 1 | 2 |
d8223f074e155d8691832da8b81a4582512bd551 | Cameron McCormack | 2017-03-28T05:46:59 | Bug 1350671 - stylo: Allow resolving out of date styles when explicitly reconstructing frames for an element. r=bholley
MozReview-Commit-ID: A7ssy7ygWLh | diff --git a/style/gecko_bindings/bindings.rs b/style/gecko_bindings/bindings.rs
index dd5196def..cc79d32bc 100644
--- a/style/gecko_bindings/bindings.rs
+++ b/style/gecko_bindings/bindings.rs
@@ -1812,7 +1812,8 @@ extern "C" {
}
extern "C" {
pub fn Servo_ResolveStyle(element: RawGeckoElementBorrowed,
- ... | 1 | 2 | 1 |
e9bc8d368814ce585315ccc449d0a41b5d534fa2 | Emilio Cobos Álvarez | 2017-03-27T23:08:09 | servo: Merge #16148 - style: Cleanup a bit the restyle hint propagation code (from emilio:cleanup-animation-only-restyle); r=hiikezoe
Source-Repo: https://github.com/servo/servo
Source-Revision: 0ebb9ec9e82d7985c477ee71e55f56ab5facedc9 | diff --git a/style/data.rs b/style/data.rs
index 5f714fcf9..a5a1e1712 100644
--- a/style/data.rs
+++ b/style/data.rs
@@ -135,13 +135,20 @@ pub struct StoredRestyleHint(RestyleHint);
impl StoredRestyleHint {
/// Propagates this restyle hint to a child element.
- pub fn propagate(&self) -> Self {
- // I... | 2 | 42 | 32 |
85f8eadd5e9f045ffe3f64ebc2714bbb87a2b11b | Emilio Cobos Álvarez | 2017-03-27T16:05:07 | servo: Merge #16151 - style: Re-introduce the -webkit- prefix for the order property (from emilio:fixup-webkit-order); r=emilio
I accidentally removed it while converting "order" to a predefined type
in #16144.
Source-Repo: https://github.com/servo/servo
Source-Revision: 185d31f0860f9c4f22d2db9d2780a2ce08c7919c | diff --git a/style/properties/longhand/position.mako.rs b/style/properties/longhand/position.mako.rs
index 2e7a445e5..be5b1c2c9 100644
--- a/style/properties/longhand/position.mako.rs
+++ b/style/properties/longhand/position.mako.rs
@@ -131,6 +131,7 @@ ${helpers.predefined_type("flex-shrink", "Number",
// https://dr... | 1 | 1 | 0 |
817535cbe6ff59e012d40b6bb8ca3b903e6392a7 | Martin Robinson | 2017-03-27T13:57:32 | servo: Merge #16146 - Fix scroll root of absolutely positioned elements (from mrobinson:containing-block-scrolling); r=glennw
Absolutely positioned elements should be given the scroll root of their
containing block and not necessarily the scroll root of their parent.
This fixes several CSS tests, though others are sti... | diff --git a/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 456acf95c..f97c3ad63 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -157,6 +157,11 @@ pub struct DisplayListBuildState<'a> {
/// recursively building and processing the display list.
pub cur... | 1 | 22 | 1 |
dda88e88dc212b39d056a7b90e21e61e32be1c32 | Emilio Cobos Álvarez | 2017-03-27T01:05:40 | servo: Merge #16143 - style: Be consistent with naming and serialization of "0" with LenghtOrPercentageOrNumber (from emilio:lops); r=Manishearth
Source-Repo: https://github.com/servo/servo
Source-Revision: c20bbb920c8368898cb851ef7e02dc9791bf80aa | diff --git a/style/properties/longhand/inherited_svg.mako.rs b/style/properties/longhand/inherited_svg.mako.rs
index 5c2fee9a4..31d393f13 100644
--- a/style/properties/longhand/inherited_svg.mako.rs
+++ b/style/properties/longhand/inherited_svg.mako.rs
@@ -92,7 +92,9 @@ ${helpers.predefined_type("stroke-opacity", "Opac... | 3 | 12 | 10 |
2f61e86ebf2e9e5f81c9a429d179e1f3e10d8c66 | Emilio Cobos Álvarez | 2017-03-27T00:21:49 | servo: Merge #16141 - style: Add <keyword>::from_ident helper to avoid tokenizing the same value multiple times (from emilio:keyword-from-ident); r=nox
We can use this to avoid tokenizing multiple times in some places, like #16127.
Source-Repo: https://github.com/servo/servo
Source-Revision: 447742b0a70395e55d6d1518f... | diff --git a/style_traits/values.rs b/style_traits/values.rs
index c06652d06..a142f3bab 100644
--- a/style_traits/values.rs
+++ b/style_traits/values.rs
@@ -117,7 +117,12 @@ macro_rules! __define_css_keyword_enum__actual {
/// Parse this property from a CSS input stream.
pub fn parse(input: &m... | 1 | 6 | 1 |
9e3e72544bc7350bdfb8423b8cc6d671a984b813 | Emilio Cobos Álvarez | 2017-03-26T23:42:48 | servo: Merge #16142 - style: Make PercentageOrNumber also reject negative percentages (from emilio:dumbness); r=canaltinova
It always returns true, so this is just stupid.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7b64c3c4196ac6c12a02413d209bfa744e9a637b | diff --git a/style/values/specified/length.rs b/style/values/specified/length.rs
index 5aa839874..58c14b713 100644
--- a/style/values/specified/length.rs
+++ b/style/values/specified/length.rs
@@ -909,16 +909,27 @@ impl ToCss for Percentage {
}
}
-impl Parse for Percentage {
- #[inline]
- fn parse(_contex... | 2 | 22 | 12 |
eaa21b6d0093326d1d6ec3a6ae06716e138b9694 | streichgeorg | 2017-03-26T21:56:23 | servo: Merge #16136 - to_css of counter-increment returns none when there are no properties (from streichgeorg:counter); r=emilio
<!-- Please describe your changes on the following line: -->
Changed to_css in style::properties::longhands::counter_increment returns "none" if there are no properties defined.
---
<!-- T... | diff --git a/style/properties/longhand/counters.mako.rs b/style/properties/longhand/counters.mako.rs
index f6b8173c6..c4bbba878 100644
--- a/style/properties/longhand/counters.mako.rs
+++ b/style/properties/longhand/counters.mako.rs
@@ -269,6 +269,10 @@
impl ToCss for SpecifiedValue {
fn to_css<W>(&self... | 1 | 5 | 0 |
4650522e012f1f9f368bb44a81e2741f500bb6f2 | Glenn Watson | 2017-03-26T21:04:07 | servo: Merge #16113 - Update WR (opaque rect optimization, stacking context culling) (from glennw:update-wr-opaque-opt); r=mrobinson
Source-Repo: https://github.com/servo/servo
Source-Revision: 3b79bc25825ea416298b1917e0bd409b7044f837 | diff --git a/canvas/canvas_paint_thread.rs b/canvas/canvas_paint_thread.rs
index 8aca22bdb..7f09603d3 100644
--- a/canvas/canvas_paint_thread.rs
+++ b/canvas/canvas_paint_thread.rs
@@ -567,7 +567,8 @@ impl<'a> CanvasPaintThread<'a> {
offset: 0,
... | 3 | 4 | 7 |
348bbc914194e583061aaedc646a455cc43a61fc | Anthony Ramine | 2017-03-26T19:23:17 | servo: Merge #16137 - Replace use of rustc_serialize::base64 by base64 (from nox:die-rustc-serialize-die); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: d992442dc6bb0b0c006b516c36ef4c6664e6b74c | diff --git a/net/Cargo.toml b/net/Cargo.toml
index 0751f05d2..22366e90c 100644
--- a/net/Cargo.toml
+++ b/net/Cargo.toml
@@ -10,6 +10,7 @@ name = "net"
path = "lib.rs"
[dependencies]
+base64 = "0.4.1"
brotli = "1.0.6"
cookie = "0.2.5"
devtools_traits = {path = "../devtools_traits"}
@@ -27,7 +28,6 @@ net_traits =... | 11 | 18 | 32 |
7ce863115c220a077842b7737355756f1857fc57 | Anthony Ramine | 2017-03-26T18:36:51 | servo: Merge #16139 - Update rustc to 1.17.0-nightly (7dd4e2db7 2017-03-26) (from servo:rustup); r=emilio
Source-Repo: https://github.com/servo/servo
Source-Revision: 7f2a4e01b1c989f86a7a80af5ffe16ec93c34809 | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 59cc15875..f11392cb4 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -180,9 +180,9 @@ pub enum AdjacentPosition {
}
impl<'a> TryFrom<&'a str> for AdjacentPosition {
- type Err = Error;
+ type Error = Error;
- fn try_from(p... | 1 | 2 | 2 |
1abb5d19203ff1b57341e498df64ab93f691e469 | Anthony Ramine | 2017-03-26T17:17:16 | servo: Merge #16131 - Use NetworkConnector directly to account for replaced hosts (from nox:tungstenite); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 1105100c3beb9cff3a71677937269ecc523f2924 | diff --git a/net/fetch/methods.rs b/net/fetch/methods.rs
index 90d1feed2..841ba94dd 100644
--- a/net/fetch/methods.rs
+++ b/net/fetch/methods.rs
@@ -192,7 +192,7 @@ pub fn main_fetch(request: Rc<Request>,
.read()
.unwrap()
.is_host_secure(request.current_url().domain().unwrap()) {... | 8 | 147 | 156 |
a4f9a0f867cc2a67c43edf25a3d9e9d974bb5068 | Morris Tseng | 2017-03-26T09:29:16 | servo: Merge #15905 - Add gradient border support (from mephisto41:add-border-gradient); r=emilio
webrender add gradient border support in https://github.com/servo/webrender/pull/953. This pr add support in servo.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is comple... | diff --git a/gfx/display_list/mod.rs b/gfx/display_list/mod.rs
index 78d505301..ee3494e1b 100644
--- a/gfx/display_list/mod.rs
+++ b/gfx/display_list/mod.rs
@@ -886,10 +886,7 @@ pub struct IframeDisplayItem {
/// Paints a gradient.
#[derive(Clone, Deserialize, HeapSizeOf, Serialize)]
-pub struct GradientDisplayItem... | 3 | 98 | 31 |
8a81da33531c50f91cfaec2930b81b6ead4e9b80 | Nazım Can Altınova | 2017-03-25T19:09:21 | servo: Merge #16133 - Add support for -moz-image-rect (from canaltinova:image-rect); r=Manishearth
Add support for -moz-image-rect
r=Manishearth
---
<!-- 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/layout/display_list_builder.rs b/layout/display_list_builder.rs
index 268143514..bf0550b03 100644
--- a/layout/display_list_builder.rs
+++ b/layout/display_list_builder.rs
@@ -46,7 +46,7 @@ use std::mem;
use std::sync::Arc;
use style::computed_values::{background_attachment, background_clip, background_o... | 11 | 297 | 102 |
e16e0258b4a466af326e28f3c49d2a35a741a480 | Nathan Froyd | 2017-03-25T03:32:06 | servo: Merge #16121 - remove unused `use` statements in mako helpers (from froydnj:unused-property-mako-imports); r=cbrewster
These are no longer needed, according to `./mach build -d` and grep.
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X] These changes ... | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index 37f8b8f11..a2d89dc4d 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -219,8 +219,6 @@
use properties::{DeclaredValue, LonghandId, LonghandIdSet};
use properties::{CSSWideKeywo... | 1 | 0 | 2 |
70791740a21f6ce1d6358e8bea001317956656b0 | Manish Goregaokar | 2017-03-24T19:30:10 | servo: Merge #16122 - stylo: Handle font-size keywords correctly (from Manishearth:stylo-font-size); r=heycam
r=heycam https://bugzilla.mozilla.org/show_bug.cgi?id=1341775
Source-Repo: https://github.com/servo/servo
Source-Revision: 1584bbd3ecc2a86339f8fe2ccb88bd30fc462b1c | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 7ca5530e9..b485efa48 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -293,6 +293,7 @@ mod bindings {
"BORDER_STYLE_.*",
"mozilla::SERVO_PREF_.*",
"kNameSpaceID_.*",
+ "kGenericFont_.*",
... | 9 | 238 | 33 |
cf3ec14b23a6661bc72076a45348a380cf0ede0c | Boris Zbarsky | 2017-03-24T18:39:30 | servo: Merge #16123 - Fix writing-mode display fixup to check the right condition (from bzbarsky:writing-mode-confusion); r=emilio
It should be checking the value of the 'writing-mode' property, not the value of
the "writing mode" concept. The latter is influenced by other properties like
'direction' and whatnot. Th... | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index ed200e2d7..9fde5fb40 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -2178,7 +2178,9 @@ pub fn apply_declarations<'a, F, I>(device: &Device,
//
// www-style mail r... | 1 | 3 | 1 |
3f1ba8ce02faaf734db70bd91a57d3aefb20b57d | Benjamin Dahse | 2017-03-24T15:05:36 | servo: Merge #16044 - Make writing-mode affect computed display (from bd339:iss15754); r=emilio
<!-- Please describe your changes on the following line: -->
The first manual test-case in #15754 passes now, but the second test-case still renders "Text" horizontally, which is apparently because of servo's experimental s... | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index a0ca7aba5..ed200e2d7 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -2169,6 +2169,21 @@ pub fn apply_declarations<'a, F, I>(device: &Device,
}
}
+ {
+ use... | 1 | 15 | 0 |
92a431b247b87b432e007fc1dad8e7a52d6e9b37 | Anthony Ramine | 2017-03-24T11:48:07 | servo: Merge #16116 - Remove some useless thread spawning in websocket_loader (from nox:tungstenite); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 3f10d510bd14b19badbd0c4a5f912b044cdfe890 | diff --git a/net/websocket_loader.rs b/net/websocket_loader.rs
index c75b22c47..34c177989 100644
--- a/net/websocket_loader.rs
+++ b/net/websocket_loader.rs
@@ -161,29 +161,24 @@ pub fn init(connect: WebSocketCommunicate, connect_data: WebSocketConnectData, c
}
});
- let initiated_close_o... | 3 | 18 | 26 |
3ac2d26c4717b182c8a00eda1fe772dee201d565 | Anthony Ramine | 2017-03-24T10:10:50 | servo: Merge #16114 - Only pass the protocol in use in to establish a WS connection (from nox:tungstenite); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: bfd2aab71e61d4d71a42211e16789cf3a13c914c | diff --git a/net/websocket_loader.rs b/net/websocket_loader.rs
index 6c0392ab6..c75b22c47 100644
--- a/net/websocket_loader.rs
+++ b/net/websocket_loader.rs
@@ -10,14 +10,13 @@ use hyper::header::{Host, SetCookie};
use net_traits::{CookieSource, MessageData, WebSocketCommunicate};
use net_traits::{WebSocketConnectDat... | 5 | 23 | 28 |
31780b7fd7f4f40ddb0c6a911c00f5376a3d25bd | Anthony Ramine | 2017-03-24T08:46:14 | servo: Merge #16099 - Properly follow the spec in WebSocket::Constructor (from nox:tungstenite); r=jdm
Source-Repo: https://github.com/servo/servo
Source-Revision: 189b0d9094a8448aedd778ae2aac538a3a9e4871 | diff --git a/gfx/platform/macos/font_template.rs b/gfx/platform/macos/font_template.rs
index 3465f9353..3cd5fecdb 100644
--- a/gfx/platform/macos/font_template.rs
+++ b/gfx/platform/macos/font_template.rs
@@ -92,7 +92,7 @@ impl FontTemplateData {
.expect("No URL for Core Text font!"... | 9 | 171 | 203 |
38713157b48188a7e1cda57f75b197000bd188e1 | Hiroyuki Ikezoe | 2017-03-24T02:05:03 | servo: Merge #16111 - Add functions for after-change style of CSS Transition (from hiikezoe:after-change-style); r=emilio
Add functions for after-change style of CSS Transition
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.cgi?id=1346663
---
<!-- T... | diff --git a/style/matching.rs b/style/matching.rs
index 882010876..33905e0ae 100644
--- a/style/matching.rs
+++ b/style/matching.rs
@@ -469,24 +469,15 @@ trait PrivateMatchMethods: TElement {
}
}
- fn cascade_internal(&self,
- context: &StyleContext<Self>,
- ... | 2 | 92 | 17 |
91152883bfcf2a9c25dfcdf76fff751ce71dfaa4 | J. Ryan Stinnett | 2017-03-23T20:23:51 | servo: Merge #15972 - Parsing / serialization for CSS contain (from jryans:ps-contain); r=emilio
Adds parsing / serialization for CSS contain to the style package.
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #15955
- [x] There are test... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index f4daad896..c57eb9475 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -1899,6 +1899,109 @@ ${helpers.single_keyword("transform-style",
}
</%helpers:longhand>
+<%helpe... | 1 | 103 | 0 |
a455a6e1eeb01722a14b7bffaecdb9c2b1a682ec | Nikita-04 | 2017-03-23T17:57:03 | servo: Merge #16104 - Properly serialize <box-shadow> (from Wafflespeanut:box-shadow-serialization); r=Wafflespeanut
Rebase of #15703, fixes #15203
Source-Repo: https://github.com/servo/servo
Source-Revision: f00f3fa81c504c12d37c93f9415c54df33a77cb9 | diff --git a/style/properties/longhand/effects.mako.rs b/style/properties/longhand/effects.mako.rs
index a25b92267..19603fad5 100644
--- a/style/properties/longhand/effects.mako.rs
+++ b/style/properties/longhand/effects.mako.rs
@@ -29,13 +29,13 @@ ${helpers.predefined_type("opacity",
if self.inset {
... | 1 | 4 | 4 |
4fa321ed41c0682af98954a465d7be5d91ff0d90 | Emilio Cobos Álvarez | 2017-03-23T12:35:28 | servo: Merge #16094 - Bug 1349885: stylo: Simplify computation of float and position (from emilio:simplify-float-pos); r=heycam,upsuper
Source-Repo: https://github.com/servo/servo
Source-Revision: 9d0b481789167a330b614240e73668d7d33632fe | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 17e95115a..f4daad896 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -103,48 +103,13 @@ ${helpers.single_keyword("-moz-top-layer", "none top",
prod... | 2 | 34 | 59 |
c1258ec10a080c4c07fc330ba207b84b60812952 | Glenn Watson | 2017-03-23T10:43:49 | servo: Merge #16073 - Update WR (gl trait, scroll roots) (from glennw:update-wr-glfns); r=mrobinson
Source-Repo: https://github.com/servo/servo
Source-Revision: c99289a928b30c874da2aa4d8aa869593bbb5e14 | diff --git a/canvas/Cargo.toml b/canvas/Cargo.toml
index bce8baa67..e905c8fbd 100644
--- a/canvas/Cargo.toml
+++ b/canvas/Cargo.toml
@@ -14,10 +14,10 @@ azure = {git = "https://github.com/servo/rust-azure"}
canvas_traits = {path = "../canvas_traits"}
cssparser = "0.12"
euclid = "0.11"
-gleam = "0.2.8"
+gleam = "0.4"... | 14 | 251 | 216 |
b9c92a7c27a6fcea66b47e143996725d90af7776 | Emilio Cobos Álvarez | 2017-03-23T08:52:43 | servo: Merge #16093 - Bug 1349553: Account for negations of state-dependent selectors (from emilio:state); r=bholley,heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 301ba366b88821bd85a2a5b700d4671ab3958aca | diff --git a/style/gecko/selector_parser.rs b/style/gecko/selector_parser.rs
index 3eccac444..232087df9 100644
--- a/style/gecko/selector_parser.rs
+++ b/style/gecko/selector_parser.rs
@@ -154,6 +154,9 @@ macro_rules! pseudo_class_name {
$s_name(Box<[u16]>),
)*
/// The non-sta... | 3 | 22 | 1 |
67585815513e8e7b43718d3fd437431e1b3bc5f4 | Boris Zbarsky | 2017-03-23T00:28:25 | servo: Merge #16090 - Implement :required/:optional support for stylo (from bzbarsky:required-optional); r=emilio
Servo side of https://bugzilla.mozilla.org/show_bug.cgi?id=1349659
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by ... | diff --git a/style/element_state.rs b/style/element_state.rs
index 87ad23ca0..842285c8e 100644
--- a/style/element_state.rs
+++ b/style/element_state.rs
@@ -57,7 +57,11 @@ bitflags! {
const IN_HANDLER_DISABLED_STATE = 1 << 18,
#[doc = "Non-standard: https://developer.mozilla.org/en-US/docs/Web/CSS/:-m... | 3 | 10 | 2 |
944fd35c2b74dce01d38293dc87db1c4c4968b15 | Matt Brubeck | 2017-03-22T23:21:28 | servo: Merge #16088 - Update parking_lot_core and smallvec (from mbrubeck:always-be-updating); r=emilio
- [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 update third-party code only
Source-Repo: https://github.... | diff --git a/gfx/Cargo.toml b/gfx/Cargo.toml
index b4e3247ea..62238ac44 100644
--- a/gfx/Cargo.toml
+++ b/gfx/Cargo.toml
@@ -33,7 +33,7 @@ serde_derive = "0.9"
servo_atoms = {path = "../atoms"}
servo_geometry = {path = "../geometry"}
servo_url = {path = "../url"}
-smallvec = "0.1"
+smallvec = "0.3"
style = {path = ... | 4 | 4 | 4 |
04588eb4c5b158ee9f256a14e74b4ce8338433d0 | Boris Zbarsky | 2017-03-22T22:41:37 | servo: Merge #16085 - Use less fragile and more readable numbering for ElementState (from bzbarsky:better-numbering-of-pseudoclasses); 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 r... | diff --git a/style/element_state.rs b/style/element_state.rs
index b57f2a99b..87ad23ca0 100644
--- a/style/element_state.rs
+++ b/style/element_state.rs
@@ -13,51 +13,51 @@ bitflags! {
#[doc = "The mouse is down on this element. \
https://html.spec.whatwg.org/multipage/#selector-active \
... | 1 | 21 | 21 |
5bb8f6aa1f7ca06dda1592dfcaae17e1623c3c39 | Imanol Fernandez | 2017-03-22T22:03:04 | servo: Merge #16083 - Fix WebVR data race condition when calling GetFrameData outside of VRDisplay.requestAnimationFrame callback (from MortimerGoro:display_raf_check); r=emilio
<!-- Please describe your changes on the following line: -->
Fix WebVR data race condition when calling GetFrameData outside of VRDisplay.req... | diff --git a/script/dom/vrdisplay.rs b/script/dom/vrdisplay.rs
index b980f1664..c05276c23 100644
--- a/script/dom/vrdisplay.rs
+++ b/script/dom/vrdisplay.rs
@@ -71,6 +71,7 @@ pub struct VRDisplay {
frame_data_status: Cell<VRFrameDataStatus>,
#[ignore_heap_size_of = "channels are hard"]
frame_data_receive... | 1 | 11 | 2 |
576048e58a7deed42632c2edddb130aee7077083 | Lucjan Suski | 2017-03-22T17:43:10 | servo: Merge #16081 - Stylo: Add grid-gap shorthand (from methyl:grip-gap-shorthand); r=Manishearth
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
Should I add any tests?
Source-Repo: https://github.com/servo/servo
Source-Revision: 4715d3cd379e4b5e4f346ff9ebba8... | diff --git a/style/properties/shorthand/position.mako.rs b/style/properties/shorthand/position.mako.rs
index 4ab2f52c3..bf9c74cfc 100644
--- a/style/properties/shorthand/position.mako.rs
+++ b/style/properties/shorthand/position.mako.rs
@@ -127,3 +127,32 @@
}
}
</%helpers:shorthand>
+
+<%helpers:shorthan... | 1 | 29 | 0 |
1e0b494284d7abfbd9d9931e70cb1fe578e2572f | Matt Brubeck | 2017-03-22T17:02:57 | servo: Merge #16082 - Bug 1337068 - stylo: :empty, :-moz-first-node, :-moz-last-node, and :-moz-only-whitespace (from mbrubeck:moz-first-node); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1337068
Source-Repo: https://github.com/servo/servo
Source-Revision: b01a9e44684954919575dbf37c8c1fcc7824c4f6 | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index fce2c2968..1834f1cf1 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -62,6 +62,10 @@ macro_rules! apply_non_ts_list {
("read-write", ReadWrite, _, I... | 3 | 56 | 5 |
7a249113ea97ec5a992e9eeef9d4df094708f886 | Lucjan Suski | 2017-03-22T11:57:21 | servo: Merge #16076 - Stylo: Add gecko glue for grid-auto-flow (from methyl:grid-auto-flow-glue); r=Wafflespeanut
- [x] `./mach build-geckolib` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16025 (github issue number if applicable).
- [x] These changes do not r... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 3c84ea6e4..753a3db5f 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -953,7 +953,7 @@ fn static_assert() {
<%self:impl_trait style_struct_name="Position"
skip_longhands="${skip_posi... | 2 | 23 | 2 |
fe827c226eed4c10759b0b7cf1ac24131870b6ae | Emilio Cobos Álvarez | 2017-03-22T10:23:51 | servo: Merge #16077 - Bug 1345950: stylo: Fix slow selector flags. r=bholley (from emilio:slow-flags); r=bholley
Source-Repo: https://github.com/servo/servo
Source-Revision: 545f8744126157d273158c5404d07fb09621d3ea | diff --git a/script/dom/element.rs b/script/dom/element.rs
index f9e23bd50..8bf86b604 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -2416,10 +2416,13 @@ impl<'a> ::selectors::Element for Root<Element> {
self.namespace()
}
- fn match_non_ts_pseudo_class(&self,
- ... | 9 | 288 | 189 |
66ce76c5d107be16144e87019b50c23dd1c56b62 | Gregory Terzian | 2017-03-22T04:17:25 | servo: Merge #15519 - implement structured clone callbacks - support Blob cloning (from gterzian:implement_structuredclone_callbacks); r=jdm
<!-- Please describe your changes on the following line: -->
1. Implement stubs for structured clone callbacks.
2. Support Blob cloning.
Partial implementation of https://develo... | diff --git a/script/dom/bindings/structuredclone.rs b/script/dom/bindings/structuredclone.rs
index 405d245c4..ed3cf6aa6 100644
--- a/script/dom/bindings/structuredclone.rs
+++ b/script/dom/bindings/structuredclone.rs
@@ -5,15 +5,164 @@
//! This module implements structured cloning, as defined by [HTML]
//! (https://h... | 2 | 167 | 7 |
8f288f4bef9e3d383e1c91df762ffb53c600fa77 | Manish Goregaokar | 2017-03-22T03:20:28 | servo: Merge #16066 - stylo: Support all non-ts pseudos with an argument (from Manishearth:stylo-nonts); r=emilio
r=emilio https://bugzilla.mozilla.org/show_bug.cgi?id=1341086#c34
Source-Repo: https://github.com/servo/servo
Source-Revision: 82b88aad453f376a97adcca7b45d0b0ee390c817 | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index f18bbf839..fce2c2968 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -67,6 +67,11 @@ macro_rules! apply_non_ts_list {
],
string: [
... | 4 | 43 | 5 |
ae2c10cd43f65e8f3a434dd6a71be6d85658687f | Lucjan Suski | 2017-03-21T17:18:25 | servo: Merge #16061 - Use servo_config::opts only on linux target (from methyl:master); r=Manishearth
It's not used for other architectures and triggers warnings.
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the ste... | diff --git a/bluetooth/lib.rs b/bluetooth/lib.rs
index 5f54c113f..81f09a614 100644
--- a/bluetooth/lib.rs
+++ b/bluetooth/lib.rs
@@ -7,6 +7,7 @@ extern crate bitflags;
extern crate bluetooth_traits;
extern crate device;
extern crate ipc_channel;
+#[cfg(target_os = "linux")]
extern crate servo_config;
extern crate ... | 2 | 3 | 0 |
8b1a7a2ac2c41992c33c5d049d3086e9c33524f5 | Boris Chiou | 2017-03-21T16:22:37 | servo: Merge #16062 - stylo: Make specified::parse_number() return finite f32 (from BorisChiou:stylo/animation/parse_number); r=emilio
We need to clamp the float numbers to avoid positive/negative infinity in timing functions, transform functions, and other possible css values to avoid undefined behaviors and assertio... | diff --git a/style/values/specified/mod.rs b/style/values/specified/mod.rs
index f21a28a9f..9970be49a 100644
--- a/style/values/specified/mod.rs
+++ b/style/values/specified/mod.rs
@@ -195,7 +195,16 @@ pub fn parse_integer(input: &mut Parser) -> Result<CSSInteger, ()> {
#[allow(missing_docs)]
pub fn parse_number(inpu... | 1 | 10 | 1 |
8777736bb29b2e408f974dc2dcf171b4cd072e78 | Emilio Cobos Álvarez | 2017-03-21T14:13:28 | servo: Merge #16056 - Revendor rust nsstring bindings (from emilio:nsstring-vendor); r=mystor
r? @mystor
Source-Repo: https://github.com/servo/servo
Source-Revision: 6d3f1666711670f061367aa560c1263a9546f2ab | diff --git a/style/gecko_bindings/nsstring_vendor/src/lib.rs b/style/gecko_bindings/nsstring_vendor/src/lib.rs
index ed353d25f..6b666feb6 100644
--- a/style/gecko_bindings/nsstring_vendor/src/lib.rs
+++ b/style/gecko_bindings/nsstring_vendor/src/lib.rs
@@ -121,6 +121,7 @@
use std::ops::{Deref, DerefMut};
use std::m... | 1 | 243 | 63 |
af9a004f5ead7e5127028a158f8307bc1766735a | Jonathan Turner | 2017-03-21T10:15:10 | servo: Merge #16034 - Fix Windows UI and font squishing (from jonathandturner:fix_font); r=metajack
<!-- Please describe your changes on the following line: -->
This PR:
* updates the browserhtml dep (fixes https://github.com/servo/servo/issues/15255)
* updates the Windows font metric calculation (fixes https://gith... | diff --git a/gfx/platform/windows/font.rs b/gfx/platform/windows/font.rs
index d45ac25ed..eff93d7e5 100644
--- a/gfx/platform/windows/font.rs
+++ b/gfx/platform/windows/font.rs
@@ -372,7 +372,7 @@ impl FontHandleMethods for FontHandle {
descent: au_from_du_s(dm.descent as i32),
max_ad... | 1 | 1 | 1 |
d736f12126afc8a16009e78701255b7baaf1f7d0 | Boris Chiou | 2017-03-21T08:36:49 | servo: Merge #16055 - stylo: Bug 1343153 - Use servo css-parser for ParseEasing (from BorisChiou:stylo/animation/parse_easing); r=emilio
These patches fix [Bug 1343153](https://bugzilla.mozilla.org/show_bug.cgi?id=1343153).
---
- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not repor... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 15a9d06dc..6cb3c77a8 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -691,6 +691,7 @@ mod bindings {
];
let servo_borrow_types = [
"nsCSSValue",
+ "nsTimingFunction",
"RawGeckoAnimationV... | 2 | 12 | 1 |
c77d3a690427577c5bd47e9a6f7cb6438428c9cd | Elliott Pardee | 2017-03-21T03:15:31 | servo: Merge #16054 - Making a few lines in layout_wrapper.rs a bit nicer, fixing #15811 (from vypr:master); r=Wafflespeanut
Source-Repo: https://github.com/servo/servo
Source-Revision: 3b15efd2ba72a69520320da99de9f1a0b4100d53 | diff --git a/script/layout_wrapper.rs b/script/layout_wrapper.rs
index 36aa7601d..bd21212f2 100644
--- a/script/layout_wrapper.rs
+++ b/script/layout_wrapper.rs
@@ -933,11 +933,12 @@ impl<ConcreteNode> Iterator for ThreadSafeLayoutNodeChildrenIterator<ConcreteNod
let mut current_node = self.current_nod... | 1 | 6 | 5 |
e67ececa4182cab71815158c6f41e56e616df680 | Simon Sapin | 2017-03-21T00:00:31 | servo: Merge #16053 - Use AtomicRefCell instead of RwLock inside SharedRwLock for stylo (from bholley:shared_lock_atomic_refcell); r=bholley
@SimonSapin wrote the original patch in [1], and I tweaked it to conditionally compile. Just waiting for the try run to come back green before landing.
[1] https://bugzilla.mozi... | diff --git a/style/lib.rs b/style/lib.rs
index ab564c59b..ddb585388 100644
--- a/style/lib.rs
+++ b/style/lib.rs
@@ -172,9 +172,15 @@ longhand_properties_idents!(reexport_computed_values);
/// FIXME: Remove this and use Arc::ptr_eq once we require Rust 1.17
#[inline]
pub fn arc_ptr_eq<T: 'static>(a: &Arc<T>, b: &Arc... | 2 | 97 | 43 |
18e021fe70d2ce681660ecd29eebdd36097083d9 | Lucjan Suski | 2017-03-20T20:25:20 | servo: Merge #16051 - Make ImageData::new return Fallible instead of unwrapping a result (from methyl:master); r=jdm
Instead of unwrapping `new_with_jsobject` result, `ImageData::new` will just pass the error along.
It required tweaking `canvasrenderingcontext2d` as it no longer needs to assume the result is `Ok`.
-... | diff --git a/script/dom/canvasrenderingcontext2d.rs b/script/dom/canvasrenderingcontext2d.rs
index 28ba1acfc..07338d8b7 100644
--- a/script/dom/canvasrenderingcontext2d.rs
+++ b/script/dom/canvasrenderingcontext2d.rs
@@ -998,15 +998,15 @@ impl CanvasRenderingContext2DMethods for CanvasRenderingContext2D {
le... | 2 | 12 | 8 |
365ed2a5391ea7ef573c496e06104eab369a7ded | Matt Brubeck | 2017-03-20T15:31:25 | servo: Merge #16045 - Bug 1348487 - stylo: Don't allow combinators in :-moz-any (from mbrubeck:any); r=emilio
https://bugzilla.mozilla.org/show_bug.cgi?id=1348487
Source-Repo: https://github.com/servo/servo
Source-Revision: 17098ddc8ffde03945387f98f52d1856ff1a8cd8 | diff --git a/style/gecko/selector_parser.rs b/style/gecko/selector_parser.rs
index 8b3b019dc..25785beee 100644
--- a/style/gecko/selector_parser.rs
+++ b/style/gecko/selector_parser.rs
@@ -341,6 +341,10 @@ impl<'a> ::selectors::Parser for SelectorParser<'a> {
let selectors = parser.parse_comma_... | 1 | 4 | 0 |
22000bf86b09923ca952c8ccfdc8bc3f8923f275 | Emilio Cobos Álvarez | 2017-03-20T13:26:38 | servo: Merge #15890 - selectors: Check the bloom filter at most once per complex selector (from emilio:bloom); r=heycam
Fixes https://github.com/servo/rust-selectors/issues/107
Source-Repo: https://github.com/servo/servo
Source-Revision: 4fa40c77036c0635abb6a567146a101d11521cb0 | diff --git a/selectors/matching.rs b/selectors/matching.rs
index f567b2bc7..e100a6f33 100644
--- a/selectors/matching.rs
+++ b/selectors/matching.rs
@@ -112,12 +112,56 @@ pub fn matches<E>(selector_list: &[Selector<E::Impl>],
})
}
+fn may_match<E>(mut selector: &ComplexSelector<E::Impl>,
+ bf: &B... | 1 | 73 | 84 |
e03e261caf50a0cd7c549fcb7b60c6ab4bb3f8f6 | Panashe M. Fundira | 2017-03-20T11:23:28 | servo: Merge #15918 - PropertyDeclaration with CSSWideKeyword is parsed (from munyari:whitespace); r=emilio
Addresses #15401
Source-Repo: https://github.com/servo/servo
Source-Revision: 4a63581fadd41f9a1901498e47672c59d44b5fb0 | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index f9c2cac07..b2a84529f 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -1175,7 +1175,9 @@ impl PropertyDeclaration {
pub fn value_is_unparsed(&self) -> bool {
match *self ... | 1 | 3 | 1 |
388f2d2ce6c5701e12e900b63768aa7311c0a8e4 | Emilio Cobos Álvarez | 2017-03-20T10:43:26 | servo: Merge #16035 - stylo: Sequentialize binding generation if logging is enabled (from emilio:parallel-log-no-fun); r=upsuper
Otherwise the log is useless, and it's even slower than in parallel mode due to
the high lock contention.
Source-Repo: https://github.com/servo/servo
Source-Revision: 9fdebf0934bd4fa9741475... | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index a217c6fe0..15a9d06dc 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -772,17 +772,22 @@ mod bindings {
pub fn generate() {
use self::common::*;
- use std::fs;
- use std::thread;
+ use std::{env, fs, thread};
println!("c... | 1 | 14 | 9 |
9c4dddaa9d2f44b6ff9556bc7e210bd9a9bb9e66 | Manish Goregaokar | 2017-03-20T07:28:46 | servo: Merge #16016 - Add separate specified value for keyword font sizes (from Manishearth:graft-font-size); r=upsuper
In Gecko, these keywords compute to different values depending on the
font.
See https://bugzilla.mozilla.org/show_bug.cgi?id=1341775
Source-Repo: https://github.com/servo/servo
Source-Revision: 50f... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 3a73bbce9..f9e23bd50 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -478,7 +478,10 @@ impl LayoutElementHelpers for LayoutJS<Element> {
if let Some(font_size) = font_size {
hints.push(from_declaration(
... | 4 | 160 | 80 |
5d96c79db217c3bad13701f1897cc3556182005f | Jeremy Chen | 2017-03-20T03:56:00 | servo: Merge #16036 - Stylo: Add support for text-size-adjust property (from chenpighead:text-size-adjust); r=upsuper
<!-- Please describe your changes on the following line: -->
Gecko supports -{moz,webkit}-text-size-adjust properties, but it only supports auto and none value.
Implement parsing/serialization for tex... | diff --git a/style/properties/gecko.mako.rs b/style/properties/gecko.mako.rs
index 65f6c3c73..35ef4a1f0 100644
--- a/style/properties/gecko.mako.rs
+++ b/style/properties/gecko.mako.rs
@@ -2606,7 +2606,7 @@ fn static_assert() {
<%self:impl_trait style_struct_name="InheritedText"
skip_longhands="te... | 2 | 12 | 1 |
47295fd571b4a0c2807b764448a41d5547a24cbc | Simon Sapin | 2017-03-20T01:22:23 | servo: Merge #16033 - Per-document shared lock for author-origin stylesheets (from servo:per-document-locks); r=emilio
Fix #16027
Source-Repo: https://github.com/servo/servo
Source-Revision: 8d25dcb8b5f83728987171fe7a5b4905df741e58 | diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs
index 1ebee7b5e..31500461f 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -114,7 +114,6 @@ use style::error_reporting::StdoutErrorReporter;
use style::logical_geometry::LogicalPoint;
use style::media_queries::{Device, MediaType};
use style::pa... | 3 | 116 | 117 |
2c9787e2fb286bc3d926842cb5c3e7025950b743 | Paul Rouget | 2017-03-20T00:42:16 | servo: Merge #16030 - Expose a method to toggle wr profiler (from paulrouget:toggle-wr-profiler); r=glennw
Source-Repo: https://github.com/servo/servo
Source-Revision: bea126fb7333ca4ffaa9e7556141bc68b01ffd53 | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index 9500e783e..dc2a44fc0 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -1702,6 +1702,11 @@ impl<Window: WindowMethods> IOCompositor<Window> {
self.shutdown_state != ShutdownState::FinishedShuttingDown
}
+ ... | 2 | 9 | 0 |
e0853ff87b890a929b24ac4cf12c6f25eef54ca9 | Zach Ploskey | 2017-03-19T15:26:43 | servo: Merge #15604 - serialize font: to empty on non-default subprops (from zploskey:reset_font_shorthand_serialization); r=SimonSapin
Fixes font shorthand serialization so that it serializes to "" when non-default subproperties are defined. These subproperties are those defined in #15033.
Adds tests:
- font_should_... | diff --git a/style/properties/shorthand/font.mako.rs b/style/properties/shorthand/font.mako.rs
index a94c2efa7..19ec505ee 100644
--- a/style/properties/shorthand/font.mako.rs
+++ b/style/properties/shorthand/font.mako.rs
@@ -6,18 +6,18 @@
<%helpers:shorthand name="font" sub_properties="font-style font-variant font-w... | 1 | 31 | 17 |
ffdf29452d9a83e4f6134b971ce54aaac9e15698 | Simon Sapin | 2017-03-19T12:48:39 | servo: Merge #16029 - Remove never-sent ReflowWithNewlyLoadedWebFont message, fix #16026 (from servo:dead-code); r=nox
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #16026 (github issue number if applicable).
Source-Repo: https://github.... | diff --git a/layout_thread/lib.rs b/layout_thread/lib.rs
index 58f81a71a..566d6e437 100644
--- a/layout_thread/lib.rs
+++ b/layout_thread/lib.rs
@@ -596,9 +596,6 @@ impl LayoutThread {
|| self.handle_reflow(&data, possibly_locked_rw_data));
},
Msg::TickAnimations => se... | 2 | 0 | 28 |
e8faae00225430754b5301e0b4bc4c1ce112403f | Nazım Can Altınova | 2017-03-18T20:45:01 | servo: Merge #16028 - Stylo: Add support for -moz-* pseudo-classes for alt text (from canaltinova:pseudos-for-alt); 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 `__` w... | diff --git a/style/element_state.rs b/style/element_state.rs
index c5e11ba18..b57f2a99b 100644
--- a/style/element_state.rs
+++ b/style/element_state.rs
@@ -9,7 +9,7 @@
bitflags! {
#[doc = "Event-based element states."]
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
- pub flags ElementState: u16 {
+ ... | 4 | 36 | 5 |
61f169cc24f29ee4cdd19a13bf76b4bef7931bfa | George White | 2017-03-18T18:25:03 | servo: Merge #16024 - Add parsing/serialisation for 'grid-auto-flow' (from Wafflespeanut:gal); r=Wafflespeanut
Didn't want the work (and review comments) in #15364 to go wasted. Fixes #15313
Source-Repo: https://github.com/servo/servo
Source-Revision: e2aecc3ed7c66a49f2baf13c16e56c3fb6c990cd | diff --git a/style/properties/longhand/position.mako.rs b/style/properties/longhand/position.mako.rs
index fad896f33..9c61a1dec 100644
--- a/style/properties/longhand/position.mako.rs
+++ b/style/properties/longhand/position.mako.rs
@@ -322,3 +322,89 @@ ${helpers.predefined_type("object-position",
... | 1 | 86 | 0 |
296a189b230a2f1780ce4ddaf722e9aa0958627d | Emilio Cobos Álvarez | 2017-03-18T14:24:52 | servo: Merge #16023 - style: Fix some nits (from emilio:nits); r=emilio
I was looking at the code that used Length for #16015, and found these two.
Source-Repo: https://github.com/servo/servo
Source-Revision: 7fcba10614941d2c703c710227ec7367574e892f | diff --git a/style/properties/longhand/padding.mako.rs b/style/properties/longhand/padding.mako.rs
index 64ad713d6..a25eabd24 100644
--- a/style/properties/longhand/padding.mako.rs
+++ b/style/properties/longhand/padding.mako.rs
@@ -13,11 +13,11 @@
spec = "https://drafts.csswg.org/css-logical-props/#propde... | 2 | 7 | 10 |
7082a30a79b1b1dfefa0cc1b6c42d8c30fcf765a | Emilio Cobos Álvarez | 2017-03-18T13:45:01 | servo: Merge #16022 - stylo: Add a build log mechanism (from emilio:stylo-build-log); r=upsuper
This will allow us to debug bindgen problems.
Source-Repo: https://github.com/servo/servo
Source-Revision: aa8b602f9e4b9fb205ec1859a0c733d4713e20bf | diff --git a/style/Cargo.toml b/style/Cargo.toml
index ac5d1922e..a4a6e5ac8 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -34,7 +34,7 @@ heapsize = "0.3.0"
heapsize_derive = {version = "0.1", optional = true}
html5ever-atoms = {version = "0.2", optional = true}
lazy_static = "0.2"
-log = "0.3.5"
+log = "0.... | 3 | 50 | 1 |
1e1033911ecb5cb3efdf26fb9a94b19edcfb0312 | Bobby Holley | 2017-03-18T05:19:51 | servo: Merge #16015 - Box more specified values to bring SpecifiedValue/PropertyDeclaration sizes down to 24/32 bytes (from bholley:box_more_properties); r=Manishearth
I think these properties are generally rare enough that they're not worth adding 8 bytes of memmove overhead on every PropertyDeclaration. There are a ... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 3c94ca213..8e13716fa 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -623,13 +623,13 @@ impl LayoutElementHelpers for LayoutJS<Element> {
if let Some(border) = border {
let width_value = specified::BorderWidth::from... | 9 | 24 | 16 |
2ab7886383a95f67b721ae8ae216645d37d165bf | Xidorn Quan | 2017-03-17T22:15:01 | servo: Merge #16006 - Implement -moz-box-ordinal-group property (from upsuper:box-ordinal-group); r=Manishearth
This PR fixes #16000.
Source-Repo: https://github.com/servo/servo
Source-Revision: 8f3f8098c3c7e88dd851531f51e63f84437f9cf4 | diff --git a/layout/fragment.rs b/layout/fragment.rs
index 1008c4f1a..519765214 100644
--- a/layout/fragment.rs
+++ b/layout/fragment.rs
@@ -42,14 +42,14 @@ use std::sync::{Arc, Mutex};
use style::arc_ptr_eq;
use style::computed_values::{border_collapse, box_sizing, clear, color, display, mix_blend_mode};
use style:... | 11 | 155 | 180 |
5d23124a17014ffd31e08e0249ce877a0b60510b | Alan Jeffrey | 2017-03-17T16:18:38 | servo: Merge #15799 - Implement dissimilar-origin window.parent and window.top (from asajeffrey:script-window-xorigin-parent); r=nox
<!-- Please describe your changes on the following line: -->
This PR implements `window.parent` and `window.top` for dissimilar-origin windows.
This PR builds on #15536, only the last ... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 124731f4b..0682cbe52 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -1092,7 +1092,18 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
FromScriptMsg::TouchEventProcessed(result)... | 6 | 206 | 74 |
55325216e9ec0d863a86f72943608da21387fcc5 | Anthony Ramine | 2017-03-17T15:36:27 | servo: Merge #16013 - Enable the debugger on Android (from nox:mio); r=larsbergstrom
Apparently mio 0.6.5 now fully supports Android.
Source-Repo: https://github.com/servo/servo
Source-Revision: c2f4a59474692c5e75a388d1c47a2ca0e069bac0 | diff --git a/debugger/Cargo.toml b/debugger/Cargo.toml
index 20f5779b2..d09814852 100644
--- a/debugger/Cargo.toml
+++ b/debugger/Cargo.toml
@@ -12,6 +12,4 @@ crate_type = ["rlib"]
[dependencies]
log = "0.3.5"
-
-[target.'cfg(not(target_os = "android"))'.dependencies]
ws = "0.6"
diff --git a/debugger/lib.rs b/debu... | 2 | 0 | 18 |
387ffdfb02d28567a23197bf694f31aacd2dffb1 | cku | 2017-03-17T12:53:10 | servo: Merge #16004 - stylo: Update clip-path and transform-box glue (from CJKu:bug-1339674); r=heycam
<!-- Please describe your changes on the following line: -->
Gecko bug1340044 should be land immediately after this PR been merged.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` wh... | diff --git a/style/gecko/conversions.rs b/style/gecko/conversions.rs
index 6b42c1e04..43c8ce3b3 100644
--- a/style/gecko/conversions.rs
+++ b/style/gecko/conversions.rs
@@ -439,13 +439,13 @@ pub mod basic_shape {
fn from(reference: GeometryBox) -> Self {
use gecko_bindings::structs::StyleGeometryB... | 6 | 68 | 69 |
0d52f491a1aa4db403738b31a3d752815147a239 | Anthony Ramine | 2017-03-17T11:25:20 | servo: Merge #16010 - Properly coalesce whitespace when given a reference child (fixes #15979) (from nox:h5e); r=KiChjang
Source-Repo: https://github.com/servo/servo
Source-Revision: 32784c5fa8f30f007a45122dae5ae16d06d1733d | diff --git a/script/dom/servoparser/mod.rs b/script/dom/servoparser/mod.rs
index 531f13274..3904910d3 100644
--- a/script/dom/servoparser/mod.rs
+++ b/script/dom/servoparser/mod.rs
@@ -657,7 +657,12 @@ fn insert(parent: &Node, reference_child: Option<&Node>, child: NodeOrText<JS<No
parent.InsertBefore(&n, ... | 1 | 6 | 1 |
f4fcc2d56604d6c2a6389e1947eae0be1f16c3d3 | n0max | 2017-03-17T08:55:16 | servo: Merge #15929 - Fix crop_area_bytes_length calculation and add tests (from n0max:canvas_drawimage_crop_fix); r=nox
<!-- Please describe your changes on the following line: -->
- Fix crop_area_bytes_length calculation (the height was multiplied by itself)
- Add tests for this error and for the case that the width... | diff --git a/canvas/canvas_paint_thread.rs b/canvas/canvas_paint_thread.rs
index 87ebcdf5c..8aca22bdb 100644
--- a/canvas/canvas_paint_thread.rs
+++ b/canvas/canvas_paint_thread.rs
@@ -746,7 +746,7 @@ fn crop_image(image_data: Vec<u8>,
// (consecutive elements in a pixel row of the image are contiguous in memory)
... | 1 | 1 | 1 |
79b9c58d6edd19d4e394adc78c074e6bad1c6f59 | Simon Sapin | 2017-03-17T03:07:37 | servo: Merge #15993 - Remove rust-encoding from geckolib (from servo:utf84eva); r=Manishearth
It wasn’t used, gecko always passes UTF-8 for parsing stylesheets.
Source-Repo: https://github.com/servo/servo
Source-Revision: f53692cd03e19c30a2a6a3e0775798ed50d481e9 | diff --git a/style/Cargo.toml b/style/Cargo.toml
index d6792900c..ac5d1922e 100644
--- a/style/Cargo.toml
+++ b/style/Cargo.toml
@@ -17,7 +17,7 @@ gecko = ["nsstring_vendor", "rayon/unstable"]
use_bindgen = ["bindgen", "regex"]
servo = ["serde/unstable", "serde", "serde_derive", "heapsize_derive",
"style_tr... | 4 | 93 | 77 |
9f7194dce0707c87ee11f45f84b86bbd25d81c39 | Simon Sapin | 2017-03-17T02:13:37 | servo: Merge #15992 - Rewrite PropertyDeclaration::id to help the optimizer (from servo:id-table); r=bholley
If I’m reading the release-mode assembly correctly, before this change `PropertyDeclaration::id` is implemented with a computed jump:
```assembly
lea rcx, [rip + .LJTI117_0]
movsxd rax, dword ptr [rcx + 4*ra... | diff --git a/style/properties/properties.mako.rs b/style/properties/properties.mako.rs
index b0d2b878b..5dca7bee0 100644
--- a/style/properties/properties.mako.rs
+++ b/style/properties/properties.mako.rs
@@ -1094,17 +1094,32 @@ impl PropertyDeclaration {
/// Given a property declaration, return the property decla... | 1 | 21 | 6 |
395eeea5466acb19da720aa5f61e74e3a6b701a2 | Anthony Ramine | 2017-03-17T00:36:00 | servo: Merge #15987 - Fix a couple of HTML parsing issues (from nox:h5e); r=Ms2ger
Source-Repo: https://github.com/servo/servo
Source-Revision: 47f0b4155cb2925dc0702aedf1a539b5ac22a286 | diff --git a/script/dom/servoparser/html.rs b/script/dom/servoparser/html.rs
index 688e2aba7..6142dba20 100644
--- a/script/dom/servoparser/html.rs
+++ b/script/dom/servoparser/html.rs
@@ -33,6 +33,7 @@ use html5ever::tree_builder::{NodeOrText, QuirksMode};
use html5ever::tree_builder::{Tracer as HtmlTracer, TreeBuild... | 1 | 11 | 0 |
3668fac29e137473283f094985f3e9c1b7f004df | Stefano Chiodino | 2017-03-16T23:55:51 | servo: Merge #15970 - #15842 Add gecko glue for caret-color (from StefanoChiodino:master); r=emilio
<!-- Please describe your changes on the following line: -->
I've mostly followed the description of #15842, but on the last line, where `copy` is mentioned, I'm assuming that `clone` was meant instead. It doesn't run s... | diff --git a/style/gecko_bindings/sugar/style_complex_color.rs b/style/gecko_bindings/sugar/style_complex_color.rs
index cd861b1c0..47d9046e8 100644
--- a/style/gecko_bindings/sugar/style_complex_color.rs
+++ b/style/gecko_bindings/sugar/style_complex_color.rs
@@ -4,9 +4,10 @@
//! Rust helpers to interact with Gecko... | 4 | 50 | 13 |
0d66cf418caa5ecd1d29cab4beb55c88fe812d61 | Matt Brubeck | 2017-03-16T23:19:12 | servo: Merge #15966 - Bug 1340683 - stylo: Implement the :-moz-any pseudo-class (from mbrubeck:any); r=emilio
Adds support for the non-standard [:-moz-any](https://developer.mozilla.org/en-US/docs/Web/CSS/:any) selector.
---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report ... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index dcafd4bf9..3c94ca213 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -86,7 +86,7 @@ use parking_lot::RwLock;
use ref_filter_map::ref_filter_map;
use script_layout_interface::message::ReflowQueryType;
use script_thread::Runnable;
-use ... | 10 | 146 | 40 |
c789a41105e146289e4f006a642addca01ba6caa | Mariot Chauvin | 2017-03-16T22:41:07 | servo: Merge #15906 - Access browsing context safely (from mchv:mchv-safe-browsing-context); r=asajeffrey
Current browsing context accessor in `Document` unwraps the browsing context `Option` which prevents document to handle correctly the case when there is no browsing context.
This is the reason servo panics with `... | diff --git a/script/dom/document.rs b/script/dom/document.rs
index 441993a8e..b85366a27 100644
--- a/script/dom/document.rs
+++ b/script/dom/document.rs
@@ -398,7 +398,7 @@ impl Document {
#[inline]
pub fn browsing_context(&self) -> Option<Root<BrowsingContext>> {
if self.has_browsing_context {
- ... | 2 | 8 | 3 |
0dd290abc6175d07f306417c9c39fcfbec45e094 | Bobby Holley | 2017-03-16T21:48:53 | servo: Merge #15997 - Rearrange PropertyDeclaration to avoid embedding DeclaredValue (from bholley:rearrange_propdecl); r=mbrubeck
From https://bugzilla.mozilla.org/show_bug.cgi?id=1347719
This effectively combines the discriminants of the two enums and reduces the
size of PropertyDeclaration by one word.
Source-Rep... | diff --git a/script/dom/element.rs b/script/dom/element.rs
index 33b2ccb9b..dcafd4bf9 100644
--- a/script/dom/element.rs
+++ b/script/dom/element.rs
@@ -103,8 +103,7 @@ use style::context::{QuirksMode, ReflowGoal};
use style::element_state::*;
use style::matching::{common_style_affecting_attributes, rare_style_affect... | 7 | 225 | 174 |
35c99ef8026af84078402d41bb1980c959e658f8 | Alan Jeffrey | 2017-03-16T13:50:14 | servo: Merge #15967 - Disabled tinyfiledialogs when running headless (from asajeffrey:headless-disable-tinyfd); r=jdm
<!-- Please describe your changes on the following line: -->
Disable tinyfiledialogs when running in headless mode.
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` wh... | diff --git a/bluetooth/Cargo.toml b/bluetooth/Cargo.toml
index f8fcb9605..e0b4939a5 100644
--- a/bluetooth/Cargo.toml
+++ b/bluetooth/Cargo.toml
@@ -14,6 +14,7 @@ bitflags = "0.7"
bluetooth_traits = {path = "../bluetooth_traits"}
device = {git = "https://github.com/servo/devices", features = ["bluetooth-test"]}
ipc-... | 5 | 20 | 2 |
c5b0dc4e745bdaa962504a36b9bcc85c1cdf79e1 | Nazım Can Altınova | 2017-03-16T12:21:29 | servo: Merge #15983 - Stylo: Add some missing pseudo classes (from canaltinova:pseudo-classes); 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 build -d` does not report any errors
- [X] `./m... | diff --git a/style/element_state.rs b/style/element_state.rs
index 3bfa55242..c5e11ba18 100644
--- a/style/element_state.rs
+++ b/style/element_state.rs
@@ -37,7 +37,13 @@ bitflags! {
const IN_TARGET_STATE = 0x100,
#[doc = "https://fullscreen.spec.whatwg.org/#%3Afullscreen-pseudo-class"]
cons... | 3 | 18 | 2 |
e4210a4365a75bef964d5a0b49238a0bad3391d4 | Boris Chiou | 2017-03-16T09:17:08 | servo: Merge #15978 - stylo: Fix shorthand parser for transition none (from BorisChiou:animation/transition_shorthand); r=upsuper
These changes fix [Bug 1347053](https://bugzilla.mozilla.org/show_bug.cgi?id=1347053) if we have the transition shorthand: `transition: none`.
---
- [X] `./mach build -d` does not report a... | diff --git a/style/properties/longhand/box.mako.rs b/style/properties/longhand/box.mako.rs
index 55d348b6c..c289b3ad4 100644
--- a/style/properties/longhand/box.mako.rs
+++ b/style/properties/longhand/box.mako.rs
@@ -777,7 +777,8 @@ ${helpers.single_keyword("overflow-x", "visible hidden scroll auto",
... | 2 | 32 | 26 |
6a78c863f391b7c3bdb25fa45a5cf042434ddd17 | Manish Goregaokar | 2017-03-16T07:01:19 | servo: Merge #15976 - stylo: Add parsing support for functional non-ts pseudoclasses, add stub -moz-system-metric pseudo (from Manishearth:stylo-stub-system-metric); r=heycam
r=heycam from https://bugzilla.mozilla.org/show_bug.cgi?id=1341086
Source-Repo: https://github.com/servo/servo
Source-Revision: 78c8edfb0a0556b... | diff --git a/style/gecko/non_ts_pseudo_class_list.rs b/style/gecko/non_ts_pseudo_class_list.rs
index ef0ec883d..0fc580cdc 100644
--- a/style/gecko/non_ts_pseudo_class_list.rs
+++ b/style/gecko/non_ts_pseudo_class_list.rs
@@ -11,18 +11,18 @@
*
* Expected usage is as follows:
* ```
- * fn use_pseudo_class() {
- * ... | 3 | 79 | 32 |
fdbc38064e9b27839dc095e84510a5274ddd952c | Manish Goregaokar | 2017-03-16T05:34:19 | servo: Merge #15974 - stylo: Support system colors (from Manishearth:stylo-system-colors); r=heycam
r=heycam from https://bugzilla.mozilla.org/show_bug.cgi?id=1340696
Source-Repo: https://github.com/servo/servo
Source-Revision: 261a51a13a4a7742a7362534ae92023dfe38e630 | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index 6f2627289..8dbbc7f74 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -268,6 +268,7 @@ mod bindings {
.include(add_include("mozilla/ServoElementSnapshot.h"))
.include(add_include("mozilla/dom/Element.h"))
... | 7 | 720 | 1 |
77f6aae494a2ac261be0ed7aa59144cec85f04f7 | Manish Goregaokar | 2017-03-15T23:55:43 | servo: Merge #15971 - Replace non_ts_pseudo_class_list include hack with higher order macro (from Manishearth:nonts); r=nox
Cleaner, and easier to work with.
We may need to expand the functionality to support integer and string pseudo classes like -moz-system-metric
Source-Repo: https://github.com/servo/servo
Source... | diff --git a/style/gecko/mod.rs b/style/gecko/mod.rs
index 625fa77bb..2ee19fc60 100644
--- a/style/gecko/mod.rs
+++ b/style/gecko/mod.rs
@@ -4,6 +4,9 @@
//! Gecko-specific style-system bits.
+#[macro_use]
+mod non_ts_pseudo_class_list;
+
pub mod arc_types;
pub mod conversions;
pub mod data;
diff --git a/style/g... | 3 | 38 | 32 |
6dd72585ac059bb93f5fc8aff364359e348a7c66 | Emilio Cobos Álvarez | 2017-03-15T16:56:40 | servo: Merge #15941 - style: Fix media query parsing when invalid queries are present (from emilio:media); r=heycam
Fixes [bug 1347273](https://bugzil.la/1347273).
Source-Repo: https://github.com/servo/servo
Source-Revision: 304cafe57d45921e460ff408ae18138f4eca10df | diff --git a/style/media_queries.rs b/style/media_queries.rs
index fea6811ff..e9336515e 100644
--- a/style/media_queries.rs
+++ b/style/media_queries.rs
@@ -243,19 +243,13 @@ pub fn parse_media_query_list(input: &mut Parser) -> MediaList {
}
let mut media_queries = vec![];
- let mut found_invalid = false... | 1 | 2 | 10 |
46871d1a938d18b4df60f3a3c39f4e9b7989181d | Xidorn Quan | 2017-03-15T13:37:18 | servo: Merge #15956 - Fix -moz-user-select: tri-state (from upsuper:user-select-tri-state); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 31d44d3f311af8b7ee9b9b3e9cfcc663466aabdb | diff --git a/style/properties/longhand/ui.mako.rs b/style/properties/longhand/ui.mako.rs
index cd5e9c785..b6d7bcd11 100644
--- a/style/properties/longhand/ui.mako.rs
+++ b/style/properties/longhand/ui.mako.rs
@@ -17,7 +17,7 @@ ${helpers.single_keyword("ime-mode", "auto normal active disabled inactive",
... | 1 | 1 | 1 |
95b8348b2c63f9e29fdb6e0ce974a1994a91c2d5 | Xidorn Quan | 2017-03-15T10:58:06 | servo: Merge #15961 - Implement access to CSSNamespaceRule for stylo (from upsuper:bug1345698); r=heycam
This is the Servo side changes of [bug 1345698](https://bugzilla.mozilla.org/show_bug.cgi?id=1345698).
Source-Repo: https://github.com/servo/servo
Source-Revision: 9986b42333a7438c02debd7fe8395a5c146a58df | diff --git a/style/gecko/arc_types.rs b/style/gecko/arc_types.rs
index 149f70db2..43a87f6b3 100644
--- a/style/gecko/arc_types.rs
+++ b/style/gecko/arc_types.rs
@@ -8,7 +8,7 @@
#![allow(non_snake_case, missing_docs)]
-use gecko_bindings::bindings::{RawServoMediaList, RawServoMediaRule};
+use gecko_bindings::bindin... | 2 | 23 | 2 |
2dcdbf4e1229f10221e53de4efd22ed03c1cda49 | Xidorn Quan | 2017-03-15T04:43:41 | servo: Merge #15949 - Don't serialize url() twice (from upsuper:filter-url); r=heycam
Source-Repo: https://github.com/servo/servo
Source-Revision: 6a2a5be7641dbda2391f4fff7c102f0176899562 | diff --git a/style/properties/longhand/effects.mako.rs b/style/properties/longhand/effects.mako.rs
index cd7b61128..dd147481b 100644
--- a/style/properties/longhand/effects.mako.rs
+++ b/style/properties/longhand/effects.mako.rs
@@ -266,9 +266,7 @@ ${helpers.predefined_type("clip",
try!(dest.write_... | 1 | 0 | 4 |
eb2e237cd03baaf41a46a60691802e7b9f10c2ce | Abhishek Kumar | 2017-03-14T23:03:27 | servo: Merge #15598 - text-overflow accepts only valid values for the second part of value (from abhiQmar:master); r=canaltinova
… value #15491
<!-- 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 ... | diff --git a/style/properties/longhand/text.mako.rs b/style/properties/longhand/text.mako.rs
index 00b7b3fb3..710150341 100644
--- a/style/properties/longhand/text.mako.rs
+++ b/style/properties/longhand/text.mako.rs
@@ -51,7 +51,7 @@
}
pub fn parse(context: &ParserContext, input: &mut Parser) -> Result<Speci... | 1 | 1 | 1 |
7c1bf6be65edc97cd4e336c949129115cfefd817 | Hiroyuki Ikezoe | 2017-03-14T22:23:22 | servo: Merge #15943 - Use computed styles of the pseudo and its parent when calling Gecko_U… (from hiikezoe:animation-on-pseudo); r=heycam
…pdateAnimations to update CSS Animations on pseudo-elements.
<!-- Please describe your changes on the following line: -->
This is a PR of https://bugzilla.mozilla.org/show_bug.c... | diff --git a/style/gecko/wrapper.rs b/style/gecko/wrapper.rs
index ffeda8793..83cf8788b 100644
--- a/style/gecko/wrapper.rs
+++ b/style/gecko/wrapper.rs
@@ -506,24 +506,31 @@ impl<'le> TElement for GeckoElement<'le> {
}
fn update_animations(&self, pseudo: Option<&PseudoElement>) {
- let atom_ptr = Ps... | 1 | 11 | 4 |
20e4388a5aecd04db414a410f6da318414fe0eaa | Sneha Sinha | 2017-03-14T20:20:08 | servo: Merge #15820 - border-image no more accepting shorthand values (from snehasi:master); r=KiChjang
Fixes #15770
Added a check in border.mako.rs, if `w` and `o` are not none before returning Ok status
---
- [x] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors
- [X]... | diff --git a/style/properties/shorthand/border.mako.rs b/style/properties/shorthand/border.mako.rs
index a215cf891..7f48a74ff 100644
--- a/style/properties/shorthand/border.mako.rs
+++ b/style/properties/shorthand/border.mako.rs
@@ -246,7 +246,12 @@ pub fn parse_border(context: &ParserContext, input: &mut Parser)
... | 1 | 6 | 1 |
cf5aadcad42e6fbad676d1635d9c5eddb2dcb89f | Alan Jeffrey | 2017-03-14T19:30:20 | servo: Merge #15878 - Frames in the constellation store LoadData rather than just URLs (from asajeffrey:constellation-frames-store-loaddata); r=cbrewster
<!-- Please describe your changes on the following line: -->
Include LoadData in each session history entry, so that when we reload discarded documents we can inclu... | diff --git a/constellation/constellation.rs b/constellation/constellation.rs
index 391fa1a67..29b748e76 100644
--- a/constellation/constellation.rs
+++ b/constellation/constellation.rs
@@ -587,6 +587,10 @@ impl<Message, LTF, STF> Constellation<Message, LTF, STF>
frame_id: FrameId,
... | 3 | 151 | 151 |
f5e597d5e8c9babab168155d2adeda606653356e | Manish Goregaokar | 2017-03-14T16:25:27 | servo: Merge #15939 - stylo: support all content values (from Manishearth:stylo-content-counter); r=heycam
r=heycam
https://bugzilla.mozilla.org/show_bug.cgi?id=1296477
Source-Repo: https://github.com/servo/servo
Source-Revision: 628cd7de6d6229af61d44b586da74176c21cc2ae | diff --git a/style/build_gecko.rs b/style/build_gecko.rs
index fe52deaac..6f2627289 100644
--- a/style/build_gecko.rs
+++ b/style/build_gecko.rs
@@ -574,6 +574,8 @@ mod bindings {
"nsStyleColor",
"nsStyleColumn",
"nsStyleContent",
+ "nsStyleContentData",
+ "n... | 7 | 234 | 86 |
01437398f1789ad6e172b0cab9fb61cc2c5011b9 | Paul Rouget | 2017-03-14T14:22:23 | servo: Merge #15795 - Let the embedder decide if servo should follow a link or not (from paulrouget:follow-link); r=asajeffrey
We want to give a chance to the embedder to handle a link itself.
Is it a problem that this will add a round trip to the main thread every time `load_url` is called?
---
<!-- Thank you for co... | diff --git a/compositing/compositor.rs b/compositing/compositor.rs
index bbdf18638..9500e783e 100644
--- a/compositing/compositor.rs
+++ b/compositing/compositor.rs
@@ -544,6 +544,13 @@ impl<Window: WindowMethods> IOCompositor<Window> {
self.window.load_end(back, forward, root);
}
+ ... | 4 | 19 | 0 |
7752b0cb16b402e8e84222dd03524b55b8b281b8 | Emilio Cobos Álvarez | 2017-03-13T21:05:48 | servo: Merge #15930 - style: Remove unneeded indirection in default_computed_values (from emilio:default-indirection); r=mbrubeck
Source-Repo: https://github.com/servo/servo
Source-Revision: 35028f8f60d172a6bde8133ebe26e887eb33d9e6 | diff --git a/style/properties/helpers.mako.rs b/style/properties/helpers.mako.rs
index e2f182e3f..cd88ae26a 100644
--- a/style/properties/helpers.mako.rs
+++ b/style/properties/helpers.mako.rs
@@ -229,7 +229,7 @@
#[allow(unused_variables)]
pub fn cascade_property(declaration: &PropertyDeclaration,
... | 3 | 7 | 7 |
d7d9715ea3e5d95ea9ed9ef83de24c0244766b4a | karan sharma | 2017-03-13T18:36:02 | servo: Merge #15611 - In {box,text}-shadow so blur-radius does not accept negative values (from karan1276:karan_box_shadow); r=upsuper
Change code for serialization for {box,text}-shadow so blur-radius can be parsed as non-negavite
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when... | diff --git a/style/values/specified/mod.rs b/style/values/specified/mod.rs
index 5c60141c6..60c169c55 100644
--- a/style/values/specified/mod.rs
+++ b/style/values/specified/mod.rs
@@ -639,7 +639,6 @@ impl Shadow {
// disable_spread_and_inset is for filter: drop-shadow(...)
#[allow(missing_docs)]
pub fn ... | 1 | 9 | 15 |
48927a103a139addcea2a05a3aa9489d07ebd54e | Boris Zbarsky | 2017-03-13T17:47:05 | servo: Merge #15910 - Add support for skipping display fixup for pseudos (from bzbarsky:anon-box-nofixup); r=emilio
This is needed for https://bugzilla.mozilla.org/show_bug.cgi?id=1346481
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[... | diff --git a/script_layout_interface/wrapper_traits.rs b/script_layout_interface/wrapper_traits.rs
index 5930538ea..d87683842 100644
--- a/script_layout_interface/wrapper_traits.rs
+++ b/script_layout_interface/wrapper_traits.rs
@@ -21,7 +21,7 @@ use style::context::SharedStyleContext;
use style::data::ElementData;
u... | 3 | 13 | 11 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.