Skip to content

Commit 469547b

Browse files
committed
[css-display-4] Add force-hidden value to visibility #10182
1 parent ddd72be commit 469547b

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

css-display-4/Overview.bs

+20-2
Original file line numberDiff line numberDiff line change
@@ -1467,7 +1467,7 @@ Invisibility: the 'visibility' property</h2>
14671467

14681468
<pre class="propdef">
14691469
Name: visibility
1470-
Value: visible | hidden | collapse
1470+
Value: visible | hidden | force-hidden | collapse
14711471
Initial: visible
14721472
Applies to: all elements
14731473
Inherited: yes
@@ -1486,11 +1486,20 @@ Invisibility: the 'visibility' property</h2>
14861486
<dt><dfn>visible</dfn>
14871487
<dd>
14881488
The generated box is visible, as normal.
1489+
14891490
<dt><dfn>hidden</dfn>
14901491
<dd>
14911492
Any boxes generated by the element are [=invisible=].
14921493
Descendants of the element can, however, be visible
14931494
if they have ''visibility: visible''.
1495+
1496+
<dt><dfn>force-hidden</dfn>
1497+
<dd>
1498+
Any boxes generated by the element
1499+
<em>and its descendants</em>
1500+
are [=invisible=]
1501+
(regardless of their 'visibility' value).
1502+
14941503
<dt><dfn>collapse</dfn>
14951504
<dd>
14961505
Indicates that the box is <dfn dfn for noexport>collapsed</dfn>,
@@ -2238,7 +2247,15 @@ Acknowledgments</h2>
22382247
<h2 class=no-num id="changes">
22392248
Changes</h2>
22402249

2241-
<h3 id="changes-2020">
2250+
<h3 id="recent-changes">
2251+
Recent Changes</h3>
2252+
2253+
Significant changes since the <a href="https://www.w3.org/TR/2024/WD-css-display-4-20241219/">19 December 2024 First Public Working Draft</a>:
2254+
2255+
* Added a new ''force-hidden'' value to 'visibility'.
2256+
(<a href="https://github.com/w3c/csswg-drafts/issues/10182">Issue 10182</a>)
2257+
2258+
<h3 id="changes-L3">
22422259
Additions since Level 3</h3>
22432260

22442261
The following features were added since <a href="https://www.w3.org/TR/css-display-3/">CSS Display Module Level 3</a>:
@@ -2247,6 +2264,7 @@ Additions since Level 3</h3>
22472264
(<a href="https://github.com/w3c/csswg-drafts/issues/8589#issuecomment-1721504153">Issue 8589</a>)
22482265
* The 'reading-order' property (<a href="https://github.com/w3c/csswg-drafts/issues/11208#issuecomment-2625850559">Issue </a>)
22492266
* The ability to animate 'display'
2267+
* The ''force-hidden'' value of 'visibility'
22502268

22512269
<h2 id="priv" class="no-num">
22522270
Privacy Considerations</h2>

0 commit comments

Comments
 (0)