aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2016-03-31 00:47:07 +0530
committerbors-servo <lbergstrom+bors@mozilla.com>2016-03-31 00:47:07 +0530
commit723989b9dddeb9bcdc28dc7d640fd6fd7247a27f (patch)
tree1cc0d0875809577e8d2dafab2a3623b043022523 /tests
parente1485718128bff632eff5445583e925ff796bdba (diff)
parent46829bd53ced5d7d5a4b4c6600f2061cc8720536 (diff)
downloadservo-723989b9dddeb9bcdc28dc7d640fd6fd7247a27f.tar.gz
servo-723989b9dddeb9bcdc28dc7d640fd6fd7247a27f.zip
Auto merge of #10252 - emilio:selection, r=mbrubeck
Implement ::selection pseudo-element It only supports `color` and `background`, for now, but it shouldn't be hard to add more properties (like text-shadow). r? @mbrubeck <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10252) <!-- Reviewable:end -->
Diffstat (limited to 'tests')
-rw-r--r--tests/unit/layout/size_of.rs2
-rw-r--r--tests/unit/util/lib.rs2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/unit/layout/size_of.rs b/tests/unit/layout/size_of.rs
index 4c47cee0bd8..f79e352cdc9 100644
--- a/tests/unit/layout/size_of.rs
+++ b/tests/unit/layout/size_of.rs
@@ -7,7 +7,7 @@ use std::mem::size_of;
#[test]
fn test_size_of_fragment() {
- let expected = 160;
+ let expected = 168;
let actual = size_of::<Fragment>();
if actual < expected {
diff --git a/tests/unit/util/lib.rs b/tests/unit/util/lib.rs
index b3157b85ca0..a844057a4b0 100644
--- a/tests/unit/util/lib.rs
+++ b/tests/unit/util/lib.rs
@@ -2,7 +2,7 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-#![cfg_attr(test, feature(plugin, custom_derive, heap_api))]
+#![cfg_attr(test, feature(plugin, custom_derive))]
#![cfg_attr(test, plugin(plugins))]
#![feature(alloc)]