mirror of
https://github.com/servo/servo.git
synced 2025-08-07 14:35:33 +01:00
style: Remove PseudoElement::inherits_all.
I plan to change servo to use all: inherit on its UA sheet. I hope the patch below should make it good enough performance-wise. And also, it's probably broken so I don't think it's worth supporting it specially. Differential Revision: https://phabricator.services.mozilla.com/D8686
This commit is contained in:
parent
8a47c8b2e6
commit
2c52210ba7
4 changed files with 0 additions and 31 deletions
|
@ -614,14 +614,6 @@ impl Stylist {
|
|||
|
||||
/// Computes the style for a given "precomputed" pseudo-element, taking the
|
||||
/// universal rules and applying them.
|
||||
///
|
||||
/// If `inherit_all` is true, then all properties are inherited from the
|
||||
/// parent; otherwise, non-inherited properties are reset to their initial
|
||||
/// values. The flow constructor uses this flag when constructing anonymous
|
||||
/// flows.
|
||||
///
|
||||
/// TODO(emilio): The type parameter could go away with a void type
|
||||
/// implementing TElement.
|
||||
pub fn precomputed_values_for_pseudo<E>(
|
||||
&self,
|
||||
guards: &StylesheetGuards,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue