Skip to content
This repository has been archived by the owner on Jul 18, 2022. It is now read-only.

Rewrite to operate on browsing contexts #62

Merged
merged 2 commits into from
Jun 12, 2020
Merged

Rewrite to operate on browsing contexts #62

merged 2 commits into from
Jun 12, 2020

Conversation

marcoscaceres
Copy link
Member

@marcoscaceres marcoscaceres commented Jun 5, 2020

Tried to make this spec more usable by other specs... other specs can now "determine the visibility" of a given browsing context. The algorithm finds to the top-level browsing context, and determines the visibility from there.

This is largely just refactor, it doesn't change any normative requirements.

I also added myself as co-editor, as I figure I might as well keep helping to maintain this spec.


Preview | Diff

Copy link
Contributor

@yoavweiss yoavweiss left a comment

Choose a reason for hiding this comment

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

Thanks for refactoring! :) A few comments

index.html Outdated
</dd>
<dt>
<dfn data-dfn-for="Document" data-export="" data-dfn-type=
"dfn">visible</dfn>
</dt>
<dd>
The {{Document}} is at least partially visible on at least one
screen.
screen, as determined by running the steps to [=determine the
visibility state=] of a [=browsing context=].
Copy link
Contributor

Choose a reason for hiding this comment

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

I think you want to define which browsing context you're passing as input. Maybe "Document's relevant global object's browsing context" ?

Copy link
Member Author

Choose a reason for hiding this comment

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

Ah, I wanted to leave this up to each calling algorithm - but can add here.

index.html Show resolved Hide resolved
index.html Outdated Show resolved Hide resolved
Copy link
Contributor

@yoavweiss yoavweiss left a comment

Choose a reason for hiding this comment

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

LGTM

@marcoscaceres marcoscaceres merged commit 5a4c9d4 into gh-pages Jun 12, 2020
@marcoscaceres marcoscaceres deleted the cleanup branch June 12, 2020 01:06
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants