mirror of
https://github.com/servo/servo.git
synced 2025-08-10 16:05:43 +01:00
style: Allow to export a shadow part under multiple names.
Other browsers allow this and the spec doesn't really disallow it, so fix it, add a test and carry on. Differential Revision: https://phabricator.services.mozilla.com/D65107
This commit is contained in:
parent
614d3e746f
commit
635f5fbf1b
8 changed files with 46 additions and 46 deletions
|
@ -117,13 +117,6 @@ pub trait Element: Sized + Clone + Debug {
|
|||
case_sensitivity: CaseSensitivity,
|
||||
) -> bool;
|
||||
|
||||
/// Returns the mapping from the `exportparts` attribute in the regular
|
||||
/// direction, that is, inner-tree -> outer-tree.
|
||||
fn exported_part(
|
||||
&self,
|
||||
name: &<Self::Impl as SelectorImpl>::PartName,
|
||||
) -> Option<<Self::Impl as SelectorImpl>::PartName>;
|
||||
|
||||
/// Returns the mapping from the `exportparts` attribute in the reverse
|
||||
/// direction, that is, in an outer-tree -> inner-tree direction.
|
||||
fn imported_part(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue