Skip to content
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

layout: Implement basic `overflow: scroll` functionality. #7090

Merged
merged 6 commits into from Aug 11, 2015

Commits on Aug 11, 2015

  1. layout: Remove the now-useless `dirty` field from the layout context.

    At this point the only thing it does is to try to avoid adding display
    items that are outside the root scrollable area, which is both wrong
    (since it's incompatible with having scrollable areas outside the root)
    and is useless (because we have displayports now).
    pcwalton committed Aug 11, 2015
  2. compositor: Allow children of layers that don't want scroll events to be

    scrolled.
    
    Necessary for `overflow: scroll`.
    pcwalton committed Aug 11, 2015
  3. layout: Implement basic `overflow: scroll` functionality.

    Known issues:
    
    * Display list optimization can sometimes optimize out elements that
      should be shown. This affects the Enyo demo.
    
    * The `overflow: scroll` container doesn't clip the inner layer properly
      when borders, border radius, etc. are present.
    
    * `overflow-x: scroll` and `overflow-y: scroll` don't work individually;
      elements are scrolled all at once.
    
    * Scrolling only works on absolutely-positioned elements.
    pcwalton committed Aug 11, 2015
  4. tests: Add a simple test case for `overflow: scroll`.

    pcwalton committed Aug 11, 2015
You can’t perform that action at this time.