mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #19595 - emilio:broken-code-all-around, r=emilio
style: Add a FIXME comment that I need to write a test-case for. <!-- 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/19595) <!-- Reviewable:end -->
This commit is contained in:
commit
fab8042fa7
1 changed files with 4 additions and 0 deletions
|
@ -1292,6 +1292,10 @@ impl Stylist {
|
|||
if let Some(map) = stylist.cascade_data.author.borrow_for_pseudo(pseudo_element) {
|
||||
// NOTE(emilio): This is needed because the XBL stylist may
|
||||
// think it has a different quirks mode than the document.
|
||||
//
|
||||
// FIXME(emilio): this should use the same VisitedMatchingMode
|
||||
// as `context`, write a test-case of :visited not working on
|
||||
// Shadow DOM and fix it!
|
||||
let mut matching_context = MatchingContext::new(
|
||||
context.matching_mode,
|
||||
context.bloom_filter,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue