Re: [csswg-drafts] [css-ui] Standardize tooltip styling and expose as `::tooltip` (#8930)

Summing up and slightly rethinking my previous message thread, I suggest:

* add to the `normal` value of the `content` property a behavior for `::tooltip` that sets the content depending on the host language (`attr(title)` in the HTML and the content of the `title` element in SVG);

* additionally add the `element-text(#id)` function, which allows us to take the text from the element (and this makes up for the parity of SVG with other languages);

* the problem of displaying a tooltip and redefining its content can be solved by introducing `box-generation`.

-- 
GitHub Notification of comment by rthrejheytjyrtj545
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8930#issuecomment-1581848840 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 8 June 2023 03:51:20 UTC