Skip to content

PDOMSiblingStyle

Overview

Static CSS style for elements of the PDOM (siblings of PDOMPeer). Adds the styling directly to SceneryStyle, but also exports the class names for root and siblings for where elements are created or retrieved by document.getElementsByClassName().

REVIEW: Rename this to AccessiblePDOMStyle (or something more universal) - For all usages of "sibling" in this file.

@author Jesse Greenberg

Source Code

See the source for PDOMSiblingStyle.js in the scenery repository.