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

Add elementHasAttributeNameFilter and elementLocalNameFilter to MutationObserver options #1

Open
wants to merge 51 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
dbbdfb3
Meta: update repository files
annevk Apr 1, 2020
61834f7
Meta: update repository files
annevk Apr 6, 2020
3a11492
Define ParentNode's replaceChildren()
saschanaz Apr 20, 2020
f4d4f3b
Align with Web IDL extended attribute changes
domenic Apr 8, 2020
543b7e3
Catch errors while upgrading customized built-in elements
domenic Apr 20, 2020
f3f46b8
Meta: update repository files
annevk Apr 23, 2020
94679a2
Clarify allowed shadow host local names
Yash-Handa Jun 8, 2020
4a90206
Meta: update repository files
foolip Jun 13, 2020
ad06a4c
Review Draft Publication: June 2020
foolip Jun 15, 2020
54ea288
Editorial: pass invocationTargetInShadowTree to "inner invoke"
shvaikalesh Jun 28, 2020
e191f73
Meta: update repository files
foolip Jun 29, 2020
b80c4f9
Editorial: align with IDL (void → undefined)
autokagami Aug 18, 2020
d1c9cb6
Add mutation observer init options elementHasAttributeNameFilter and…
Mar 26, 2020
8f20138
Editorial: use Infra language for Aborting section
annevk Aug 25, 2020
12beda2
DOM Events introduction: clarify how listeners are invoked
annevk Sep 9, 2020
8dff3a0
minor fixes
Sep 21, 2020
e0b4bcb
fix formatting
annevk Sep 24, 2020
cb4b0d9
minor fixes
Sep 25, 2020
f837ce1
Add "precustomized" custom element state
mfreed7 Sep 28, 2020
03d45d1
Meta: link Review Draft
annevk Sep 29, 2020
a3f7138
Meta: put custom element acknowledgment in the IPR section
annevk Oct 1, 2020
8c0049e
Add "is available to element internals"
mfreed7 Oct 5, 2020
0de5ae3
Editorial: rephrase initEvent() note
annevk Oct 27, 2020
66d6037
Remove Goals and redo Historical section
annevk Nov 9, 2020
52f7a52
Need to catch exceptions to report them
annevk Sep 8, 2020
73e7f33
Correct boundary point comparison in set the start or end
chansuke Nov 18, 2020
83037a1
Add signal support to addEventListener()
benjamingr Dec 3, 2020
d103e89
Use undefined union for window.event
saschanaz Dec 22, 2020
57ddc0f
Review Draft Publication: December 2020
annevk Dec 21, 2020
8f3ee85
Meta: default branch rename
annevk Jan 13, 2021
816bbfb
Correct step in matches()
annevk Nov 11, 2020
c80cbf5
Use a single exception for name validation (follow-up)
annevk Jan 27, 2021
f9d51aa
add links
Feb 6, 2021
9979022
Editorial: restore necessary comma
sideshowbarker Feb 28, 2021
aa384af
Add AbortSignal.abort() static method
jasnell Mar 12, 2021
e7d6445
Editorial: fix typo
manekinekko Mar 17, 2021
a73380f
Meta: update repository files
annevk Mar 23, 2021
acfe96b
Add imperative slot assignment API
mfreed7 Apr 15, 2021
0d2dc63
Editorial: major change to align with IDL and Infra
annevk Apr 16, 2021
ffd929a
Meta: remove redundant quotes
annevk Apr 16, 2021
1dd9ddc
Editorial: use modern dictionary syntax
annevk Apr 16, 2021
fd0ef08
Editorial: remove context object concept
annevk Apr 19, 2021
d2c84ec
Add the IDL of XSLTProcessor
foolip Apr 16, 2021
f346858
Add ShadowRoot.prototype.delegatesFocus attribute
foolip Apr 21, 2021
f18cef9
Review Draft Publication: June 2021
annevk Jun 21, 2021
76a0b04
addEventListener(): flatten more returns signal
lucacasonato Jun 25, 2021
1eadf0a
Update Event's timeStamp initialization
npm1 Jul 20, 2021
f2a2ded
Pass eventInitDict to event constructing steps
annevk Jul 21, 2021
29bd4c3
Add validity criteria for StaticRange objects
dandclark Aug 31, 2021
0715c2f
Revamp the way DOM talks about nodes
annevk Aug 31, 2021
63b316d
Merge branch 'main' into new-mutation-observer-init-options
AndrewRot Sep 14, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,16 @@ root = true
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_size = 1
indent_size = 2
indent_style = space
trim_trailing_whitespace = true
max_line_length = 100

[Makefile]
indent_style = tab

[.travis.yml]
indent_size = 2
[*.bs]
indent_size = 1

[*.py]
indent_size = 4
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 2
# Note: `python` will also be this version, which various scripts depend on.
- uses: actions/setup-python@v2
with:
python-version: 3.8
# Note: `make deploy` will do a deploy dry run on PRs.
- run: make deploy
env:
SERVER: ${{ secrets.MARQUEE_SERVER }}
SERVER_PUBLIC_KEY: ${{ secrets.MARQUEE_PUBLIC_KEY }}
SERVER_DEPLOY_KEY: ${{ secrets.MARQUEE_DEPLOY_KEY }}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
/dom.spec.whatwg.org/
/deploy.sh
/deploy_key
/deploy_key.pub
/dom.html
/review.sh
20 changes: 7 additions & 13 deletions .pr-preview.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
{
"src_file": "dom.bs",
"type": "bikeshed",
"params": {
"force": 1,
"md-status": "LS-COMMIT",
"md-h1": "DOM <small>(<a href=\"{{ pull_request.html_url }}\">PR #{{ pull_request.number }}</a>)</small>",
"md-warning": "Commit {{ short_sha }} {{ pull_request.head.repo.html_url }}/commit/{{ sha }} replaced by {{ config.ls_url }}",
"md-title": "{{ config.title }} (Pull Request Snapshot #{{ pull_request.number }})",
"md-Text-Macro": "SNAPSHOT-LINK {{ config.back_to_ls_link }}"
},
"ls_url": "https://dom.spec.whatwg.org/",
"title": "DOM Standard",
"back_to_ls_link": "<a href=\"https://dom.spec.whatwg.org/\" id=\"commit-snapshot-link\">Go to the living standard</a>"
"src_file": "dom.bs",
"type": "bikeshed",
"params": {
"force": 1,
"md-status": "LS-PR",
"md-Text-Macro": "PR-NUMBER {{ pull_request.number }}"
}
}
17 changes: 0 additions & 17 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Please see the [WHATWG Contributor Guidelines](https://github.com/whatwg/meta/blob/master/CONTRIBUTING.md).
Please see the [WHATWG Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md).
112 changes: 36 additions & 76 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,61 +1,10 @@
Copyright © 2018 WHATWG (Apple, Google, Mozilla, Microsoft).
This work is licensed under a Creative Commons Attribution 4.0 International License:

Attribution 4.0 International

=======================================================================

Creative Commons Corporation ("Creative Commons") is not a law firm and
does not provide legal services or legal advice. Distribution of
Creative Commons public licenses does not create a lawyer-client or
other relationship. Creative Commons makes its licenses and related
information available on an "as-is" basis. Creative Commons gives no
warranties regarding its licenses, any material licensed under their
terms and conditions, or any related information. Creative Commons
disclaims all liability for damages resulting from their use to the
fullest extent possible.

Using Creative Commons Public Licenses

Creative Commons public licenses provide a standard set of terms and
conditions that creators and other rights holders may use to share
original works of authorship and other material subject to copyright
and certain other rights specified in the public license below. The
following considerations are for informational purposes only, are not
exhaustive, and do not form part of our licenses.

Considerations for licensors: Our public licenses are
intended for use by those authorized to give the public
permission to use material in ways otherwise restricted by
copyright and certain other rights. Our licenses are
irrevocable. Licensors should read and understand the terms
and conditions of the license they choose before applying it.
Licensors should also secure all rights necessary before
applying our licenses so that the public can reuse the
material as expected. Licensors should clearly mark any
material not subject to the license. This includes other CC-
licensed material, or material used under an exception or
limitation to copyright. More considerations for licensors:
wiki.creativecommons.org/Considerations_for_licensors

Considerations for the public: By using one of our public
licenses, a licensor grants the public permission to use the
licensed material under specified terms and conditions. If
the licensor's permission is not necessary for any reason--for
example, because of any applicable exception or limitation to
copyright--then that use is not regulated by the license. Our
licenses grant only permissions under copyright and certain
other rights that a licensor has authority to grant. Use of
the licensed material may still be restricted for other
reasons, including because others have copyright or other
rights in the material. A licensor may make special requests,
such as asking that all changes be marked or described.
Although not required by our licenses, you are encouraged to
respect those requests where reasonable. More_considerations
for the public:
wiki.creativecommons.org/Considerations_for_licensees

=======================================================================
Copyright © WHATWG (Apple, Google, Mozilla, Microsoft).

This work is licensed under a Creative Commons Attribution 4.0 International
License. To the extent portions of it are incorporated into source code,
such portions in the source code are licensed under the BSD 3-Clause License instead.

- - - -

Creative Commons Attribution 4.0 International Public License

Expand Down Expand Up @@ -375,22 +324,33 @@ Section 8 -- Interpretation.
that apply to the Licensor or You, including from the legal
processes of any jurisdiction or authority.

- - - -

BSD 3-Clause License

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:

1. Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

2. Redistributions in binary form must reproduce the above copyright notice,
this list of conditions and the following disclaimer in the documentation
and/or other materials provided with the distribution.

3. Neither the name of the copyright holder nor the names of its
contributors may be used to endorse or promote products derived from
this software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

=======================================================================

Creative Commons is not a party to its public licenses.
Notwithstanding, Creative Commons may elect to apply one of its public
licenses to material it publishes and in those instances will be
considered the "Licensor." Except for the limited purpose of indicating
that material is shared under a Creative Commons public license or as
otherwise permitted by the Creative Commons policies published at
creativecommons.org/policies, Creative Commons does not authorize the
use of the trademark "Creative Commons" or any other trademark or logo
of Creative Commons without its prior written consent including,
without limitation, in connection with any unauthorized modifications
to any of its public licenses or any other arrangements,
understandings, or agreements concerning use of licensed material. For
the avoidance of doubt, this paragraph does not form part of the public
licenses.

Creative Commons may be contacted at creativecommons.org.
- - - -
18 changes: 16 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,22 @@
SHELL=/bin/bash -o pipefail
.PHONY: local remote deploy review

remote: dom.bs
curl https://api.csswg.org/bikeshed/ -f -F [email protected] > dom.html -F md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"
@ (HTTP_STATUS=$$(curl https://api.csswg.org/bikeshed/ \
--output dom.html \
--write-out "%{http_code}" \
--header "Accept: text/plain, text/html" \
-F die-on=warning \
-F md-Text-Macro="COMMIT-SHA LOCAL COPY" \
-F [email protected]) && \
[[ "$$HTTP_STATUS" -eq "200" ]]) || ( \
echo ""; cat dom.html; echo ""; \
rm -f dom.html; \
exit 22 \
);

local: dom.bs
bikeshed spec dom.bs dom.html --md-Text-Macro="SNAPSHOT-LINK LOCAL COPY"
bikeshed spec dom.bs dom.html --md-Text-Macro="COMMIT-SHA LOCAL COPY"

deploy: dom.bs
curl --remote-name --fail https://resources.whatwg.org/build/deploy.sh
Expand Down
15 changes: 15 additions & 0 deletions PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!--
Thank you for contributing to the DOM Standard! Please describe the change you are making and complete the checklist below if your change is not editorial.
-->

- [ ] At least two implementers are interested (and none opposed):
* …
* …
- [ ] [Tests](https://github.com/web-platform-tests/wpt) are written and can be reviewed and commented upon at:
* …
- [ ] [Implementation bugs](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md#handling-pull-requests) are filed:
* Chrome: …
* Firefox: …
* Safari: …

(See [WHATWG Working Mode: Changes](https://whatwg.org/working-mode#changes) for more details.)
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ started, leave a comment on the issue or ask around [on IRC](https://whatwg.org/
## Pull requests

In short, change `dom.bs` and submit your patch, with a
[good commit message](https://github.com/whatwg/meta/blob/master/COMMITTING.md). Consider
[good commit message](https://github.com/whatwg/meta/blob/main/COMMITTING.md). Consider
reading through the [WHATWG FAQ](https://whatwg.org/faq) if you are new here.

Please add your name to the Acknowledgments section in your first pull request, even for trivial
Expand All @@ -29,7 +29,7 @@ fixes. The names are sorted lexicographically.

For quick local iteration, run `make`. To verify your changes locally, run `make deploy`. See more
in the
[WHATWG Contributor Guidelines](https://github.com/whatwg/meta/blob/master/CONTRIBUTING.md#building).
[WHATWG Contributor Guidelines](https://github.com/whatwg/meta/blob/main/CONTRIBUTING.md#building).

## Formatting

Expand Down Expand Up @@ -89,7 +89,7 @@ space).
## Merge policy

If you can commit to this repository, see the
[WHATWG Maintainer Guidelines](https://github.com/whatwg/meta/blob/master/MAINTAINERS.md).
[WHATWG Maintainer Guidelines](https://github.com/whatwg/meta/blob/main/MAINTAINERS.md).

## Tests

Expand Down
Binary file removed deploy_key.enc
Binary file not shown.
Loading