Skip to content

Commit 6c3d5ef

Browse files
committed
wip
1 parent f199a26 commit 6c3d5ef

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

45.1 KB
Loading
108 KB
Loading

firefox-contribution/slides.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,14 @@ layout: two-cols-header
101101

102102
::left::
103103

104-
```ts
105-
`
106-
<!-- html $0 -->
104+
```html
105+
<!-- $0 -->
107106
<div style="--foo: var(--bar) ;">
108107
<p>children</p>
109108
</div>
110-
`
109+
```
111110

111+
```ts
112112
const pattern1 = $0.style.getPropertyValue("--foo");
113113
const pattern2 = window.getComputedStyle($0).getPropertyValue("--foo");
114114
const pattern3 = window.getComputedStyle($0.children[0]).getPropertyValue("--foo");

0 commit comments

Comments
 (0)