16:25 | <smaug> | Is there a way to disable OOPIF in Chrome? (I assume there is at least way to prevent some of it, given the mobile behavior) |
16:25 | <smaug> | I would just test something, on desktop |
18:01 | <hacknorris> | just a very smol question from an indie "coder" - someone knows either a full source code or css file of X H T M L ? cant find in google and wanted to make something similar... |
18:02 | <hacknorris> | im just curious how xhtml displays media mostly |
18:02 | <hacknorris> | rest i figured out by myself already |
18:03 | <Andreu Botella> | the only real difference is the parsing, everything else stays the same |
18:03 | <hacknorris> | and i mean - i have mine dtd already |
18:03 | <Andreu Botella> | well, if you're not careful with namespaces, you might end up with elements that look like HTML but aren't, and that would end up with a difference in rendering |
18:04 | <hacknorris> | is it executing wasm or js do display ? or whut ? |
18:04 | <Andreu Botella> | ? |
18:04 | <hacknorris> | well, if you're not careful with namespaces, you might end up with elements that look like HTML but aren't, and that would end up with a difference in rendering |
18:04 | <hacknorris> | ? |
18:05 | <hacknorris> | looks like wasm |
18:05 | <hacknorris> | eventually JS |
18:05 | <Andreu Botella> | XHTML renders the same as HTML, the only difference is the source is parsed in a different way. |
18:05 | <hacknorris> | and i mean source |
18:05 | <hacknorris> | i do xml html the reversed way |
18:06 | <Andreu Botella> | But if you're not careful with namespaces, you might end up with something like <p> that isn't really an HTML <p> element and doesn't have the default display: block |
18:06 | <hacknorris> | like i make xml file displaying in browser |
18:06 | <hacknorris> | But if you're not careful with namespaces, you might end up with something like |
18:06 | <hacknorris> | and i meant - make alternative to <img> tag |
18:07 | <Andreu Botella> | something like that you'd have to do with CSS |
18:07 | <hacknorris> | but in css there is no display image afaik |
18:08 | <Andreu Botella> |
|
18:08 | <hacknorris> | content supports images ?! |
18:08 | <hacknorris> | wtf ?! |
18:09 | <hacknorris> | i thought maximum i can achieve was to display thing from data-x="something" instead of title attrib |
18:09 | <hacknorris> |
|
18:10 | <hacknorris> | like if i want this :
|
18:10 | <Andreu Botella> | I'm not sure right now if you can use attribute values in the CSS image function, or if that's spec'd but not implemented yet |
18:11 | <hacknorris> | I'm not sure right now if you can use attribute values in the CSS image function, or if that's spec'd but not implemented |
18:11 | <hacknorris> | or even full source code |
18:12 | <hacknorris> | for html i found on github already... but this isnt based on xml like mine... |
18:14 | <hacknorris> | like this i CAN do : |
18:15 | <hacknorris> | but this already cant (over marked in paint) : |
18:16 | <hacknorris> | so any ideas? source code of xhtml i beg for ? ;-; |
18:18 | <Andreu Botella> | browsers implement <img> and various other HTML and SVG elements specially |
18:18 | <Andreu Botella> | while there are user agent stylesheets that give you the default stylings, that doesn't cover everything |
18:18 | <hacknorris> | browsers implement |
18:18 | <Andreu Botella> | there's the specs |
18:19 | <hacknorris> | ye but for me its just source of xhtml lol |
18:20 | <Andreu Botella> | SVG isn't implemented with a CSS source – the browser knows how to render specific SVG elements |
18:20 | <hacknorris> | 😰 |
18:24 | <hacknorris> | and what with audio and css |
18:24 | <hacknorris> | ? |
18:25 | <Andreu Botella> | what about it? |
18:25 | <hacknorris> | cause css is stylesheet. for me style also should apply to audio but i never saw any css for audio things.. |
18:25 | <hacknorris> | only Js |
18:26 | <Andreu Botella> | there's CSS properties for audio, but I'm not sure how much they're used |
18:26 | <hacknorris> | which ones ? on w3scools never saw |
18:28 | <Andreu Botella> | https://w3c.github.io/csswg-drafts/css-speech-1/ |
18:29 | <hacknorris> | 🤔 |
19:07 | <hacknorris> | e- would it be good to replace 2d art to 3d art in css ? |
19:07 | <hacknorris> | cause i know its just possible.. |
23:58 | <TabAtkins> | Yeah, the Speech spec is vaporware, nothing uses it. |
23:59 | <TabAtkins> | hacknorris: If you want to do your own images in a webpage, that's what the <canvas> element is for - creating your own images with JS. |