@@ -254,9 +254,9 @@ <h3 id=terminology><span class=secno>2.2. </span>Terminology</h3>
254254
255255 < p > < dfn id =html-element > HTML element</ dfn > , < dfn
256256 id =htmlelement > < code > HTMLElement</ code > </ dfn > , < dfn id =queue-a-task > queue
257- a task</ dfn > , < dfn id =task > task </ dfn > , and < dfn
258- id =window > < code > Window</ code > </ dfn > are defined by HTML5. [ < cite > < a
259- href ="#ref-html5 "> HTML5</ a > </ cite > ]
257+ a task</ dfn > , < dfn id =quirks-mode > quirks mode </ dfn > , < dfn
258+ id =task > task </ dfn > , and < dfn id = window > < code > Window</ code > </ dfn > are
259+ defined by HTML5. [ < cite > < a href ="#ref-html5 "> HTML5</ a > </ cite > ]
260260
261261 < p > < dfn id =the-html-body-element > The HTML < code > body</ code > element</ dfn >
262262 is the first < code > body</ code > < a href ="#html-element "> HTML element</ a >
@@ -896,8 +896,9 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
896896 < li >
897897 < p > If the element does not have any associated CSS layout box or the
898898 element is the root element and the < a
899- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
900- mode</ span > return zero and terminate these steps.
899+ href ="#document "> < code > Document</ code > </ a > is in < a
900+ href ="#quirks-mode "> quirks mode</ a > return zero and terminate these
901+ steps.
901902
902903 < li >
903904 < p > If the element is the root element return the value of < a
@@ -906,9 +907,10 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
906907 < li >
907908 < p > If the element is < a href ="#the-html-body-element "> the HTML
908909 < code > body</ code > element</ a > , the < a
909- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
910- mode</ span > , and the element does not have any overflow, return the
911- value of < a href ="#dom-window-pageyoffset "> < code > pageYOffset</ code > </ a > .
910+ href ="#document "> < code > Document</ code > </ a > is in < a
911+ href ="#quirks-mode "> quirks mode</ a > , and the element does not have any
912+ overflow, return the value of < a
913+ href ="#dom-window-pageyoffset "> < code > pageYOffset</ code > </ a > .
912914
913915 < li >
914916 < p > Return the y-coordinate of the < a href ="#content "> content</ a > at the
@@ -927,8 +929,9 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
927929 < li >
928930 < p > If the element does not have any associated CSS layout box, the
929931 element is the root element and the < a
930- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
931- mode</ span > , or the element has no overflow, terminate these steps.
932+ href ="#document "> < code > Document</ code > </ a > is in < a
933+ href ="#quirks-mode "> quirks mode</ a > , or the element has no overflow,
934+ terminate these steps.
932935
933936 < li >
934937 < p > If the element is the root element invoke < a
@@ -939,9 +942,9 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
939942 < li >
940943 < p > If the element is < a href ="#the-html-body-element "> the HTML
941944 < code > body</ code > element</ a > , the < a
942- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
943- mode</ span > , and the element does not have any vertical overflow, invoke
944- < a href ="#dom-window-screen "> < code
945+ href ="#document "> < code > Document</ code > </ a > is in < a
946+ href =" #quirks- mode" > quirks mode </ a > , and the element does not have any
947+ vertical overflow, invoke < a href ="#dom-window-screen "> < code
945948 title =dom-Window-screen > screen()</ code > </ a > with zero as first argument
946949 and < var title =""> y</ var > as second.
947950
@@ -969,8 +972,9 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
969972 < li >
970973 < p > If the element does not have any associated CSS layout box or the
971974 element is the root element and the < a
972- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
973- mode</ span > return zero and terminate these steps.
975+ href ="#document "> < code > Document</ code > </ a > is in < a
976+ href ="#quirks-mode "> quirks mode</ a > return zero and terminate these
977+ steps.
974978
975979 < li >
976980 < p > If the element is the root element return the value of < a
@@ -979,9 +983,10 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
979983 < li >
980984 < p > If the element is < a href ="#the-html-body-element "> the HTML
981985 < code > body</ code > element</ a > , the < a
982- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
983- mode</ span > , and the element does not have any overflow, return the
984- value of < a href ="#dom-window-pagexoffset "> < code > pageXOffset</ code > </ a > .
986+ href ="#document "> < code > Document</ code > </ a > is in < a
987+ href ="#quirks-mode "> quirks mode</ a > , and the element does not have any
988+ overflow, return the value of < a
989+ href ="#dom-window-pagexoffset "> < code > pageXOffset</ code > </ a > .
985990
986991 < li >
987992 < p > Return the x-coordinate of the < a href ="#content "> content</ a > at the
@@ -1000,8 +1005,9 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
10001005 < li >
10011006 < p > If the element does not have any associated CSS layout box, the
10021007 element is the root element and the < a
1003- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
1004- mode</ span > , or the element has no overflow, terminate these steps.
1008+ href ="#document "> < code > Document</ code > </ a > is in < a
1009+ href ="#quirks-mode "> quirks mode</ a > , or the element has no overflow,
1010+ terminate these steps.
10051011
10061012 < li >
10071013 < p > If the element is the root element invoke < a
@@ -1012,9 +1018,9 @@ <h3 id=scroll-attributes><span class=secno>5.2. </span>The <code
10121018 < li >
10131019 < p > If the element is < a href ="#the-html-body-element "> the HTML
10141020 < code > body</ code > element</ a > , the < a
1015- href ="#document "> < code > Document</ code > </ a > is in < span > quirks
1016- mode</ span > , and the element does not have any vertical overflow, invoke
1017- < a href ="#dom-window-screen "> < code
1021+ href ="#document "> < code > Document</ code > </ a > is in < a
1022+ href =" #quirks- mode" > quirks mode </ a > , and the element does not have any
1023+ vertical overflow, invoke < a href ="#dom-window-screen "> < code
10181024 title =dom-Window-screen > screen()</ code > </ a > with < var title =""> x</ var >
10191025 as first argument and zero as second.
10201026
0 commit comments