author L. David Baron <>
Sat, 13 Sep 2014 06:17:36 -0700
changeset 228423 c81eb3a1336b2ab5f4e83b8b5df394dfea8be37e
parent 75087 1188456710819d4606e74396be333ead9fe63261
child 528457 c9c0c6f2eed54a187e124942e53c3660b4cf17d8
permissions -rw-r--r--
Bug 977991 patch 1 - Expose variant of RulesMatching on nsHTMLCSSStyleSheet that is less work to call. r=birtles This allows nsStyleSet::RuleNodeWithReplacement to call it without constructing an entire (and unnecessary) ElementRuleProcessorData, which will happen in patch 3.

<?xml version="1.0"?>
<?xml-stylesheet href="/tests/SimpleTest/test.css" type="text/css"?>
<html xmlns="" title="Test Plugin Clipping: Dynamic Tests">
  <script type="application/javascript" src="/tests/SimpleTest/SimpleTest.js"></script>

<script class="testbody" type="application/javascript">
if (navigator.platform.indexOf("Mac") == 0) {
  todo(false, "Mac plugins do not support complex clipping");
} else {"plugin_clipping_helper2.xhtml", "", "width=620,height=320");