mirror of
https://github.com/servo/servo.git
synced 2025-08-04 05:00:08 +01:00
style: Remove outdated comment.
That's ran only on elements.
This commit is contained in:
parent
33fa32ab25
commit
04e1f599d8
1 changed files with 0 additions and 4 deletions
|
@ -551,10 +551,6 @@ pub trait MatchMethods : TElement {
|
||||||
|
|
||||||
// Propagate the "can be fragmented" bit. It would be nice to
|
// Propagate the "can be fragmented" bit. It would be nice to
|
||||||
// encapsulate this better.
|
// encapsulate this better.
|
||||||
//
|
|
||||||
// Note that this is technically not needed for pseudos since we already
|
|
||||||
// do that when we resolve the non-pseudo style, but it doesn't hurt
|
|
||||||
// anyway.
|
|
||||||
if cfg!(feature = "servo") {
|
if cfg!(feature = "servo") {
|
||||||
let layout_parent =
|
let layout_parent =
|
||||||
self.inheritance_parent().map(|e| e.layout_parent());
|
self.inheritance_parent().map(|e| e.layout_parent());
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue