CSS selectors
.spectrum-Menu .spectrum-Menu-divider.spectrum-Menu .spectrum-Menu-divider.spectrum-Divider--sizeS
Passthroughs
None found for this component.
Modifiers
--mod-menu-section-divider-margin-block
Attributes
size(string: 's', 'm', 'l') - inherited from SizedMixin
Slots
None found for this component.
Spectrum Web Components:
<sp-menu-divider role="separator" size="m"></sp-menu-divider>Legacy (CSS main branch):
<li class="spectrum-Divider spectrum-Divider--sizeS spectrum-Menu-divider"></li>Spectrum 2 (CSS spectrum-two branch):
<li class="spectrum-Divider spectrum-Divider--sizeS spectrum-Menu-divider"></li>| CSS selector | Attribute or slot | Status |
|---|---|---|
.spectrum-Menu-divider |
Menu divider element | Implemented |
.spectrum-Divider--sizeS |
size="s" |
Implemented |
.spectrum-Divider--sizeM |
size="m" |
Implemented |
.spectrum-Divider--sizeL |
size="l" |
Implemented |
--mod-menu-section-divider-margin-block |
CSS modifier for divider spacing | Implemented |
No implementation gaps found. The menu divider component has complete feature parity between CSS and Web Components implementations. All size variants are supported, and the component properly implements the separator role for accessibility.
The CSS template files are identical between the main and spectrum-two branches. No structural changes were detected in the DOM between legacy and Spectrum 2 implementations for menu dividers. Both branches use the same HTML structure with the divider rendered as a <li> element with appropriate CSS classes.