ivopetkov / html5-dom-document-php

A better HTML5 parser for PHP.
MIT License
599 stars 40 forks source link

Allow multiple attribute selection #16

Closed leewillis77 closed 6 years ago

leewillis77 commented 6 years ago

Adds support for multiple attribute selectors, e.g.

$dom->querySelector('link[rel="icon"][sizes="192x192"]')

Fixes #11

codecov-io commented 6 years ago

Codecov Report

Merging #16 into master will increase coverage by 0.02%. The diff coverage is 90.9%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #16      +/-   ##
==========================================
+ Coverage   97.43%   97.45%   +0.02%     
==========================================
  Files           4        4              
  Lines         585      590       +5     
==========================================
+ Hits          570      575       +5     
  Misses         15       15
Impacted Files Coverage Δ
src/HTML5DOMDocument/Internal/QuerySelectors.php 94.25% <90.9%> (+0.35%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 86a6e41...fc84907. Read the comment docs.