- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Thu, 03 Aug 2017 12:51:46 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `CSSFontFaceRule isn't web-compatible`, and agreed to the following resolutions: * `RESOLVED: rollback to previous state with CSSStyleDeclaration and umerged interfaces` <details><summary>The full IRC log of that discussion</summary> <dbaron> Topic: CSSFontFaceRule isn't web-compatible<br> <myles_> https://github.com/w3c/csswg-drafts/issues/825<br> <astearns> github: https://github.com/w3c/csswg-drafts/issues/825<br> <fremy> myles_: cssom for the font-face rule<br> <fremy> myles_: used to be CSSStyleDeclaration with the declarations inside<br> <fremy> myles_: rule.style.getPropertyValue("font-family")<br> <fremy> myles_: the spec was then changed<br> <fremy> myles_: instead of having a style, you would have a bunch of strings<br> <fremy> myles_: e.g. rule.family<br> <fremy> myles_: no browser has made this change<br> <fremy> myles_: there is existing code that use the old way<br> <fremy> myles_: we don't want to break that code<br> <fremy> myles_: option 1: rollback to old spec text<br> <fremy> myles_: option 2: get browsers to support the new spec text<br> <fremy> myles_: option 3: get browsers to support both<br> <fremy> myles_: option 4: make the "style" property return new type of object that looks like CSSStyleDeclaration but is simpler<br> <fremy> dbaron: in the old domstyle spec, cssstyledeclaration was simple<br> <fremy> dbaron: the weird stuff was in css2properties<br> <fremy> dbaron: so you could implement both, and most things did<br> <fantasai> s/css2properties/css2properties, which had a property for every property in css<br> <fremy> dbaron: that was then changed, and the two were merged<br> <fremy> dbaron: so now the merge made it more difficult to implement<br> <fremy> dbaron: we never implemented this merge<br> <fremy> dbaron: (in gecko)<br> <fremy> dbaron: my preferred proposal would then to be unmerge things<br> <fantasai> dbaron: our implementation doesn't include all the other stuff in font face rules, just the 6 original get/set methods<br> <fantasai> (that goes up a few lines)<br> <fremy> dbaron: (and rollback to use cssstyledeclaration)<br> <fremy> myles_: we still need to explain what happens when we set properties that do not exist in @font-face but do in general style<br> <fremy> myles_: but I don't have a strong opinion in either ways<br> <fremy> myles_: but I would rather rollback the spec, and maybe we can refine after<br> <fremy> alan: so, instead of coming up with a perfect design, we rollback the improve iteratively<br> <fremy> TabAtkins: we have copied the design in font-face<br> <fremy> TabAtkins: and we have "style" property there<br> <fremy> TabAtkins: so we cannot be consistent and keep style as CSSStyleDeclaration<br> <fremy> myles_: life is terrible, who names these things ;)<br> <fremy> dbaron: if other implementations are willing to remove css2props stuff, then it leaves less questions to be answered<br> <fremy> myles_: i dont think we ever implemented these two interfaces<br> <fremy> alan: any other opinion?<br> <fremy> TabAtkins: i suspect if gecko is doing it, i guess we could do it<br> <fremy> myles_: merge allows rule.style["font-family"] and unmerge does not<br> <fremy> dbaron: yes<br> <fremy> myles_: webkit does not support this either<br> <dbaron> s/rule.style["font-family"]/rule.style.fontFamily/<br> <gsnedders> I thought both of those were supported interoperably?<br> <fremy> myles_: can we then try to resolve on rolling back to the unmerged version?<br> <fremy> no objection<br> <dbaron> gsnedders: rule is CSSFontFaceRule<br> <fremy> RESOLVED: rollback to previous state with CSSStyleDeclaration and umerged interfaces<br> <myles_> https://github.com/w3c/csswg-drafts/issues/1349<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/825#issuecomment-319959934 using your GitHub account
Received on Thursday, 3 August 2017 12:51:46 UTC