Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rustup and merge some PRs #79

Merged
merged 8 commits into from Jan 31, 2015
Merged

Rustup and merge some PRs #79

merged 8 commits into from Jan 31, 2015

Commits on Jan 27, 2015

  1. Update to latest html5lib-tests

    * html5lib-tests a9badff...11aec47 (3):
      > Merge pull request #40 from html5lib/fix-webencodings
      > Merge pull request #52 from gsnedders/ignoreErrorOrder
      > Add tree construction test cases for the fragment parsing algorithm with foreign context elements. Extend the test format to support this case.
    aroben committed Jan 27, 2015

Commits on Jan 28, 2015

  1. Speed up html5ever-external-test startup time

    We now wait to split the input until each test actually runs. This means
    some duplication of work between tests that previously used the same
    input, but reduces startup overhead by not performing Vec copies. This
    makes running a single test significantly faster without affecting the
    total time to run all tests.
    
    Before:
    
    $ HTML5EVER_SRC_DIR=$(pwd) time -p ./build/html5ever-external-test --help > /dev/null
    real         9.75
    user         9.64
    sys          0.10
    $ HTML5EVER_SRC_DIR=$(pwd) time -p ./build/html5ever-external-test > /dev/null
    real        17.72
    user        60.12
    sys          3.72
    
    After:
    
    $ HTML5EVER_SRC_DIR=$(pwd) time -p ./build/html5ever-external-test --help > /dev/null
    real         0.51
    user         0.49
    sys          0.01
    $ HTML5EVER_SRC_DIR=$(pwd) time -p ./build/html5ever-external-test > /dev/null
    real        11.30
    user        61.63
    sys          4.00
    aroben committed Jan 28, 2015
  2. Fix parsing of comments inside <colgroup>s

    We were always appending them to the <html> element instead of to the
    "appropriate place".
    aroben committed Jan 28, 2015
  3. Fix closing of <option> when parsing </optgroup>

    We are supposed to check whether the parent of the <option> is an
    <optgroup>. Instead we were checking whether the child of the <html> is
    an <optgroup>, which I don't believe is even possible.
    aroben committed Jan 28, 2015
You can’t perform that action at this time.