Auto merge of #17063 - emilio:pres-hints-sharing, r=bholley

style: Allow sharing styles across elements with presentational hints.

<!-- 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/17063)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2017-05-30 07:28:06 -05:00 committed by GitHub
commit 38a6a3bff6
9 changed files with 318 additions and 182 deletions

View file

@ -1397,7 +1397,7 @@ impl Rule {
/// This represents the declarations in a given declaration block for a given
/// importance.
#[cfg_attr(feature = "servo", derive(HeapSizeOf))]
#[derive(Debug, Clone)]
#[derive(Debug, Clone, PartialEq)]
pub struct ApplicableDeclarationBlock {
/// The style source, either a style rule, or a property declaration block.
#[cfg_attr(feature = "servo", ignore_heap_size_of = "Arc")]