09:36 | <hacknorris> | my feature request for html - <vr> tag (vertical rule), why doesnt it exist yet ? o.O |
13:29 | <Andreu Botella> | is it supposed to fill some semantic role? Because I'm pretty sure if you're writing vertical text (i.e. Chinese, Japanese, Mongolian with CSS writing-mode: vertical-rl ) you can use <hr> and it will render vertical by default |
13:29 | <hacknorris> | i meant - visible separator, like sections in office... |
13:30 | <Andreu Botella> | why not use <section> ? |
13:30 | <hacknorris> | VISIBLE |
13:30 | <hacknorris> | a11y? |
13:33 | <Andreu Botella> | maybe <section role="section"> ? |
13:33 | <Andreu Botella> | and add a border or something with CSS |
13:33 | <hacknorris> | CSS, EXACTLY |
13:34 | <hacknorris> | hr doesnt need css |
13:34 | <Andreu Botella> | https://html.spec.whatwg.org/multipage/rendering.html#the-hr-element-2 |
13:34 | <Andreu Botella> | is there any reason you don't want to use CSS? |
13:35 | <hacknorris> | i meant for standard, not use |
13:35 | <hacknorris> | i know in whih room i talk, yes? |
13:36 | <Andreu Botella> | new HTML elements are supposed to fulfill some semantic role not otherwise available |
13:36 | <Andreu Botella> | <section> seems to fulfill that semantic role, right? |
13:36 | <hacknorris> | but its still ot vertical |
13:36 | <Andreu Botella> | anything else can be done by developers with ARIA, CSS and maybe some JS |
13:37 | <Andreu Botella> | if it's a significant pain point for developers, it can be considered to add it into a standard |
13:37 | <hacknorris> | what about my other idea - embedding 3d art ? |
13:37 | <Andreu Botella> | but is it? |
13:37 | <hacknorris> | what about my other idea - ebedding 3d art ? |
13:38 | <Andreu Botella> | can that not be achieved with canvas? |
13:38 | <hacknorris> | yes but actually this IS a pain for devs... |
13:38 | <hacknorris> | can that not be achieved with canvas? |
13:39 | <Andreu Botella> | even with JS libraries that build on top of webGL or webGPU? |
13:40 | <Andreu Botella> | I don't know that much about 3D content, sorry |
13:40 | <hacknorris> | obj files |
13:40 | <hacknorris> | smh svg have its own html tag but 3d art doesnt have ? |
13:41 | <Andreu Botella> | SVG goes back to the 90s and I think including it into HTML syntax comes back to the legacy of XHTML |
13:41 | <Andreu Botella> | or something like that |
13:41 | <Andreu Botella> | that's not to say that something like that would not be accepted today |
13:42 | <hacknorris> | moment |
13:47 | <Andreu Botella> | does anyone know if WPT has tests for <br> and <wbr> ? |
13:48 | <Andreu Botella> | I mean, I'm sure <br> has to be used in a bunch of the text tests, but I'm wondering if any test that, say, all: initial on a br still triggers a forced line break, which does seem to be interoperable across browsers |
13:50 | <Andreu Botella> | the talk about elements being special-cased by the layout engine rather than having a CSS-based rendering made me think of that |
13:50 | <hacknorris> | like there is vertical and horizontal tab |
13:50 | <hacknorris> | why there is no vertical and horizontal rule ? |
13:51 | <Andreu Botella> | you mean the Unicode / ASCII characters for vertical and horizontal tab? |
13:51 | <Andreu Botella> | why are those relevant to HTML elements? |
13:52 | <hacknorris> | if there is hirizontal should be also vertical |
13:52 | <hacknorris> | *horizontal |
13:53 | <Andreu Botella> | "hr" historically means "horizontal rule", but the semantics of that element are now defined in terms of section breaks |
13:53 | <Andreu Botella> | you can style it as a more bookish section break |
13:54 | <Andreu Botella> | and in vertical writing modes (for vertical writing systems), it renders vertical by default |
14:03 | <Andreu Botella> | https://people.igalia.com/abotella/pub/vertical-hr.html |
14:04 | <hacknorris> | what if someone writes from left to right ? |
14:05 | <Andreu Botella> | for left-to-right top-to-bottom writing systems like the Latin alphabet, the regular display: block paragraph flow goes from top to bottom, so where would you put a vertical rule? |
14:06 | <hacknorris> | to make it like in office sections? x fields to write text in ? |
14:10 | <Andreu Botella> | the only thing I seem to be getting when I search for "office sections" is page breaks: https://support.microsoft.com/en-us/office/insert-a-section-break-eef20fd8-e38c-4ba6-a027-e503bdf8375c |