Skip to content

Rf css grid layout#318

Draft
namedgraph wants to merge 1 commit into
developfrom
rf-css-grid-layout
Draft

Rf css grid layout#318
namedgraph wants to merge 1 commit into
developfrom
rf-css-grid-layout

Conversation

@namedgraph

Copy link
Copy Markdown
Member

No description provided.

Prep 1: uncomment @typeof on all block outer divs (typed/XHTML/SaxonJS
wrapper) in resource.xsl so CSS [typeof~="..."] selectors and depth-
independent handler anchors work.

Prep 2: emit aria-current="page" on active mode link; emit and keep
aria-expanded in sync on left-sidebar show/hide in navigation.xsl.

Prep 3: replace depth-locked axes in block.xsl with ancestor::*[...][1]
traversal (ondragover/enter/leave/drop document-body lookup, drag-handle
span12 lookup); replace sibling-relative btn-edit match with ancestor
RDFa match; replace ixsl:style() readback in onmousemove with
aria-expanded attribute check.

Fork: add xsl/ldh/layout.xsl — imports bootstrap/2.3.2/layout.xsl and
overrides structural templates to remove Bootstrap grid classes (row-fluid,
span7, span2, container-fluid) while keeping load-bearing DOM anchor
classes (document-body, content-body, block, span12). Introduces
ldh:BlockContent mode to share SSR/CSR content dispatch without the
Bootstrap SaxonJS wrapper's hardcoded div.span12.

Add css/ldh.css — initial design layer keyed on RDFa typeof selectors
and ARIA state attributes; flex layout for .ldh-content/.ldh-block.

Activate the ldh tree by changing the import in static/xsl/layout.xsl
from ../bootstrap/2.3.2/layout.xsl to ../ldh/layout.xsl.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@namedgraph namedgraph changed the base branch from master to develop July 4, 2026 23:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant