commit | 06dc9b4a1c8a7da5e2c628a52a5e29cb5f2a97b2 | [log] [tgz] |
---|---|---|
author | Rakina Zata Amni <rakina@chromium.org> | Thu Aug 16 11:21:02 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Thu Aug 16 11:21:02 2018 |
tree | cf18b9061184ceb752c84b4a4e9dbc24c68ea7da | |
parent | 791cde2af232d7af36ef626754fd1fd320a65283 [diff] |
Invisible Attribute and activateinvisible Event + Anchor Link Support Prototype This CL adds a new attribute "invisible" and event "activateinvisible" behind the flag "InvisibleDOM". When an element has the kuma attribute, it is treated as if its display value is "none", meaning all of its inclusive flat-tree descendants are not rendered. When an invisible element needs to be shown for anchor-link navigation, a DOM event of type “activateinvisible” will be sent to all of its flat tree inclusive ancestors that have the invisible attribute. The event is cancelable and bubbles but is not composed. If the event is not canceled, UA will remove the invisible attribute from all the flat tree inclusive ancestors that originally have the invisible attribute. See design doc at https://goo.gl/sEJt3e I2I: https://groups.google.com/a/chromium.org/d/msg/blink-dev/Icw_sU6PqVA/8hwXw0jTDwAJ Bug: 873057 Change-Id: I0ba108789d5ddaa6227b1488f088cd10113fdc58 Reviewed-on: https://chromium-review.googlesource.com/1163052 Reviewed-by: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Hayato Ito <hayato@chromium.org> Commit-Queue: Rakina Zata Amni <rakina@chromium.org> Cr-Commit-Position: refs/heads/master@{#583603}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .