1. 16 Jan, 2015 2 commits
  2. 15 Jan, 2015 2 commits
  3. 14 Jan, 2015 2 commits
  4. 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
  5. 12 Jan, 2015 1 commit
  6. 09 Jan, 2015 3 commits
  7. 08 Jan, 2015 3 commits
  8. 07 Jan, 2015 2 commits
  9. 06 Jan, 2015 1 commit
  10. 05 Jan, 2015 1 commit
  11. 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
  12. 18 Dec, 2014 2 commits
  13. 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
  14. 02 Dec, 2014 1 commit
  15. 27 Nov, 2014 1 commit
  16. 25 Nov, 2014 2 commits
  17. 21 Nov, 2014 1 commit
  18. 20 Nov, 2014 3 commits
  19. 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
  20. 17 Nov, 2014 7 commits
  21. 14 Nov, 2014 2 commits