Timeline for Detecting complicated CSS selectors
Current License: CC BY-SA 3.0
18 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 5, 2017 at 22:19 | history | bounty ended | alecxe | ||
Jun 27, 2017 at 15:40 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 273 characters in body
|
Jun 27, 2017 at 13:37 | vote | accept | alecxe | ||
Jun 27, 2017 at 0:55 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 55 characters in body
|
Jun 27, 2017 at 0:49 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 55 characters in body
|
Jun 27, 2017 at 0:42 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 55 characters in body
|
Jun 27, 2017 at 0:19 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 80 characters in body
|
Jun 26, 2017 at 21:47 | history | edited | Michael Durrant | CC BY-SA 3.0 |
deleted 7 characters in body
|
Jun 26, 2017 at 21:45 | comment | added | alecxe |
I was also thinking to apply some code complexity ideas to understanding a complexity of a CSS selector - for instance, the more operators (selectors like :not , :first-child etc), the more [] conditions - the more complicated a selector is. But, that would not necessarily mean a selector is not good enough. I guess, we'll have to cross a line somewhere since there are no hard rules and avoiding false positives will be impossible.
|
|
Jun 26, 2017 at 21:40 | comment | added | Michael Durrant | Yeah, the actual DOM page you are going against is part of the picture and needed for some of the above analysis | |
Jun 26, 2017 at 21:39 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 88 characters in body
|
Jun 26, 2017 at 21:36 | comment | added | alecxe | Very good summary, thanks! Yeah, the weights are gonna be challenging. I guess, a more informative decision could be made if aside from a CSS selector, there is an HTML of the page given. This would complicate the analysis but may lead to a more realistic result. | |
Jun 26, 2017 at 20:56 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 81 characters in body
|
Jun 26, 2017 at 20:47 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 169 characters in body
|
Jun 26, 2017 at 20:40 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 169 characters in body
|
Jun 26, 2017 at 20:26 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 95 characters in body
|
Jun 26, 2017 at 20:20 | history | edited | Michael Durrant | CC BY-SA 3.0 |
added 95 characters in body
|
Jun 26, 2017 at 20:14 | history | answered | Michael Durrant | CC BY-SA 3.0 |