Skip to content

Step 5c: Layout engine — positioned layout #73

@thomasnemer

Description

@thomasnemer

Parent: #24
Prerequisites: Step 5b

Goal

Implement CSS positioned layout: static, relative, absolute, fixed.

Implementation

  • position: static — normal flow (default)
  • position: relative — offset from normal position
  • position: absolute — removed from flow, relative to positioned ancestor
  • position: fixed — relative to viewport
  • Stacking context tracking (z-index)

Tests

  • Relative offset, absolute positioning, fixed positioning
  • ~5 tests

Acceptance Criteria

  • cargo test -p ie-layout passes
  • Clippy clean

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions