Skip to content

Commit b2b2c2d

Browse files
[cssom-view-1] Per flackr feedback, not worth making quirks mode care about single-axis. w3c/csswg-drafts@169b434
1 parent 42c3a94 commit b2b2c2d

1 file changed

Lines changed: 54 additions & 52 deletions

File tree

cssom-view-ja.html

Lines changed: 54 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -570,8 +570,9 @@
570570
●●options
571571

572572
spec_title:CSSOM View Module Level 1
573-
spec_date:2026-04-17
574-
trans_update:2026-05-05
573+
spec_date:2026-03-20
574+
real_date:2026-04-30
575+
trans_update:2026-07-05
575576
source_checked:250903
576577
page_state_key:CSS
577578
original_url:https://drafts.csswg.org/cssom-view-1/
@@ -856,7 +857,6 @@
856857

857858
~scrollされる区画:#scrolling-area
858859
~scroll可能になり得る:#potentially-scrollable
859-
~scroll可能になり得ない:#potentially-scrollable
860860
doc.処理待ち~scroll~event群:#document-pending-scroll-events
861861
要素を~scrollする:#scroll-an-element
862862
瞬時に~scrollする:#concept-instant-scroll
@@ -933,6 +933,7 @@
933933

934934
古典~scrollbar:~CSSOVERFLOW3#classic-scrollbars
935935
上層~scrollbar:~CSSOVERFLOW3#overlay-scrollbars
936+
~scroll可能な値:~CSSOVERFLOW3#scrollable-overflow-value
936937

937938
平坦~tree:~CSSSHADOW#flat-tree
938939

@@ -1403,8 +1404,6 @@
14031404
Tab Atkins Jr.; Florian Rivoal; Vladimir Levin. <CSS Containment Module Level 2>. URL: https://drafts.csswg.org/css-contain-2/
14041405
[CSS-DEVICE-ADAPT]
14051406
Florian Rivoal; Emilio Cobos Álvarez. <CSS Viewport Module Level 1>. URL: https://drafts.csswg.org/css-viewport/
1406-
[CSS-DISPLAY-3]
1407-
Elika Etemad; Tab Atkins Jr.. <CSS Display Module Level 3>. URL: https://drafts.csswg.org/css-display/
14081407
[CSS-DISPLAY-4]
14091408
Elika Etemad; Tab Atkins Jr.. <CSS Display Module Level 4>. URL: https://drafts.csswg.org/css-display-4/
14101409
[CSS-OVERFLOW-3]
@@ -1435,6 +1434,8 @@
14351434
Daniel Glazman; Emilio Cobos Álvarez. <CSS Object Model (CSSOM)>. URL: https://drafts.csswg.org/cssom/
14361435
[DOM]
14371436
Anne van Kesteren. <DOM Standard>. Living Standard. URL: https://dom.spec.whatwg.org/
1437+
[ECMASCRIPT]
1438+
<ECMAScript Language Specification>. URL: https://tc39.es/ecma262/multipage/
14381439
[GEOMETRY-1]
14391440
Sebastian Zartner; Yehonatan Daniv. <Geometry Interfaces Module Level 1>. URL: https://drafts.csswg.org/geometry/
14401441
[HTML]
@@ -1885,16 +1886,19 @@ <h2 title="Terminology">2. 各種用語</h2>
18851886
</p>
18861887

18871888
<p>
1888-
所与の(ある`文書$の)`~body要素$ %~body は、
1889-
~AND↓ を満たすとき,
1889+
所与の
1890+
( ある`文書$の`~body要素$ %~body, 軸 %軸 )
1891+
に対し,
1892+
%~body は %軸 において
18901893
`~scroll可能になり得る@
1891-
とされる。
1894+
とは、
1895+
~AND↓ が満たされることをいう。
18921896
1893-
An element body (which will be the body element) is potentially scrollable if all of the following conditions are true:
1897+
An element body (which will be the body element) is potentially scrollable in an axis if all of the following conditions are true:
18941898
</p>
18951899
<ul>
18961900
<li>
1897-
%~body は`~box$を有する
1901+
%~body は`~box$を有する
18981902
18991903
body has an associated box.
19001904
</li>
@@ -1903,22 +1907,16 @@ <h2 title="Terminology">2. 各種用語</h2>
19031907
%~body, %~body の`親~要素$は、
19041908
どちらも次を満たす
19051909
1906-
1910+
その
19071911
`overflow-x$p,
19081912
`overflow-y$p
1909-
]~propのどちらかは次を満たす
1910-
1911-
算出d値 ~NIN { `visible$v, `clip$v }
1913+
]~propのうち %軸 に対応する方の算出d値 ~NIN { `visible$v, `clip$v }
1914+
【算出d値は`~scroll可能な値$である】
19121915
</p>
1913-
1914-
<p class="trans-note">
1915-
実際には、
1916-
片方の~propがこれを満たすならば,両方とも満たすことになる。
1917-
</p>
19181916
19191917
body’s parent element’s computed value of the overflow-x or overflow-y properties is neither visible nor clip.
19201918
1921-
body’s computed value of the overflow-x or overflow-y properties is neither visible nor clip.
1919+
body’s computed value of the overflow-x or overflow-y properties (whichever is in the given axis) is neither visible nor clip.
19221920
</li>
19231921
</ul>
19241922

@@ -1967,7 +1965,7 @@ <h2 title="Terminology">2. 各種用語</h2>
19671965
記号
19681966
%D1 は[
19691967
上方, 下方, 左方, 右方
1970-
いずれかの方向を表し,
1968+
いずれかの方向を,
19711969
%D2 は その反対~方向を表すとする。
19721970
`~overflow方向$に %D1 が含まれている(したがって %D2 は含まれていない)ならば、
19731971
~boxの[
@@ -1983,42 +1981,41 @@ <h2 title="Terminology">2. 各種用語</h2>
19831981
<tr><th>%D1 側の辺
19841982
<td>
19851983
1986-
`初期~包含塊$の %D1 側の辺, および
1987-
`表示域$のすべての子孫~box~FN1 の %D1 側の`~margin辺$
1988-
]のうち,最も %D1 側の辺
1984+
`初期~包含塊$の %D1 側にある辺, および
1985+
`表示域$のすべての子孫~box~FN の %D1 側にある`~margin辺$
1986+
]のうち,最も %D1 側にある辺
19891987
19901988
The D1-most edge of the D1 edge of the initial containing block and the D1 margin edge of all of the viewport’s descendants' boxes.
19911989
<td>
19921990
1993-
要素の %D1 側の`~padding辺$, および
1994-
要素のすべての子孫~box~FN1 の %D1 側の`~margin辺$
1995-
]のうち,最も %D1 側の辺
1996-
— ただし,要素の先祖を`包含塊$とするような~boxは除外する~FN2。
1991+
要素の %D1 側にある`~padding辺$, および
1992+
要素のすべての子孫~box~FN の %D1 側にある`~margin辺$
1993+
]のうち,最も %D1 側にある辺
1994+
— ただし、
1995+
要素の先祖を`包含塊$とするような~box【例:`~flow外$にあるもの】は除外する。
19971996
19981997
The D1-most edge of the element’s D1 padding edge and the D1 margin edge of all of the element’s descendants' boxes, excluding boxes that have an ancestor of the element as their containing block.
19991998

2000-
<tr><th style="white-space:nowrap;">%D2 側の辺
1999+
<tr><th style="white-space:nowrap;">%D2 側にある辺
20012000

20022001
<td>
2003-
`初期~包含塊$の %D2 側の辺
2002+
`初期~包含塊$の %D2 側にある辺
20042003
20052004
The D2 edge of the initial containing block.
20062005
<td>
2007-
要素の %D2 側の`~padding辺$。
2006+
要素の %D2 側にある`~padding辺$。
20082007
20092008
The element’s D2 padding edge.
20102009
</table>
20112010

2012-
<p class="trans-note">【~FN1
2011+
<p class="trans-note">【~FN
20132012
この子孫は、
20142013
`~box~tree$における子孫を意味する。
20152014
“表示域の子孫~box” が何を意味するのか不明だが、
20162015
当の文書の~box~treeを成す~boxすべてが該当すると見受けられる。
2017-
】【~FN2
2018-
例えば,`~flow外$にある~boxなど。
20192016
】【
2020-
この箇所は
2021-
原文の内容と等価になるよう,~parameter化により大幅に圧縮して記述している
2017+
この箇所の和訳は
2018+
原文の内容と等価になるよう,~parameter化により大幅に圧縮している
20222019
</p>
20232020

20242021
<div lang="en" class="_en">
@@ -5104,18 +5101,22 @@ <h2 title="Extensions to the Document Interface">5. `Document^I ~interfaceに対
51045101
~IF[
51055102
%~body ~NEQ ~NULL
51065103
]~AND[
5107-
%~body は`~scroll可能になり得ない$~FN
5104+
~NOT %~body はどちらかの軸において`~scroll可能になり得る$~FN
51085105
51095106
51105107
~RET %~body
51115108
5112-
If the body element exists, and it is not potentially scrollable, return the body element and abort these steps.
5109+
If the body element exists, and it is not potentially scrollable in either axis, return the body element and abort these steps.
51135110
</p>
51145111

51155112
<p>~FN
51165113
この目的においては、
5117-
%~body の `overflow$p 値が `clip^v の場合には,
5118-
%~body の親~要素の `overflow$p は `hidden^v として扱うモノトスル。
5114+
%~body の[
5115+
`overflow-x$p / `overflow-y$p
5116+
]が `clip^v をとる場合には,
5117+
%~body の親~要素の[
5118+
`overflow-x$p / `overflow-y$p
5119+
]は `hidden^v をとるものとして扱うモノトスル。
51195120
51205121
For this purpose, a value of overflow:clip on the body element’s parent element must be treated as overflow:hidden.
51215122
</p>
@@ -5982,12 +5983,12 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
59825983
]~AND[
59835984
%文書 は`過去互換~mode$下にある
59845985
]~AND[
5985-
%要素 は`~scroll可能になり得ない$
5986+
~NOT %要素 は どちらかの軸において`~scroll可能になり得る$
59865987
59875988
59885989
~RET `~window用の~scroll手続き$( %window, %x, %y, %挙動 )
59895990
5990-
If the element is the body element, document is in quirks mode, and the element is not potentially scrollable, return the Promise returned by scroll() on window after the method is invoked with options as the only argument, and abort the remaining steps.
5991+
If the element is the body element, document is in quirks mode, and the element is not potentially scrollable in either axis, return the Promise returned by scroll() on window after the method is invoked with options as the only argument, and abort the remaining steps.
59915992
</li>
59925993
<li>
59935994
~IF[
@@ -6175,7 +6176,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
61756176
]~AND[
61766177
%文書 は`過去互換~mode$下にある
61776178
]~AND[
6178-
コレは`~scroll可能になり得ない$
6179+
~NOT コレは どちらの軸においても`~scroll可能になり得る$
61796180
61806181
</li>
61816182
</ul>
@@ -6190,7 +6191,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
61906191
61916192
If the element is the root element return the value of scrollY on window.
61926193
6193-
If the element is the body element, document is in quirks mode, and the element is not potentially scrollable, return the value of scrollY on window.
6194+
If the element is the body element, document is in quirks mode, and the element is not potentially scrollable in at least one axis, return the value of scrollY on window.
61946195
</li>
61956196
<li>
61966197
~IF[
@@ -6284,7 +6285,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
62846285
]~AND[
62856286
%文書 は`過去互換~mode$下にある
62866287
]~AND[
6287-
コレは`~scroll可能になり得ない$
6288+
~NOT コレは どちらの軸においても`~scroll可能になり得る$
62886289
62896290
</li>
62906291
</ul>
@@ -6309,7 +6310,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
63096310
63106311
If the element is the root element invoke scroll() on window with scrollX on window as first argument and y as second argument, and terminate these steps.
63116312
6312-
If the element is the body element, document is in quirks mode, and the element is not potentially scrollable, invoke scroll() on window with scrollX as first argument and y as second argument, and terminate these steps.
6313+
If the element is the body element, document is in quirks mode, and the element is not potentially scrollable in at least one axis, invoke scroll() on window with scrollX as first argument and y as second argument, and terminate these steps.
63136314
</li>
63146315
<li>
63156316
<p>
@@ -6362,7 +6363,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
63626363
• If window is null, return zero and terminate these steps.
63636364
• If the element is the root element and document is in quirks mode, return zero and terminate these steps.
63646365
• If the element is the root element return the value of scrollX on window.
6365-
• If the element is the body element, document is in quirks mode, and the element is not potentially scrollable, return the value of scrollX on window.
6366+
• If the element is the body element, document is in quirks mode, and the element is not potentially scrollable in at least one axis, return the value of scrollX on window.
63666367
• If the element does not have any associated box, return zero and terminate these steps.
63676368
• Return the x-coordinate of the scrolling area at the alignment point with the left of the padding edge of the element.
63686369
@@ -6375,7 +6376,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
63756376
• If window is null, terminate these steps.
63766377
• If the element is the root element and document is in quirks mode, terminate these steps.
63776378
• If the element is the root element invoke scroll() on window with x as first argument and scrollY on window as second argument, and terminate these steps.
6378-
• If the element is the body element, document is in quirks mode, and the element is not potentially scrollable, invoke scroll() on window with x as first argument and scrollY on window as second argument, and terminate these steps.
6379+
• If the element is the body element, document is in quirks mode, and the element is not potentially scrollable in at least one axis, invoke scroll() on window with x as first argument and scrollY on window as second argument, and terminate these steps.
63796380
• If the element does not have any associated box, the element has no associated scrolling box, or the element has no overflow, terminate these steps.
63806381
• Scroll the element to x,scrollTop, with the scroll behavior being "auto".
63816382
</p>
@@ -6424,8 +6425,9 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
64246425
]~AND[
64256426
コレ ~EQ %文書 の`~body要素$
64266427
]~AND[
6427-
コレは
6428-
`~scroll可能になり得ない$
6428+
~NOT コレは[
6429+
~x軸|~y軸
6430+
]において`~scroll可能になり得る$
64296431
64306432
</li>
64316433
</ul>
@@ -6460,7 +6462,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
64606462
64616463
If the element is the root element and document is not in quirks mode return max(viewport scrolling area width, viewport width).
64626464
6463-
If the element is the body element, document is in quirks mode and the element is not potentially scrollable, return max(viewport scrolling area width, viewport width).
6465+
If the element is the body element, document is in quirks mode and the element is not potentially scrollable in the x axis, return max(viewport scrolling area width, viewport width).
64646466
</li>
64656467
<li>
64666468
~IF[
@@ -6489,7 +6491,7 @@ <h2 title="Extensions to the Element Interface">6. `Element^I ~interfaceに対
64896491
• If document is not the active document, return zero and terminate these steps.
64906492
• Let viewport height be the height of the viewport excluding the height of the scroll bar, if any, or zero if there is no viewport.
64916493
• If the element is the root element and document is not in quirks mode return max(viewport scrolling area height, viewport height).
6492-
• If the element is the body element, document is in quirks mode and the element is not potentially scrollable, return max(viewport scrolling area height, viewport height).
6494+
• If the element is the body element, document is in quirks mode and the element is not potentially scrollable in the y axis, return max(viewport scrolling area height, viewport height).
64936495
• If the element does not have any associated box return zero and terminate these steps.
64946496
• Return the height of the element’s scrolling area.
64956497
</p>

0 commit comments

Comments
 (0)