| Index: third_party/WebKit/Source/core/css/RuleSetTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/RuleSetTest.cpp b/third_party/WebKit/Source/core/css/RuleSetTest.cpp
|
| index a1fdff3f848833b3c2f6f8e1285d1604afe80191..46aaf5e5847411e566b6b944887779aac3aadd0d 100644
|
| --- a/third_party/WebKit/Source/core/css/RuleSetTest.cpp
|
| +++ b/third_party/WebKit/Source/core/css/RuleSetTest.cpp
|
| @@ -199,7 +199,10 @@ TEST(RuleSetTest, findBestRuleSetAndAdd_HostContextAndClass) {
|
| TEST(RuleSetTest, SelectorIndexLimit) {
|
| StringBuilder builder;
|
|
|
| - for (unsigned i = 0; i < 16383; i++)
|
| + // We use 13 bits to storing the selector start index in RuleData. This is a
|
| + // test to check that we don't regress. We WONTFIX issues asking for more
|
| + // since 2^13 simple selectors in a style rule is already excessive.
|
| + for (unsigned i = 0; i < 8191; i++)
|
| builder.append("div,");
|
|
|
| builder.append("b,span {}");
|
|
|