- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Wed, 24 Jun 2020 16:27:49 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `[css-values] attr()'s url type seems wrong`, and agreed to the following: * `RESOLVED: Specify we use host document behavior for URL types in attr()` <details><summary>The full IRC log of that discussion</summary> <dael> Topic: [css-values] attr()'s url type seems wrong<br> <dael> github: https://github.com/w3c/csswg-drafts/issues/5079<br> <dael> TabAtkins: Ana reviewed changes to attr and noticed I have it defined as attr with URL type it takes string and spans into URL function using css resolution rules for relative urls<br> <dael> TabAtkins: Unfortunate because if have a href and pull it out it resolves different from if click a and if you pull it into css.<br> <dbaron> s/Ana/Anne/<br> <dael> TabAtkins: They're not concordant resolution mech<br> <dael> TabAtkins: Suggestion is when using url-type we should use same reoslution rules as HTML uses.<br> <dael> TabAtkins: Reasonable to me. Exact working needs to be worked out with Anne.<br> <dael> TabAtkins: As long as no one objects to that I'm happy to have it work<br> <dael> fantasai: Update L3 as well?<br> <dael> TabAtkins: Only to whatever version the new advanced attr function is in<br> <dael> fantasai: Right, yeah<br> <dael> fantasai: Also values 4 hasn't been published in long time<br> <dael> TabAtkins: Sure. Separate issue.<br> <dael> astearns: Other comments?<br> <fantasai> +1 to the change<br> <faceless2_> +1 from me, it's a good idea.<br> <bkardell_> +1<br> <dael> astearns: Prop: When attr function is using URL type use same resolution rules as HTML<br> <dael> fantasai: I think take resolution rules for the element from which took attr<br> <dael> TabAtkins: Yes, but only one language that deinfes which is HTML<br> <dael> fantasai: [missed]<br> <dael> TabAtkins: Yeah, generic HTML doc doesn't define either<br> <fantasai> s/[missed]/If you apply CSS to a generic XML document, then HTML doesn't define that/<br> <dael> s/HTML/XML<br> <dael> fantasai: You shoudl write spec so it works for whatever languages<br> <dael> TabAtkins: As long as not a huge pain of cross doc references sure. If it is a pain I'll write it how it's readable. We'll figure out details. Want to make sure general plan is right<br> <dael> astearns: Objections to specify we use host document behavior for URL types in attr()<br> <dael> RESOLVED: Specify we use host document behavior for URL types in attr()<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5079#issuecomment-648926142 using your GitHub account
Received on Wednesday, 24 June 2020 16:27:51 UTC