Commit bf8b407
authored
[Extract elements] Strengthen logic for permission-elements (#2005)
Via w3c/browser-specs#2107 (comment)
The `permission-elements` spec uses what looks like an element definition table
to describe "common behaviours" of elements defined later in the spec. This
needed to be added as an exception to the rule.
The spec also links directly to the DOM interface. That simple case wasn't
captured properly. The logic is now more sound in that it looks for an IDL
interface `dfn` or a link to an IDL interface, and only parses the text to
handle the HTML spec case where the link to the IDL interface is not qualified.
Note: checked with a full crawl, this does not produce changes to the extracted
elements so far, and allows to crawl `html-permissions` as well.1 parent 8ca3a2d commit bf8b407
2 files changed
+55
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
40 | 42 | | |
41 | 43 | | |
42 | 44 | | |
| |||
101 | 103 | | |
102 | 104 | | |
103 | 105 | | |
104 | | - | |
105 | | - | |
106 | | - | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
107 | 112 | | |
108 | 113 | | |
| 114 | + | |
| 115 | + | |
109 | 116 | | |
110 | 117 | | |
111 | | - | |
| 118 | + | |
112 | 119 | | |
113 | 120 | | |
114 | 121 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments