You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: ed/algorithms/html.json
+12-12
Original file line number
Diff line number
Diff line change
@@ -18332,10 +18332,10 @@
18332
18332
"rationale": "if",
18333
18333
"steps": [
18334
18334
{
18335
-
"html": "<p>If the <code id=\"the-hidden-attribute:attr-hidden-22\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute is in the <a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found-state\" id=\"the-hidden-attribute:attr-hidden-until-found-state-9\">hidden until found</a> state, then return \"<code id=\"the-hidden-attribute:attr-hidden-until-found\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found\">until-found</a></code>\".</p>"
18335
+
"html": "<p>If the <code id=\"the-hidden-attribute:attr-hidden-20\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute is in the <a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found-state\" id=\"the-hidden-attribute:attr-hidden-until-found-state-9\">hidden until found</a> state, then return \"<code id=\"the-hidden-attribute:attr-hidden-until-found\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found\">until-found</a></code>\".</p>"
18336
18336
},
18337
18337
{
18338
-
"html": "<p>If the <code id=\"the-hidden-attribute:attr-hidden-23\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute is set, then return\n true.</p>"
18338
+
"html": "<p>If the <code id=\"the-hidden-attribute:attr-hidden-21\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute is set, then return\n true.</p>"
18339
18339
},
18340
18340
{
18341
18341
"html": "<p>Return false.</p>"
@@ -18347,25 +18347,25 @@
18347
18347
"rationale": "if",
18348
18348
"steps": [
18349
18349
{
18350
-
"html": "<p>If the given value is a string that is an <a id=\"the-hidden-attribute:ascii-case-insensitive\" href=\"https://infra.spec.whatwg.org/#ascii-case-insensitive\" data-x-internal=\"ascii-case-insensitive\">ASCII case-insensitive</a> match for\n \"<code id=\"the-hidden-attribute:attr-hidden-until-found-2\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found\">until-found</a></code>\", then set the <code id=\"the-hidden-attribute:attr-hidden-24\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute to \"<code id=\"the-hidden-attribute:attr-hidden-until-found-3\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found\">until-found</a></code>\".</p>"
18350
+
"html": "<p>If the given value is a string that is an <a id=\"the-hidden-attribute:ascii-case-insensitive\" href=\"https://infra.spec.whatwg.org/#ascii-case-insensitive\" data-x-internal=\"ascii-case-insensitive\">ASCII case-insensitive</a> match for\n \"<code id=\"the-hidden-attribute:attr-hidden-until-found-2\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found\">until-found</a></code>\", then set the <code id=\"the-hidden-attribute:attr-hidden-22\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute to \"<code id=\"the-hidden-attribute:attr-hidden-until-found-3\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found\">until-found</a></code>\".</p>"
18351
18351
},
18352
18352
{
18353
-
"html": "<p>Otherwise, if the given value is false, then remove the <code id=\"the-hidden-attribute:attr-hidden-25\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18353
+
"html": "<p>Otherwise, if the given value is false, then remove the <code id=\"the-hidden-attribute:attr-hidden-23\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18354
18354
},
18355
18355
{
18356
-
"html": "<p>Otherwise, if the given value is the empty string, then remove the <code id=\"the-hidden-attribute:attr-hidden-26\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18356
+
"html": "<p>Otherwise, if the given value is the empty string, then remove the <code id=\"the-hidden-attribute:attr-hidden-24\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18357
18357
},
18358
18358
{
18359
-
"html": "<p>Otherwise, if the given value is null, then remove the <code id=\"the-hidden-attribute:attr-hidden-27\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18359
+
"html": "<p>Otherwise, if the given value is null, then remove the <code id=\"the-hidden-attribute:attr-hidden-25\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18360
18360
},
18361
18361
{
18362
-
"html": "<p>Otherwise, if the given value is 0, then remove the <code id=\"the-hidden-attribute:attr-hidden-28\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18362
+
"html": "<p>Otherwise, if the given value is 0, then remove the <code id=\"the-hidden-attribute:attr-hidden-26\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18363
18363
},
18364
18364
{
18365
-
"html": "<p>Otherwise, if the given value is NaN, then remove the <code id=\"the-hidden-attribute:attr-hidden-29\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18365
+
"html": "<p>Otherwise, if the given value is NaN, then remove the <code id=\"the-hidden-attribute:attr-hidden-27\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute.</p>"
18366
18366
},
18367
18367
{
18368
-
"html": "<p>Otherwise, set the <code id=\"the-hidden-attribute:attr-hidden-30\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute to the empty\n string.</p>"
18368
+
"html": "<p>Otherwise, set the <code id=\"the-hidden-attribute:attr-hidden-28\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute to the empty\n string.</p>"
18369
18369
}
18370
18370
]
18371
18371
},
@@ -18380,14 +18380,14 @@
18380
18380
"rationale": "if",
18381
18381
"steps": [
18382
18382
{
18383
-
"html": "If <var>currentNode</var> has the <code id=\"the-hidden-attribute:attr-hidden-31\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute in the\n <a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found-state\" id=\"the-hidden-attribute:attr-hidden-until-found-state-10\">hidden until found</a> state, then:",
18383
+
"html": "If <var>currentNode</var> has the <code id=\"the-hidden-attribute:attr-hidden-29\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute in the\n <a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden-until-found-state\" id=\"the-hidden-attribute:attr-hidden-until-found-state-10\">hidden until found</a> state, then:",
18384
18384
"rationale": "fire",
18385
18385
"steps": [
18386
18386
{
18387
-
"html": "<p><a href=\"https://dom.spec.whatwg.org/#concept-event-fire\" id=\"the-hidden-attribute:concept-event-fire\" data-x-internal=\"concept-event-fire\">Fire an event</a> named <code id=\"the-hidden-attribute:event-beforematch-2\"><a href=\"https://html.spec.whatwg.org/multipage/indices.html#event-beforematch\">beforematch</a></code> at <var>currentNode</var>.</p>"
18387
+
"html": "<p><a href=\"https://dom.spec.whatwg.org/#concept-event-fire\" id=\"the-hidden-attribute:concept-event-fire\" data-x-internal=\"concept-event-fire\">Fire an event</a> named <code id=\"the-hidden-attribute:event-beforematch\"><a href=\"https://html.spec.whatwg.org/multipage/indices.html#event-beforematch\">beforematch</a></code> at <var>currentNode</var> with the <code id=\"the-hidden-attribute:dom-event-bubbles\"><a data-x-internal=\"dom-event-bubbles\" href=\"https://dom.spec.whatwg.org/#dom-event-bubbles\">bubbles</a></code> attribute initialized to true.</p>"
18388
18388
},
18389
18389
{
18390
-
"html": "<p>Remove the <code id=\"the-hidden-attribute:attr-hidden-32\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute from\n <var>currentNode</var>.</p>"
18390
+
"html": "<p>Remove the <code id=\"the-hidden-attribute:attr-hidden-30\"><a href=\"https://html.spec.whatwg.org/multipage/interaction.html#attr-hidden\">hidden</a></code> attribute from\n <var>currentNode</var>.</p>"
0 commit comments