diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-31 00:47:07 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-03-31 00:47:07 +0530 |
commit | 723989b9dddeb9bcdc28dc7d640fd6fd7247a27f (patch) | |
tree | 1cc0d0875809577e8d2dafab2a3623b043022523 /components/layout/inline.rs | |
parent | e1485718128bff632eff5445583e925ff796bdba (diff) | |
parent | 46829bd53ced5d7d5a4b4c6600f2061cc8720536 (diff) | |
download | servo-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 'components/layout/inline.rs')
-rw-r--r-- | components/layout/inline.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/components/layout/inline.rs b/components/layout/inline.rs index 7cfa976de4b..c0e209d5f78 100644 --- a/components/layout/inline.rs +++ b/components/layout/inline.rs @@ -1854,6 +1854,7 @@ impl fmt::Debug for InlineFlow { pub struct InlineFragmentNodeInfo { pub address: OpaqueNode, pub style: Arc<ServoComputedValues>, + pub selected_style: Arc<ServoComputedValues>, pub pseudo: PseudoElementType<()>, pub flags: InlineFragmentNodeFlags, } |