04:22 | <olekpiasecki> | hi |
04:23 | <mztea9281> | That’s wassup |
04:26 | <olekpiasecki> | ok ill try follow.i can try fix it . but i dont have the best brain like my grandma |
05:19 | <mztea9281> | Use this link to join a WhatsApp video call: https://call.whatsapp.com/video/YloA56FQVyaibkIXpSJ9Ix |
05:19 | <mztea9281> | Use this link to join a WhatsApp video call: https://call.whatsapp.com/video/YloA56FQVyaibkIXpSJ9Ix |
05:20 | <Dominic Farolino> | Can you throw an exception in steps that return a promise? Does that just magically reject the promise in WebIDL or... |
05:25 | <Dominic Farolino> | https://w3ctag.github.io/promises-guide/#always-return-promises seems to say no |
05:32 | <Dominic Farolino> | Oh nvm, it does say WebIDL should take care of things automatically |
07:38 | <annevk> | Dominic Farolino: I'm not sure if the promises guide is a good reference, I'd recommend reading Web IDL directly |
07:39 | <annevk> | Oh, I guess it has been overhauled since it no longer seems to include example prose |
14:01 | <annevk> | So in order to avoid writing document.documentElement folks will write <html id=html> so they can use html . |
14:54 | <miketayl_r> | that's a fun hack |
14:56 | <annevk> | miketayl_r: will I encounter this on a slide at a future web developer meetup? 😅 |
14:56 | <annevk> | Domenic: any interest in making the Live URL Viewer show the origin field? |
15:03 | <miketayl_r> | i'm going to start using <html id=jQuery> just to spite future me |
15:03 | <Andreu Botella> | <html id=jQuery><body id="$"> |
15:08 | <Dominic Farolino> | What's the canonical way to start a timer for some task in spec prose? I would guess calling https://html.spec.whatwg.org/multipage/timers-and-user-prompts.html#timer-initialisation-steps, but that dfn isn't exported, and I'm certain we shouldn't call the actual DOM setTimeout() function from a spec algorithm... |
15:29 | <annevk> | Dominic Farolino: "run steps after a timeout" |
15:31 | <annevk> | Note that you'll have to queue your own task if you need one |
15:42 | <Dominic Farolino> | Thanks |
15:43 | <Dominic Farolino> | Btw what is the common way to assert that a set of steps are running i.e., on the main thread. Just something like Assert: These steps are running on the FOO task source? Not sure if there is a more formal way... |
15:45 | <hacknorris> | ey - someone knows if comment is a self-closing tag in xml/html/xhtml/html5 ? means - this comment : <!-- thing --> not <comment> thing </comment> as was somewhen in IE... |
15:46 | <hacknorris> | cause for me it looks even more out of specs/inconsistent than doctype tag... |
16:09 | <hacknorris> | cause while i can know that doctype is self-closing for comment there is no such info |
16:10 | <annevk> | Dominic Farolino: maybe assert there's a current settings object or a surrounding agent? |
16:10 | <annevk> | hacknorris: there's no comment element or comment tags |
16:11 | <hacknorris> | hacknorris: there's no comment element or comment tags <!-- --> |
16:11 | <hacknorris> | in both html, xml and all related markups |
16:11 | <annevk> | I'm not sure what you mean here? |
16:12 | <hacknorris> | no, already fine, i just see you had a lag but then i thought it was plain ignorance =] |
16:13 | <annevk> | So what is the question then? |
16:13 | <hacknorris> | is <!-- --> self closing |
16:14 | <Andreu Botella> | Comments have no contents in the DOM tree, so there's nothing to close |
16:14 | <Andreu Botella> | unless you mean skipping the final --> |
16:15 | <hacknorris> | no i mean if its self closing thing cause it neither looks like <!--> <--> neither <!-- --\> |
16:15 | <annevk> | hacknorris: the concept of self-closing only applies to start tags |
16:15 | <Andreu Botella> | Comments are their own thing, they're not tags |
16:16 | <hacknorris> | Comments are their own thing, they're not tags |
16:17 | <hacknorris> | btw other question - is <img> really closing tag? cause i oftenly like to do <img src=""> comment here </img> in html... and yet better - it works... |
16:18 | <hacknorris> | or what i do is totally invalid and i should do <img src=""/> comment ? |
16:19 | <hacknorris> | like i want a11y, comment under image even if exists and relation to image |
16:19 | <annevk> | hacknorris: it's invalid and won't work in text/html . With text/xml or equivalent you can get away with it, but tooling might end up being confused. |
16:19 | <annevk> | hacknorris: use alt |
16:19 | <hacknorris> | but alt isnt visible if image exist |
16:19 | <annevk> | hacknorris: and aria-describedby |
16:20 | <hacknorris> | i know i can use css with text insertion but i dont think its best proctice here |
16:20 | <annevk> | hacknorris: or <figure> |
16:20 | <hacknorris> | hacknorris: or |
16:21 | <hacknorris> | for now looks cool but i think its a waste of code to embed img tag inside other tag just to link image to description |
16:38 | <hacknorris> | also another question - is it a good practice for custom html tags ? like im making an appstore-like page and for each app i wanted to have container with some data (like icon, name, description, rating, etc...) |
16:38 | <hacknorris> | i have that as custom : <app-content></app-content> |
17:04 | <hacknorris> | very bad idea? thank you =] |
17:07 | <Andreu Botella> | very bad idea? thank you =] |
17:07 | <hacknorris> | a, ok |
17:07 | <hacknorris> | thought you have some "best practices" or something =] |
17:08 | <Andreu Botella> | But to answer your question, it's fine to do that. Browsers will treat it as any other element, just without any given semantics. And web components are basically built on such "non-existent" elements, where you define their behavior with Javascript. |
17:08 | <Andreu Botella> | Just note that they will render as inline elements by default. |
17:09 | <hacknorris> | But to answer your question, it's fine to do that. Browsers will treat it as any other element, just without any given semantics. And web components are basically built on such "non-existent" elements, where you define their behavior with Javascript. |
17:09 | <hacknorris> | i try to be a minimum but accessible (mostly my bad practice is just only forgetting alt text, rest is fine at me) |
17:14 | <hacknorris> | like for example my blog - where do you see JS here : |
18:17 | <hacknorris> | btw - can i have a html feature request for you? only asking =] |
18:18 | <Andreu Botella> | https://whatwg.org/faq#adding-new-features |
18:34 | <hacknorris> | good or bad ? https://github.com/whatwg/html/issues/8632 |
18:59 | <olekpiasecki> | https://w3ctag.github.io/promises-guide/#always-return-promises seems to say no |
19:01 | <hacknorris> | good or bad ? https://github.com/whatwg/html/issues/8632 |
19:05 | <networkException> | good or bad ? https://github.com/whatwg/html/issues/8632 |
19:05 | <hacknorris> | ok, will wait then =] |
19:53 | <hacknorris> | and my last question - how it is with custom html tags? i know i can use them for text but now i would like to make custom tag for image - ever possible ? |
21:16 | <hacknorris> | okay - dead chat so a similar question - someone knows a way for custom property (or redefinition of existing attribute but for other elements) to be accessible as a background image of such tag ? |
21:17 | <hacknorris> | like this : <app-container><app-box><app-icon data-href="pinky-kde.gif"></app-icon><app-name>test</app-name></app-box></app-container> |
21:17 | <hacknorris> | cause styles apply for <app-name> but i cant see <app-icon> |
21:17 | <hacknorris> | my css :
|
21:18 | <hacknorris> | (yes i just putted everything i found on stackoverflow and still doesnt work) |
21:28 | <hacknorris> | ? |
22:00 | <hacknorris> | okay so noone knows. sad ;-; |
22:34 | <hacknorris> | will be tomorrow maybe bye |