style: Remove an outdated comment.

This was fixed, css/css-scoping/shadow-cascade-order-001.html tests it.
This commit is contained in:
Emilio Cobos Álvarez 2018-09-24 23:00:59 +02:00
parent 75bebf1618
commit 426683cd4b
No known key found for this signature in database
GPG key ID: 056B727BB9C1027C

View file

@ -1208,11 +1208,6 @@ impl Stylist {
let mut shadow_cascade_order = 0;
// XBL / Shadow DOM rules, which are author rules too.
//
// TODO(emilio): Cascade order here is wrong for Shadow DOM. In
// particular, normally document rules override ::slotted() rules, but
// for !important it should be the other way around. So probably we need
// to add some sort of AuthorScoped cascade level or something.
if let Some(shadow) = rule_hash_target.shadow_root() {
if let Some(map) = shadow
.style_data()