Fix the max dot/dash limit comment/constant and preallocate the container.
Fix the max dot/dash limit comment/constant and preallocate the container.

servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender,servo/webrender