Files
rust_browser/docs/old/Phase_1_sub_phases.md

1.0 KiB

Proposed Plan for Milestone 1 Completion

Phase 1A: Border Colors & Styles (Low Effort)

  1. Add border-color property parsing to CSS crate
  2. Add border-style property (at minimum: none, solid)
  3. Update display list to carry border color
  4. Update rasterizer to use border color

Phase 1B: Inline Layout (Core Work)

  1. Distinguish block vs inline formatting contexts in layout
  2. Implement line box building for inline content
  3. Support inline elements (span) laying out horizontally
  4. Handle mixed block/inline content (anonymous block boxes)
  5. Basic text wrapping at container width

Phase 1C: App Improvements

  1. Add/verify file:// path argument support in app_browser
  2. Add window display via platform crate
  3. Implement minimal reload (re-parse and re-render)

Phase 1D: Golden Test Expansion

  1. Add tests for inline layout scenarios
  2. Add tests for border colors/styles
  3. Add tests for mixed block/inline content
  4. Reach the "10 new golden pages" milestone requirement