servo/components/style/stylesheets
Emilio Cobos Álvarez 6fefe522a3
style: Assert we never style a root element from another document.
Right now when calling getComputedStyle with an element from another document,
we return the style using the pres context of that document, not of the document
of the window getComputedStyle was called on, so this holds.

But it will stop holding if we ever change this, so assert it doesn't happen.

Bug: 1374062
Reviewed-By: Manishearth
MozReview-Commit-ID: 3g8yQWWdsen
2017-06-21 19:55:02 +02:00
..
counter_style_rule.rs Define Gecko CounterStyle and FontFaceRule clone functions. 2017-06-08 09:47:40 -07:00
document_rule.rs style: Assert we never style a root element from another document. 2017-06-21 19:55:02 +02:00
font_face_rule.rs Define Gecko CounterStyle and FontFaceRule clone functions. 2017-06-08 09:47:40 -07:00
import_rule.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
keyframes_rule.rs Untry style 2017-06-18 13:18:13 +02:00
loader.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
media_rule.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
memory.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
mod.rs Move ParsingMode into style_traits. 2017-06-14 09:51:36 +09:00
namespace_rule.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
page_rule.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
rule_list.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
rule_parser.rs Untry style 2017-06-18 13:18:13 +02:00
rules_iterator.rs style: Avoid some branches in common RuleIterator::next cases. 2017-06-15 03:14:08 +02:00
style_rule.rs style: Split stylesheets.rs 2017-06-04 21:50:09 +02:00
stylesheet.rs Move ParsingMode into style_traits. 2017-06-14 09:51:36 +09:00
supports_rule.rs Thread ParseError return values through CSS parsing. 2017-06-09 16:46:25 -04:00
viewport_rule.rs Untry style 2017-06-18 13:18:13 +02:00