Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jun 29, 2012
  1. Do the right with non-ASCII pseudo-classes. Fix #14

    authored
    Make sure that getattr() with a default does not raise an
    UnicodeError or a TypeError on either Py2 or 3.
    
    Instead, all non-ASCII pseudo-classes are invalid selectors
    (as an inexistant pseudo-class should.)
Commits on Jun 14, 2012
  1. Changelog for 0.7.1

    authored
  2. Make pseudo-elements lower-case in the ASCII range.

    authored
    See http://www.w3.org/TR/selectors/#casesens
    
    Pseudo-classes were already case-insensitive, but the
    lower-casing was moved to the parser.
  3. Changelog for 0.7

    authored
  4. Add tests for series with whitespace

    authored
    Together with the previous 2 commits, this fixes #2 and #7
  5. Workaround element/attribute names with special characters

    authored
    For element names, these are equivalent in XPath:
    
        foo
        *[name() = "foo"]
    
    And for attribute names:
    
        @foo
        attribute:*[name() = "foo"]
    
    The former is faster but some characters are not allowed in it.
    Since I am not sure which characters, only use it for "safe" names
    that match ^[a-zA-Z_][a-zA-Z0-9_.-]*$
    This is overly restrictive, but should cover every name actually used
    in XML, HTML, SVG, etc.
Commits on Jun 7, 2012
Commits on Apr 25, 2012
Commits on Apr 24, 2012
Commits on Apr 20, 2012
  1. Better test coverage.

    authored
  2. Remove dead code.

    authored
  3. Fix specificity for :not()

    authored
Commits on Apr 19, 2012
  1. Fix case-sensitivity issues

    authored
    * (Functional) pseudo-classes are always case-insensitive
    * Add the 'xhtml' flag
    * Element names and attribute names are case sensitive
      for HTML, but not XHTML or XML.
  2. @varialus

    Fixed case sensitive matching on lxml stable, but patched for externa…

    varialus authored
    …l cssselect, on Windows with Python 2.7 64-bit.
Commits on Apr 18, 2012
  1. Documentation details.

    authored
  2. Add specificity.

    authored
  3. Remove dead code.

    authored
Something went wrong with that request. Please try again.