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
Not sure what exactly the first quote means with "name of a fieldset", my guess is that it refers to the rendered legend, but that contradicts the 2nd quote. If it means something else, please clarify.
The "name of a fieldset" is a semantic concept in HTML. It has nothing to do with how the legend displays. It's like how th elements still label a table row/column even if they're styled the same as tds.
The quoted phrase is also at the end of a longer paragraph listing other similar examples, which starts with an explicit explanation of what the examples are about:
Markup-based relationships, however, are not affected by these values, as they are solely rendering-time effects. For example, although they may affect which table cell appears in a column, they do not affect which table cell is associated with a particular column element. Similarly, they cannot affect which HTML summary element is associated with a particular table or whether a legend is the name of a fieldset.
Then a link to that "name of a fieldset" concept would be useful. I have no idea about what that is, fieldsets have a name attribute but that has no relation with legends.
Alright, checked in some changes to be a little more explanatory rather than hooking into a somewhat indeterminate term in the HTML spec. Also filed whatwg/html#3702 to get a bit more clarity on the HTML side.
I think it's still easy to confuse "<{legend}> labeling <{fieldset}> contents" with "rendered legend". But I guess this is a HTML problem more than a CSS one, so it's OK.
Activity
tabatkins commentedon Jul 6, 2017
The "name of a fieldset" is a semantic concept in HTML. It has nothing to do with how the legend displays. It's like how
thelements still label a table row/column even if they're styled the same astds.tabatkins commentedon Jul 6, 2017
The quoted phrase is also at the end of a longer paragraph listing other similar examples, which starts with an explicit explanation of what the examples are about:
Loirooriol commentedon Jul 6, 2017
Then a link to that "name of a fieldset" concept would be useful. I have no idea about what that is, fieldsets have a
nameattribute but that has no relation with legends.[css-display-3] Try to unconfuse name of a fieldset by using more exp…
fantasai commentedon May 23, 2018
Alright, checked in some changes to be a little more explanatory rather than hooking into a somewhat indeterminate term in the HTML spec. Also filed whatwg/html#3702 to get a bit more clarity on the HTML side.
fantasai commentedon May 23, 2018
@Loirooriol Let me know if that adequately addresses your concerns?
Loirooriol commentedon May 23, 2018
I think it's still easy to confuse "<{legend}> labeling <{fieldset}> contents" with "rendered legend". But I guess this is a HTML problem more than a CSS one, so it's OK.