servo: Merge #19595 - style: Add a FIXME comment that I need to write a test-case for (from emilio:broken-code-all-around); r=emilio

Source-Repo: https://github.com/servo/servo
Source-Revision: fab8042fa73ff326a0fa5c65863434eac0070ac1

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 23fdd1f370979cb387cc6deb1eadfe0be98eeff2
This commit is contained in:
Emilio Cobos Álvarez 2017-12-18 07:24:13 -06:00
Родитель 41a96702ef
Коммит a4ae45ac68
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -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,