servo/components
bors-servo 059ac12c00
Auto merge of #23073 - sbansal3096:master, r=emilio
Expose public getter to stylesheet's owner

<!-- Please describe your changes on the following line: -->

- [x] expose a public getter on CSSStyleSheet to return the stylesheet's owner
- [x] in CSSRuleList::insert_rule, use the new getter to pass a non-None value as an argument to arc.insert_rule
- [x] add a test for this that verifies that the new stylesheet is actually loaded
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #23028

<!-- Either: -->
- [x] There are tests for these changes

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/23073)
<!-- Reviewable:end -->
2019-03-22 19:45:08 -04:00
..
allocator Make Servo components use winapi 0.3 2019-01-16 14:29:53 +01:00
atoms Fire negotiationneeded and icecandidate events 2019-01-29 11:36:27 -08:00
background_hang_monitor fix frame-pointer stackwalking 2019-01-29 20:35:45 +08:00
bluetooth #23065 removed unnecessary headless checking 2019-03-22 16:31:18 +03:00
bluetooth_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
canvas WR update: new viewport semantic 2019-03-22 15:41:48 +08:00
canvas_traits Remove offscreen_gl_context dependency from canvas_traits and script. 2019-03-07 09:27:36 -05:00
compositing WR update: draw background before rendering 2019-03-22 15:41:48 +08:00
config #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
config_plugins #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
constellation #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
debugger Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
deny_public_fields Update syn and related dependencies 2018-11-30 17:48:41 +01:00
devtools Remove redundant .clone()s 2018-12-11 10:43:51 +09:00
devtools_traits Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
dom_struct Update syn and related dependencies 2018-11-30 17:48:41 +01:00
domobject_derive Update syn and related dependencies 2018-11-30 17:48:41 +01:00
embedder_traits style: Make tidy happy. 2019-01-20 17:50:18 +01:00
fallible Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
geometry WR update: new viewport semantic 2019-03-22 15:41:48 +08:00
gfx WR update: APIs update 2019-03-22 15:41:48 +08:00
gfx_traits Fix deprecation warnings 2019-01-28 11:32:40 +01:00
hashglobe cargo fix --edition 2018-11-10 17:47:28 +01:00
jstraceable_derive Update syn and related dependencies 2018-11-30 17:48:41 +01:00
layout WR update: APIs update 2019-03-22 15:41:48 +08:00
layout_thread #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
layout_traits style: Make Servo use a single thread-pool for layout-related tasks per-process. 2018-12-23 13:00:56 +01:00
malloc_size_of Update webrender. 2019-01-17 17:52:35 -05:00
metrics Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
msg Update webrender. 2019-01-17 17:52:35 -05:00
net Auto merge of #23045 - miller-time:promote-memory-blob, r=jdm 2019-03-20 20:14:34 -04:00
net_traits Auto merge of #22973 - paulrouget:wrupdate, r=emilio 2019-03-22 08:48:16 -04:00
pixels Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
profile Fix deprecation warnings 2019-01-28 11:32:40 +01:00
profile_traits Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
rand Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
range Update references to malloc_size_of_derive, which is in crates.io now. 2019-01-13 21:59:31 +01:00
remutex Rustfmt has changed its default style :/ 2018-12-28 13:17:47 +01:00
script Auto merge of #23073 - sbansal3096:master, r=emilio 2019-03-22 19:45:08 -04:00
script_layout_interface Move CSSReporter from script_layout_interface to script 2019-01-14 10:26:26 +01:00
script_plugins Upgrade to rustc 1.34.0-nightly (0ea22717a 2019-03-02) 2019-03-03 19:32:42 +01:00
script_traits Auto merge of #23007 - BartGitHub:remove-pipeline-visibility-checks, r=jdm 2019-03-13 08:33:26 -04:00
selectors Reformat 2019-02-26 08:18:33 +01:00
servo WR update: draw background before rendering 2019-03-22 15:41:48 +08:00
servo_arc cargo fix --edition 2018-11-10 17:47:28 +01:00
size_of_test Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
std_test_override Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
style #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
style_derive style: Add two commas to appease tidy. 2019-03-13 15:08:41 +01:00
style_traits style: Implement a version of #[css(skip_if)] that takes more context. 2019-03-13 15:08:19 +01:00
url Auto merge of #22740 - Hyperion101010:master, r=jdm 2019-01-28 15:56:29 -05:00
webdriver_server WR update: dependencies update 2019-03-21 09:34:42 +08:00
webvr #8539 Config preferences backend restructure 2019-03-20 15:01:26 +00:00
webvr_traits Use a test VRDisplay that renders to a GL window 2019-03-05 12:54:12 -06:00