Skip to content

Depend on Fullscreen API's removing steps when <dialog> is removed#3064

Closed
foolip wants to merge 1 commit into
mainfrom
dialog-removal-steps
Closed

Depend on Fullscreen API's removing steps when <dialog> is removed#3064
foolip wants to merge 1 commit into
mainfrom
dialog-removal-steps

Conversation

@foolip

@foolip foolip commented Sep 23, 2017

Copy link
Copy Markdown
Member

Part of whatwg/fullscreen#102.


💥 Error: Wattsi server error 💥

PR Preview failed to build. (Last tried on Jan 15, 2021, 7:58 AM UTC).

More

PR Preview relies on a number of web services to run. There seems to be an issue with the following one:

🚨 Wattsi Server - Wattsi Server is the web service used to build the WHATWG HTML spec.

🔗 Related URL

Command failed: /home/noderunner/wattsi/bin/wattsi /tmp/upload_65cc837f99f3d622f1a14e40afb77c20 (sha not provided) mkaf8bkhn4e default /tmp/upload_f83508197f3a2a96f9842145e39a9c64

If you don't have enough information above to solve the error by yourself (or to understand to which web service the error is related to, if any), please file an issue.

Comment thread source Outdated
document</span>'s <span>top layer</span>.</p>

<p class="note">If <var>subject</var> is <span data-x="node is removed from a document">removed
from its document</span> while still in the <span>top layer</span>, then the <a>removing

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@annevk, I'm not too happy about this and want to export "fullscreen removing steps" or "top layer removing steps" in Fullscreen. But I'm not sure how to phrase it so that's it's clear that it's an instance of "removing steps" in HTML. Ideas?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not rename it in Fullscreen too? Or do I misunderstand?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The trouble is that https://dom.spec.whatwg.org/#concept-node-remove-ext says "Specifications may define removing steps for all or some nodes." and Fullscreen refers to that, but because of this there's no concept in Fullscreen itself that I could link to here.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see. Add an id in Fullscreen and use that here for a direct link? And note in Fullscreen that HTML uses that ID?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Simple enough, thanks!

@foolip

foolip commented Sep 26, 2017

Copy link
Copy Markdown
Member Author

OK, this and whatwg/fullscreen#102 are now ready to go.

@annevk

annevk commented Sep 27, 2017

Copy link
Copy Markdown
Member

Seems like whatwg/fullscreen#102 needs to land first.

@foolip

foolip commented Sep 28, 2017

Copy link
Copy Markdown
Member Author

What's still blocking is getting web-platform-tests/wpt#6302 in order.

@foolip foolip force-pushed the dialog-removal-steps branch from 92249d7 to 95d59bf Compare September 28, 2017 08:29
@annevk annevk added the do not merge yet Pull request must not be merged per rationale in comment label Sep 28, 2017
foolip added a commit to web-platform-tests/wpt that referenced this pull request Sep 28, 2017
Also test that dialog.remove() doesn't do any of the things one might
reasonably expect, to match the current spec and what's implemented.

Tests for:
whatwg/fullscreen#102
whatwg/html#3064
foolip added a commit to web-platform-tests/wpt that referenced this pull request Jan 11, 2018
Also test that dialog.remove() doesn't do any of the things one might
reasonably expect, to match the current spec and what's implemented.

Tests for:
whatwg/fullscreen#102
whatwg/html#3064

Drive-by: t.add_cleanup(() => document.exitFullscreen())
foolip added a commit to web-platform-tests/wpt that referenced this pull request Jan 31, 2018
Also test that dialog.remove() doesn't do any of the things one might
reasonably expect, to match the current spec and what's implemented.

Tests for:
whatwg/fullscreen#102
whatwg/html#3064

Drive-by: t.add_cleanup(() => document.exitFullscreen())
@annevk annevk added the topic: dialog The <dialog> element label May 29, 2020
Base automatically changed from master to main January 15, 2021 07:57
@annevk

annevk commented Apr 28, 2021

Copy link
Copy Markdown
Member

It seems that since whatwg/fullscreen#128 ended up being it on the Fullscreen side, the dialog element still has to manage its own removal from the top layer, right? I.e., this can be closed?

@foolip

foolip commented Apr 30, 2021

Copy link
Copy Markdown
Member Author

Yes, closing...

@foolip foolip closed this Apr 30, 2021
@annevk annevk deleted the dialog-removal-steps branch April 30, 2021 09:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do not merge yet Pull request must not be merged per rationale in comment topic: dialog The <dialog> element

Development

Successfully merging this pull request may close these issues.

2 participants