Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Delta Between Two Patch Sets: pages/filter-cheatsheet.html

Issue 29615667: Issue 6069 - Add documentation for :-abp-contains() selector (Closed) Base URL: https://hg.adblockplus.org/web.adblockplus.org/
Left Patch Set: Created Nov. 22, 2017, 9:28 p.m.
Right Patch Set: Use the proper dash Created Nov. 30, 2017, 7:28 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « no previous file | pages/filters.html » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 title=Adblock Plus filters explained 1 title=Adblock Plus filters explained
2 2
3 <head> 3 <head>
4 <style type="text/css"> 4 <style type="text/css">
5 #content 5 #content
6 { 6 {
7 max-width: none; 7 max-width: none;
8 } 8 }
9 9
10 canvas 10 canvas
(...skipping 831 matching lines...) Expand 10 before | Expand all | Expand 10 after
842 <tr> 842 <tr>
843 <td><code>example.com#?#div:-abp-has(&gt; div &gt; img:-abp-properties(width :300px;height:250px;))</code></td> 843 <td><code>example.com#?#div:-abp-has(&gt; div &gt; img:-abp-properties(width :300px;height:250px;))</code></td>
844 <td>{{ abp-has-example2 Matches <code><fix>div</fix></code> elements that co ntain as a direct descendant a <code><fix>div</fix></code> element whose direct descendant is an <code><fix>img</fix></code> element whose style properties cont ain the specified properties, a <code><fix>width</fix></code> of 300 pixels and an <code><fix>height</fix></code> of 250 pixels }}</td> 844 <td>{{ abp-has-example2 Matches <code><fix>div</fix></code> elements that co ntain as a direct descendant a <code><fix>div</fix></code> element whose direct descendant is an <code><fix>img</fix></code> element whose style properties cont ain the specified properties, a <code><fix>width</fix></code> of 300 pixels and an <code><fix>height</fix></code> of 250 pixels }}</td>
845 </tr> 845 </tr>
846 <tr> 846 <tr>
847 <td><code>example.com#?#div:-abp-has(&gt; div &gt; img:-abp-properties(WidTh :300px;hEigHt:250px;))</code></td> 847 <td><code>example.com#?#div:-abp-has(&gt; div &gt; img:-abp-properties(WidTh :300px;hEigHt:250px;))</code></td>
848 <td>{{ abp-has-example3 Since the CSS properties are matched case-insensitiv ely, this filter matches the same thing as above }}</td> 848 <td>{{ abp-has-example3 Since the CSS properties are matched case-insensitiv ely, this filter matches the same thing as above }}</td>
849 </tr> 849 </tr>
850 <tr> 850 <tr>
851 <td><code>example.com#?#div:-abp-has(> span:-abp-contains(Advertisment))</co de></td> 851 <td><code>example.com#?#div:-abp-has(> span:-abp-contains(Advertisment))</co de></td>
852 <td>{{ abp-contains-example1 Matches <code><fix>div</fix></code> elements th at have a direct descendent <code><fix>span</fix></code> element containing the text <i>"Advertisment"</i> }}</td> 852 <td>{{ abp-contains-example1 Matches <code><fix>div</fix></code> elements th at have a direct descendent <code><fix>span</fix></code> element containing the text "Advertisment" }}</td>
853 </tr> 853 </tr>
854 <tr> 854 <tr>
855 <td><code>example.com#?#div &gt; img:-abp-properties(width:*px;height:250px; )</code></td> 855 <td><code>example.com#?#div &gt; img:-abp-properties(width:*px;height:250px; )</code></td>
856 <td>{{ abp-properties-example1 By using a wildcard <code>*</code>, this filt er matches an <code>img</code> whose CSS style properties have a <code>width</co de> specified in pixels and a <code>height</code> of 250 pixels }}</td> 856 <td>{{ abp-properties-example1 By using a wildcard <code>*</code>, this filt er matches an <code>img</code> whose CSS style properties have a <code>width</co de> specified in pixels and a <code>height</code> of 250 pixels }}</td>
857 </tr> 857 </tr>
858 <tr> 858 <tr>
859 <td><code>example.com#?#div &gt; img:-abp-properties(/width: 3[2-8]px;/)</co de></td> 859 <td><code>example.com#?#div &gt; img:-abp-properties(/width: 3[2-8]px;/)</co de></td>
860 <td>{{ abp-properties-example2 By using a regular expression, this filter ma tches an <code>img</code> whose CSS style properties have a <code>width</code> b etween 32 and 38 pixels }}</td> 860 <td>{{ abp-properties-example2 By using a regular expression, this filter ma tches an <code>img</code> whose CSS style properties have a <code>width</code> b etween 32 and 38 pixels }}</td>
861 </tr> 861 </tr>
862 </table> 862 </table>
863 863
LEFTRIGHT
« no previous file | pages/filters.html » ('j') | Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Toggle Comments ('s')

Powered by Google App Engine
This is Rietveld