Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(899)

Unified Diff: third_party/WebKit/LayoutTests/fast/css/selector-list-limits.html

Issue 2785103004: Added available bit to m_selectorIndex. (Closed)
Patch Set: Prefer unit test. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/fast/css/selector-list-limits.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/selector-list-limits.html b/third_party/WebKit/LayoutTests/fast/css/selector-list-limits.html
deleted file mode 100644
index e7fc1606fa6a214ebc440c6b0dd2ba07d3b4d214..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/selector-list-limits.html
+++ /dev/null
@@ -1,25 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/testharness.js"></script>
-<script src="../../resources/testharnessreport.js"></script>
-
-<style id=style></style>
-<div id=target></div>
-
-<script>
-function selectors(n) {
- var list = [];
- for (var i = 0; i < n; i++) {
- list.push('#foo');
- }
- return list.join(', ');
-}
-
-var selectorLimit = 8192;
-style.textContent = selectors(selectorLimit - 1) + ', #target { width: 100px; }\n' +
- selectors(selectorLimit) + ', #target { height: 100px; }';
-
-test(function() {
- assert_equals(getComputedStyle(target).width, '100px');
- assert_not_equals(getComputedStyle(target).height, '100px');
-}, 'Selector list limit is ' + selectorLimit);
-</script>
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/css/RuleSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698