mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-10-07 04:26:32 +08:00
The CSS highlight inheritance model specified at [1] introduces a parallel cascade for highlight pseudos (::selection, ::spelling-error, ::grammar-error, and ::highlight). This change updates the style pane to include this parallel pseudo cascade when displaying rules for highlight pseudos. The corresponding backend change is at [2]. A screenshot of what this looks like can be viewed at [3]. [1] https://drafts.csswg.org/css-pseudo-4/#highlight-cascade [2] https://chromium-review.googlesource.com/c/chromium/src/+/3461424 [3] https://docs.google.com/document/d/10qOm--onzEQe6HT6z1kUqzAVOLkN7Rc42wnrahRdsr0/edit?usp=sharing Bug: 1024156 Change-Id: I1c8a034d5d956acc6238a0965fd8dfdb92f2399b Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3502175 Reviewed-by: Johan Bay <jobay@chromium.org> Reviewed-by: Delan Azabani <dazabani@igalia.com> Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Commit-Queue: Dan Clark <daniec@microsoft.com>