Commit dcb3841
Fix custom property value computation for the diamond pattern
Previously, cycle detection for custom property value compuation to
diamond patterns wrong, which looks like this:
--root: var(--a) var(--b);
--a: var(--sink);
--b: var(--sink);
--sink: 0px;
We detected there was no cycle, but having visited --sink before we
would fall back to the fallback instead of using the previously computed
value.
Fixed: 364687927
Change-Id: I296935ca24a491ff8c03aa39660bd844940a7ce5
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/5975686
Commit-Queue: Philip Pfaffe <[email protected]>
Reviewed-by: Ergün Erdoğmuş <[email protected]>
Auto-Submit: Philip Pfaffe <[email protected]>1 parent ce8c220 commit dcb3841
File tree
2 files changed
+17
-10
lines changed- front_end/core/sdk
2 files changed
+17
-10
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
60 | 60 | | |
61 | 61 | | |
62 | 62 | | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
63 | 66 | | |
64 | 67 | | |
65 | 68 | | |
| |||
106 | 109 | | |
107 | 110 | | |
108 | 111 | | |
| 112 | + | |
109 | 113 | | |
110 | 114 | | |
111 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1112 | 1112 | | |
1113 | 1113 | | |
1114 | 1114 | | |
1115 | | - | |
1116 | | - | |
1117 | | - | |
1118 | | - | |
1119 | | - | |
1120 | | - | |
1121 | | - | |
1122 | | - | |
1123 | | - | |
1124 | | - | |
| 1115 | + | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
| 1123 | + | |
| 1124 | + | |
| 1125 | + | |
| 1126 | + | |
| 1127 | + | |
1125 | 1128 | | |
1126 | 1129 | | |
1127 | 1130 | | |
| |||
0 commit comments