The spec for expandable tree view wasn't very clear as the images on the book don't show a mixed state in the tree view, and currently there also isn't support for icons.
I wonder if regular tree view and expandable tree aren't supposed to be mixed? Regardless, this is a step forward.
before
after
The minus and plus signs are probably better as icons.
⚠️ I am not sure if the current reset styles on summary is intentional. It's currently inconsistent between Chrome (not reset) and Firefox (reset). Here I added the reset style, but am also happy to move them to .tree-view.
The spec for expandable tree view wasn't very clear as the images on the book don't show a mixed state in the tree view, and currently there also isn't support for icons.
I wonder if regular tree view and expandable tree aren't supposed to be mixed? Regardless, this is a step forward.
The minus and plus signs are probably better as icons.
⚠️ I am not sure if the current reset styles on
summary
is intentional. It's currently inconsistent between Chrome (not reset) and Firefox (reset). Here I added the reset style, but am also happy to move them to.tree-view
.