Contact [email protected]

Explainer
https://github.com/WICG/display-locking/blob/main/explainers/auto-expanding-details-explainer.md

Specificationhttps://github.com/whatwg/html/pull/6466

Design docs
https://github.com/WICG/display-locking/blob/main/privacy-assessments/auto-expanding-details-privacy.md

Summary

This feature will make closed details elements searchable and automatically
expand when the browser tries to scroll to their hidden contents in
response to find-in-page, ScrollToTextFragment, and element fragment
navigation.

Blink componentBlink>HTML
<https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3EHTML>

TAG reviewhttps://github.com/w3ctag/design-reviews/issues/677

TAG review statusPending

Risks


Interoperability and Compatibility

If other browsers don't implement this feature for element fragments, it
may be an observable difference to webpages, but this portion is the least
contentious and complicated part of this feature, so other browsers are
most likely to at least implement this for element fragments. If other
browsers don't implement this feature for find-in-page or
ScrollToTextFragment, it won't cause any websites to break because webpages
can't observe the difference.


Gecko: No signal (https://github.com/mozilla/standards-positions/issues/578)

WebKit: No signal (
https://lists.webkit.org/pipermail/webkit-dev/2021-September/031983.html)

Web developers: No signals
- Here is a user reported bug requesting this feature:
https://bugs.chromium.org/p/chromium/issues/detail?id=1058732
- Here is an article I found describing the lack of element fragment
navigation:
https://www.sitepoint.com/fixing-the-details-element/#:~:text=the%20target%20element%20is%20inside%20a%20collapsed%20region


Debuggability

This feature does not have any added DevTools support. This feature does
not add any state to the page that would need to be inspected with
DevTools. Find-in-page, ScrollToTextFragment, and element fragment
navigation do not provide any DevTools debugging that this feature could
build on or leverage.

Is this feature fully tested by web-platform-tests
<https://chromium.googlesource.com/chromium/src/+/master/docs/testing/web_platform_tests.md>
?No
- Auto-expanding details with element fragment navigation is tested here:
https://wpt.fyi/results/html/semantics/interactive-elements/the-details-element/auto-expand-details-element-fragment.html
- I still need to add ScrollToTextFragment tests. ScrollToTextFragment
tests do exist in WPT.
- Find-in-page can't be tested in WPT
<https://github.com/web-platform-tests/wpt/issues/29915>, but I may spec
window.find and support it for this feature in the future just to make this
WPT testable.

Flag name--enable-blink-features=AutoExpandDetailsElement

Requires code in //chrome?False

Tracking bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1185950

Launch bughttps://bugs.chromium.org/p/chromium/issues/detail?id=1241443

Estimated milestones

M96

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5032469667512320

This intent message was generated by Chrome Platform Status
<https://www.chromestatus.com/>.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/CAK6btwJKmGKbjhWCdqrVO-Dm5LMmuROQ9M7N4UADjNvnTUaDAg%40mail.gmail.com.

Reply via email to