Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Oct 17, 2013
  1. Switch back to default to ignoring pseudo-elements

    authored
    ... rather than rejecting them.
    
    Fix Kozea/WeasyPrint#128
Commits on Sep 15, 2013
  1. Remove unnecessary check.

    authored
Commits on Jan 10, 2013
  1. HERE BE DRAGONS

    authored
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. 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.
  2. Add tests for series with whitespace

    authored
    Together with the previous 2 commits, this fixes #2 and #7
  3. 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 24, 2012
Commits on Apr 20, 2012
  1. Better test coverage.

    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.
Commits on Apr 18, 2012
  1. Documentation details.

    authored
  2. Remove dead code.

    authored
Commits on Apr 17, 2012
Something went wrong with that request. Please try again.