: Why was :contains not included in the css3 spec? There was apparently a :contains selector proposed at some point, but was dropped. I've searched all over, but I can't seem to find anything
There was apparently a :contains selector proposed at some point, but was dropped. I've searched all over, but I can't seem to find anything which gives any more info than this.
Why was this selector not included in the css3 spec?
More posts by @Tiffany637
1 Comments
Sorted by latest first Latest Oldest Best
It was not included in CSS3 for a few reasons. A little more about reasons can be found at stackoverflow.com/questions/4781141/why-doesnt-the-selector-h3nth-child1containsa-work/4781167#4781167
The best alternative to use is CSS3 Substring Matching Attribute Selectors which allow wild cards
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.