Project

General

Profile

Bug #773

CSS selector doesn't match selector

Added by Luke Murphey over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
-
Target version:
Start date:
08/07/2014
Due date:
% Done:

0%


css_test2.py View (374 Bytes) Luke Murphey, 08/11/2014 07:17 PM

css_test.py View (37.5 KB) Luke Murphey, 08/11/2014 07:17 PM

History

#1 Updated by Luke Murphey over 10 years ago

  • Subject changed from CSS selector doesn to CSS selector doesn't match selector

#2 Updated by Luke Murphey over 10 years ago

This is the HTML:

<li id="app-rate-text"><i class="icon-star"></i><span class="app-rate-text"></span></li>
<li><i class="icon-download-alt" data-toggle="tooltip" data-placement="top" title="Downloads"></i>3184 downloads</li>
Some observations:
  1. ".simple-list" doesn't include the downloads either when used with web_input; $('.simple-list').text() does though
  2. "sel = CSSSelector('#app-rate-text + li')" does seem to match the correct node in Python
  3. In Python, '.simple-list' matches 5 nodes. In web_input, it matches 4

#3 Updated by Luke Murphey over 10 years ago

  • Status changed from New to Closed
  • Assignee set to Luke Murphey
  • Priority changed from Normal to Urgent
  • Target version set to 0.9

#4 Updated by Luke Murphey over 10 years ago

Also available in: Atom PDF