Commit ae705ff
Fix UI engineering code samples
The solidus `/>` does not have any special meaning in HTML, and does
not replace an end tag.
This patch fixes the examples by adding explicit end tags where
intended, ensuring that e.g. <devtools-tab-pane> does not get nested
under <devtools-widget> in the first example.
The distinction is critical as it results in a different DOM structure.
Bug: chromium:394001149
Change-Id: I5331103b758693021798adde3e4dbd8c34eb1ff4
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6252743
Auto-Submit: Mathias Bynens <[email protected]>
Reviewed-by: Danil Somsikov <[email protected]>
Commit-Queue: Danil Somsikov <[email protected]>1 parent b287d00 commit ae705ff
1 file changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
| 61 | + | |
61 | 62 | | |
62 | | - | |
63 | | - | |
64 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
| |||
0 commit comments