Custom state: Implement 'states' IDL attribute of ElementInternals
'states' is represented by blink::CustomStatesTokenList inherited from DOMTokenList. It passes a null QualifiedName to DOMTokenList as the associated attribute name. CustomStatesTokenList doesn't keep a serialized string, and 'value' getter serializes tokens on the fly. This CL doesn't contains changes for ':state()' pseudo class. The 'states' IDL attribute is behind a new runtime flag, CustomStatePseudoClass. Bug: 1012098 Change-Id: Icee5f1703f5930603117c1ba73994f3bbba4e2cd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847606Reviewed-by:Rakina Zata Amni <rakina@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Cr-Commit-Position: refs/heads/master@{#704118}
Showing
Please register or sign in to comment