Skip to content
This repository has been archived by the owner on Oct 1, 2021. It is now read-only.

<virtual-content> #152

Closed
wants to merge 42 commits into from
Closed

<virtual-content> #152

wants to merge 42 commits into from

Commits on Dec 14, 2018

  1. Remove /src/.

    bicknellr committed Dec 14, 2018
    Configuration menu
    Copy the full SHA
    446db38 View commit details
    Browse the repository at this point in the history

Commits on Dec 19, 2018

  1. Initial work on a virtual content element based on searchable invisib…

    …le DOM. (...)
    
    This new implementation is based around the assumption that all of the features
    enabled by searchable invisible DOM require those elements to actually be in
    the main document.
    bicknellr committed Dec 19, 2018
    Configuration menu
    Copy the full SHA
    9ef3e90 View commit details
    Browse the repository at this point in the history

Commits on Dec 20, 2018

  1. Fill in overridden methods in ChildManager; ChildManager#[_spliceChil…

    …dren] now handles inserting children.
    bicknellr committed Dec 20, 2018
    Configuration menu
    Copy the full SHA
    d4ed72c View commit details
    Browse the repository at this point in the history

Commits on Jan 3, 2019

  1. Replace ChildManager mixin with a MutationObserver; use ResizeObserve…

    …r. (...)
    
    ChildManager doesn't serve any purpose: MutationObserver is needed to discover
    parser-inserted children and MutationObserver callbacks are called before the
    next paint, giving overridden Node methods no performance advantage.
    bicknellr committed Jan 3, 2019
    Configuration menu
    Copy the full SHA
    d318ceb View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2019

  1. Configuration menu
    Copy the full SHA
    e44239e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    54b03ae View commit details
    Browse the repository at this point in the history
  3. Handle removed children.

    bicknellr committed Jan 9, 2019
    Configuration menu
    Copy the full SHA
    1196a6c View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2019

  1. Configuration menu
    Copy the full SHA
    0f746e9 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    b2bf914 View commit details
    Browse the repository at this point in the history

Commits on Jan 11, 2019

  1. Adjust the scrollTop of the target of scroll events to account for …

    …height estimate error.
    bicknellr committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    147f88c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5d9cfe4 View commit details
    Browse the repository at this point in the history
  3. Merge from upstream.

    bicknellr committed Jan 11, 2019
    Configuration menu
    Copy the full SHA
    5be3e82 View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2019

  1. Update demo.

    bicknellr committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    3ebfab9 View commit details
    Browse the repository at this point in the history
  2. Skip updates when the element isn't renderable to prevent elements' h…

    …eight estimates from being set to 0.
    bicknellr committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    bed9d33 View commit details
    Browse the repository at this point in the history
  3. Find the nearest scrolling ancestor by walking the tree rather than u…

    …sing scroll event targets. (...)
    
    The target of scroll events isn't always the element that needs to have its
    `scrollTop` corrected when height estimates are found to be incorrect during an
    update. This can happen if the virtual content is nested in multiple scrollable
    elements and the user scrolls more of the virtual content into view using one
    of the outer scrollable elements.
    bicknellr committed Jan 14, 2019
    Configuration menu
    Copy the full SHA
    291755a View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2019

  1. Configuration menu
    Copy the full SHA
    43ee876 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    3a2ad57 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    b9f12d4 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2019

  1. Configuration menu
    Copy the full SHA
    f813e20 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    58866c9 View commit details
    Browse the repository at this point in the history

Commits on Jan 18, 2019

  1. Handle resizes of the nearest scroll container by watching for viewpo…

    …rt intersection with unrendered space. (...)
    
    Before this change, the virtual-content did not update if its nearest scroll
    container (possibly the window) resized in a way that made more of the
    virtual-content visible. To fix this, sentinel elements sized to fill the space
    between visible elements are inserted and monitored with an
    IntersectionObserver, using the viewport as the root. This has the convenient
    side effect of covering all of the cases that were previously handled by
    listening to scroll events. Additionally, this prevents any virtual-content
    elements that do not intersect the viewport from updating for scroll events.
    bicknellr committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    3bb6494 View commit details
    Browse the repository at this point in the history
  2. Fix a comment.

    bicknellr committed Jan 18, 2019
    Configuration menu
    Copy the full SHA
    0719f0f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9494e27 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2019

  1. Clean up the intersection observer callback: tracking the virtual-con…

    …tent's viewport intersection state is unnecessary. (...)
    
    Tracking the state of the virtual-content element's intersection with the
    viewport isn't necessary because the callback won't be called if the
    virtual-content element's intersection with the viewport didn't change or the
    virtual-content element doesn't intersect the viewport (meaning none of its
    descendants intersect the viewport).
    bicknellr committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    8a92113 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d4131d3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9469205 View commit details
    Browse the repository at this point in the history
  4. Fix the case where resizing the window didn't trigger updates. Replac…

    …es the scroll event listener with an IntersectionObserver.
    bicknellr committed Jan 19, 2019
    Configuration menu
    Copy the full SHA
    8f42c8d View commit details
    Browse the repository at this point in the history

Commits on Jan 22, 2019

  1. Remove unnecessary update in connectedCallback; the IntersectionObs…

    …erver will handle this case.
    bicknellr committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    fbf455a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    448aec5 View commit details
    Browse the repository at this point in the history
  3. Send a fake MutationRecord to process all the current child nodes dur…

    …ing construction. (...)
    
    Reading `childNodes` at this time violates the "Requirements for custom element
    constructors and reactions".
    
    https://html.spec.whatwg.org/multipage/custom-elements.html#custom-element-conformance
    bicknellr committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    ed9b9a3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    be60760 View commit details
    Browse the repository at this point in the history
  5. Remove height fallback for unknown nodes in _update. (...)

    Commit ed9b9a3 makes this check unnecessary by making sure that all nodes are
    processed by the MutationObserver callback before any update.
    bicknellr committed Jan 22, 2019
    Configuration menu
    Copy the full SHA
    bad3feb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    19af4cb View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2019

  1. Configuration menu
    Copy the full SHA
    8a3ee81 View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2019

  1. Changes to README

    bicknellr committed Feb 5, 2019
    Configuration menu
    Copy the full SHA
    d8fbe09 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2019

  1. My own README tweaks

    domenic committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    742d6ea View commit details
    Browse the repository at this point in the history
  2. Cleanups and deletions

    domenic committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    f60fa05 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fdaa1d4 View commit details
    Browse the repository at this point in the history
  4. More tweaks and fixes

    domenic committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    a9f84c6 View commit details
    Browse the repository at this point in the history
  5. Fix let vs const

    domenic committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    5f7c57c View commit details
    Browse the repository at this point in the history
  6. clang format. Add todo.

    domenic committed Feb 6, 2019
    Configuration menu
    Copy the full SHA
    5671753 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2019

  1. Configuration menu
    Copy the full SHA
    4c0a667 View commit details
    Browse the repository at this point in the history