Ticket #166 (new enhancement)

Opened 2 years ago

Last modified 1 year ago

add Style.getContainingBlock(elem)

Reported by: beau@hartshornesoftware.com Assigned to: beau@hartshornesoftware.com
Priority: normal Milestone: MochiKit 1.5
Component: component1 Version:
Severity: normal Keywords:
Cc:

Change History

08/28/06 10:22:26 changed by beau@hartshornesoftware.com

  • The containing block is the closest ancestor element that is block-level (and not absolutely positioned), a table cell, or inline-block. Floated elements generate a block-box.
  • The containing block for an absolutely positioned element is the nearest ancestor element that has a position other than static.
  • The root of the document tree generates a box that serves as the initial containing block for subsequent layout.

11/18/06 16:18:22 changed by bob@redivi.com

  • milestone set to MochiKit 1.4.

01/20/07 18:55:50 changed by beau@hartshornesoftware.com

  • milestone changed from MochiKit 1.4 to MochiKit 1.5.