miloman80list / fizzler

Automatically exported from code.google.com/p/fizzler
0 stars 0 forks source link

Support ID selectors with ":" in the middle #44

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
On one of the Apple sites I have the following span I try to select:
<span id="theForm:slsERRtable">
There seems to be no way to do it using Fizzler.
The Id is valid (http://www.w3schools.com/tags/att_standard_id.asp)
I've tried the followings:
- span#theForm:slsERRtable : System.FormatException: Unknown pseudo-class 
'slsERRtable'.
- span#theForm\:slsERRtable : System.FormatException: Invalid character at 
position 13. 
(http://stackoverflow.com/questions/122238/handling-a-colon-in-an-element-id-in-
a-css-selector)
- span#theForm:\3AslsERRtable ul li : System.FormatException: Invalid character 
at position 14.
Thanks,
Corneliu.

Original issue reported on code.google.com by corneliu...@gtempaccount.com on 28 Feb 2011 at 9:18

GoogleCodeExporter commented 8 years ago
I've attached a patch. There are 3 broken unit tests but they are broken 
because I've changed the sample html file not the code.
I don't understand the selectors well enough to make sure that fixing the unit 
test does not make it a broken unit test.

Original comment by corneliu...@gtempaccount.com on 28 Feb 2011 at 9:40

Attachments:

GoogleCodeExporter commented 8 years ago
This issue has been migrated to:
https://github.com/atifaziz/Fizzler/issues/44
The conversation continues there.
DO NOT post any further comments to the issue tracker on Google Code as it is 
shutting down.
You can also just subscribe to the issue on GitHub to receive notifications of 
any further development.

Original comment by azizatif on 23 Aug 2015 at 1:34