Rf css grid layout#318
Draft
namedgraph wants to merge 1 commit into
Draft
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.