Skip to content

Commit fa00929

Browse files
committed
Conflict fixed on "Window sizes and scrolling" page in french language
1 parent 3f70f93 commit fa00929

File tree

1 file changed

+5
-9
lines changed
  • 2-ui/1-document/10-size-and-scroll-window

1 file changed

+5
-9
lines changed

2-ui/1-document/10-size-and-scroll-window/article.md

Lines changed: 5 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -73,17 +73,13 @@ alert('Current scroll from the left: ' + window.pageXOffset);
7373
7474
Ces propriétés sont en lecture seule.
7575
76-
<<<<<<< HEAD
77-
## Défilement : scrollTo, scrollBy, scrollIntoView [#window-scroll]
78-
=======
79-
```smart header="Also available as `window` properties `scrollX` and `scrollY`"
80-
For historical reasons, both properties exist, but they are the same:
81-
- `window.pageXOffset` is an alias of `window.scrollX`.
82-
- `window.pageYOffset` is an alias of `window.scrollY`.
76+
```smart header="Également disponible en tant que propriétés `window` `scrollX` et `scrollY`"
77+
Pour des raisons historiques, les deux propriétés existent, mais elles sont identiques :
78+
- `window.pageXOffset` est un alias de `window.scrollX`.
79+
- `window.pageYOffset` est un alias de `window.scrollY`.
8380
```
81+
## Défilement : scrollTo, scrollBy, scrollIntoView [#window-scroll]
8482
85-
## Scrolling: scrollTo, scrollBy, scrollIntoView [#window-scroll]
86-
>>>>>>> 6ab384f2512902d74e4b0ff5a6be60e48ab52e96
8783
8884
```warn
8985
Pour faire défiler la page avec JavaScript, son DOM doit être entièrement construit.

0 commit comments

Comments
 (0)