Skip to content

Commit

Permalink
Merge branch 'main' into new-cancel-event
Browse files Browse the repository at this point in the history
  • Loading branch information
mustaqahmed authored May 10, 2023
2 parents 3a9c11c + 157ddf4 commit 1dece93
Show file tree
Hide file tree
Showing 8 changed files with 234 additions and 212 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ should be made in the `sections\*.txt` files and `index.bs`.

## Testing

* [UI Events Testing Tools](https://w3c.github.io/uievents/tools/main.html)
* [DomEventViewer](https://domeventviewer.com/) for testing UI Events
* Web Platform Tests
* [GitHub web-platform-tests/wpt uievents](https://github.com/web-platform-tests/wpt/tree/master/uievents)
* Tests are mirrored on [wpt.live/uievents/](https://wpt.live/uievents/)
Expand Down
10 changes: 8 additions & 2 deletions build.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ def table_row(self):

if len(self.table_row_data) == 0:
return ''
row = '<tr>'
if self.is_header_row:
row = '<thead><tr>'
else:
row = '<tr>'
for i in range(0, len(self.table_row_data)):
data = self.table_row_data[i]
colname = self.table_header_data[i]
Expand All @@ -77,7 +80,10 @@ def table_row(self):
if colname == 'DOM Interface':
data = '{{' + data + '}}'
row += pre + self.process_text(data) + post
row += '</tr>\n'
if self.is_header_row:
row += '</tr></thead>\n'
else:
row += '</tr>\n'
return row

def process_text(self, desc):
Expand Down
Loading

0 comments on commit 1dece93

Please sign in to comment.