1. 23 Jan, 2015 2 commits
    • Adam Barth's avatar
      Remove touch events from Sky · 106c5322
      Adam Barth authored
      We use pointer events instead.
      
      R=esprehn@chromium.org
      
      Review URL: https://codereview.chromium.org/868133003
      106c5322
    • Elliott Sprehn's avatar
      Don't set expression attributes before they're bound. · 0b73de95
      Elliott Sprehn authored
      We were cloning elements with all the attributes that contained
      expressions like attrName="{{ foo }}" which meant we'd go through the
      reflection process converting that value and also call the
      attrNameChanged() callback and the attributeChanged() with the braced
      string which the element didn't really want to know about.
      
      After this patch we create a "clone source node" which is a copy of the
      original element without the attributes that have the expressions and
      use that when cloning, then we assign the properties using data binding
      later.
      
      R=abarth@chromium.org, ojan@chromium.org
      
      Review URL: https://codereview.chromium.org/868973002
      0b73de95
  2. 22 Jan, 2015 1 commit
  3. 16 Jan, 2015 2 commits
  4. 15 Jan, 2015 2 commits
  5. 14 Jan, 2015 2 commits
  6. 13 Jan, 2015 1 commit
    • Hixie's avatar
      Examples: move markAsLaidOut() to just before the return, so the asserts work · 7598f1fd
      Hixie authored
      Specs: introduce layoutDescendants() to avoid work when a layout
      manager is unaffected by its childrens' intrinsic dimensions
      Examples: update for layoutDescendants() change
      Specs: add "lifetime" to resolver settings so that a transition can
      avoid having to dirty every consumer of the property every frame when
      it only needs to update the objects that are changing that frame
      Specs: expose the parents on AbstractStyleDeclarationList subclasses
      Specs: fix documentation around autoreap
      Specs: fix definition of setProperty()
      Specs: clean up the dimension-related logic of layout managers
      
      Review URL: https://codereview.chromium.org/850593003
      7598f1fd
  7. 12 Jan, 2015 1 commit
  8. 09 Jan, 2015 3 commits
  9. 08 Jan, 2015 3 commits
  10. 07 Jan, 2015 2 commits
  11. 06 Jan, 2015 1 commit
  12. 05 Jan, 2015 1 commit
  13. 19 Dec, 2014 1 commit
    • Elliott Sprehn's avatar
      Add declarataive event handlers. · e1e71107
      Elliott Sprehn authored
      Now inside the <template> of a SkyElement you can use
      on-eventName="method" on any element to add event listeners.
      
      For example you can write <sky-button on-click="handleClick">
      and then define handleClick(event) on the element class that
      contains the button.
      
      In adding this and tests I also realized that property bindings
      were not setup on the initial call to bind(), which is now
      fixed in this patch (See change to Node.prototype.bind).
      
      R=eseidel@google.com, rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/812713005
      e1e71107
  14. 18 Dec, 2014 2 commits
  15. 17 Dec, 2014 1 commit
    • Elliott Sprehn's avatar
      Make SkyElement more classy. · 5f6c32c2
      Elliott Sprehn authored
      The syntax for implementing a SkyElement is now:
      
      <sky-element name="element-name">
      <template>
        <!-- template here -->
      </template>
      <script>
      module.exports = class extends SkyElement {
        attached() {
           // ...
        }
        // .. methods here ..
      }.register();
      </script>
      </sky-element>
      
      The register() static method on SkyElement subclasses calls
      document.registerElement() and returns the generated constructor.
      It uses the parent <sky-element>'s name attribute to set the name
      of the element.
      
      R=rafaelw@chromium.org
      
      Review URL: https://codereview.chromium.org/788943003
      5f6c32c2
  16. 02 Dec, 2014 1 commit
  17. 27 Nov, 2014 1 commit
  18. 25 Nov, 2014 2 commits
  19. 21 Nov, 2014 1 commit
  20. 20 Nov, 2014 3 commits
  21. 18 Nov, 2014 1 commit
    • Ojan Vafai's avatar
      First step at getting rid of anonymous blocks and continuations. · 85817b24
      Ojan Vafai authored
      -Add RenderParagraph and display:paragraph. This is the only
      render type that's allowed to contain inlines or text.
      -If you put text nodes directly in a non-paragraph, wrap them
      in an anonymous paragraph. This may not be the place we want
      to end up, but it's a good stopgap to make it so we don't
      crash in this case.
      -Make StyleAdjuster force that non-paragraph blocks only contain
      RenderBlock subclasses and that paragraphs and inlines only contain
      inlines.
      -Considerably simplify addChildIgnoringAnonymousColumnBlocks
      now that we only create anonymous blocks for the case of
      text nodes in non-paragraphs. Also get rid of the behavior
      where we try to group multiple nodes into a single
      anonymous block.
      
      R=esprehn@chromium.org
      
      Review URL: https://codereview.chromium.org/729693003
      85817b24
  22. 17 Nov, 2014 6 commits