-
Notifications
You must be signed in to change notification settings - Fork 22.5k
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
Document conditions for popup-opening by window.open, and BarProp values #10339
Conversation
…Prop values for whatwg/html#6530 * Added popup feature * Added description about requesting popup * Changed examples not to use the backward-compat-only UI parts features * Updated BarProp.visible to reflect popup request * Moved outerWidth/outerHeight to obsolete features page
Preview URLs
FlawsNote! 2 documents with no flaws that don't need to be listed. 🎉 URL:
External URLsURL: No new external URLs URL:
URL: No new external URLs (this comment was updated 2021-11-08 08:39:53.537455) |
Remove unnecessary hash for fragment
Sorry, my description was unclear. for "popup" feature, "not-present" and "present with disabled" has different semantics. |
Ok, thanks ー I'll make another edit to re-correct that |
the basic algorithm that the document is supposed to cover is that:
so I mentioned about popup in position and size (left/top/width/height), |
the "not present" case is covered by "Otherwise" -> "Otherwise, no popup is requested.", that's after "Specifying any features in the _windowFeatures_ parameter other than `noopener` or `noreferer` has the effect of also requesting a popup." part. so I think it's better omitting the "not present" case from the first section.
oh, I thought the description becomes comment instead of commit message. anyway, thank you for reviewing :) |
the difference is that: (in both case, whether to handle width/height, and whether to open new window or tab, are browser-dependent) |
Please go ahead and commit a change for that |
done in dbd3667 |
@arai-a Please re-review the current state of the content in the branch. If it all looks accurate to you, then I will merge it later this afternoon. (Right now I’m going to take a break for a couple hours or so.) |
position and size are int value
Thank you again! tweaked the position/size description not to mention boolean feature handling. |
Sorry! Only just now realized I’d forgotten to merge this… |
@arai-a Really great work (including the related spec work you did) — congrats on landing your first docs change here, and welcome aboard 🎉 |
for whatwg/html#6530
Summary
Update
windowFeatures
parameter behavior forwindow.open
, and alsoBarProp.visible
behavior, to follow the spec change in whatwg/html#6530.Motivation
Reflect the latest spec.
Supporting details
Firefox: fixed in 96 (currently Nightly) https://bugzilla.mozilla.org/show_bug.cgi?id=1701001
Chrome: in progress https://bugs.chromium.org/p/chromium/issues/detail?id=1192701
Safari: bug is filed https://bugs.webkit.org/show_bug.cgi?id=223751
Related issues
Metadata