Skip to content

[cssom][css-conditional][css-images] Switch CSS to use IDL namespace#437

Closed
zcorpan wants to merge 1 commit intow3c:masterfrom
zcorpan:css-idl-namespace
Closed

[cssom][css-conditional][css-images] Switch CSS to use IDL namespace#437
zcorpan wants to merge 1 commit intow3c:masterfrom
zcorpan:css-idl-namespace

Conversation

@zcorpan
Copy link
Copy Markdown
Contributor

@zcorpan zcorpan commented Sep 2, 2016

Web IDL added support for namespaces in
whatwg/webidl#121

elementSources in css-images-4 is commented out for now because
IDL namespaces don't support attributes yet, see #428.

Fixes part of https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623


cc @bzbarsky @domenic @tabatkins @dbaron

Web IDL added support for namespaces in
whatwg/webidl#121

elementSources in css-images-4 is commented out for now because
IDL namespaces don't support attributes yet, see w3c#428.

Fixes part of https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623
@bzbarsky
Copy link
Copy Markdown

bzbarsky commented Sep 2, 2016

The change seems fine. The question is which browsers are willing to try it to see whether it's web-compatible and whether we actually want to change the spec before such trials happen.....

@fantasai
Copy link
Copy Markdown
Collaborator

fantasai commented Sep 2, 2016

If Web-compat seems likely, then we should change the spec, and put a note that it may be reverted if Web-compat problems are found. If Web-compat seems unlikely, then maybe just put a note that we're in the process of trying this out and the spec may be updated if it ends up working.

@zcorpan
Copy link
Copy Markdown
Contributor Author

zcorpan commented Sep 3, 2016

Or maybe we can just wait with merging this until someone has tried to ship.

@fantasai
Copy link
Copy Markdown
Collaborator

Seems like an obscure approach, is the problem. This way it's documented where the feature itself is documented.

@tabatkins
Copy link
Copy Markdown
Member

I'm happy to merge this now with a note in CSSOM next to the definition that it's contingent on web-compat. Do you want me to just add that in and merge it, @zcorpan?

@zcorpan
Copy link
Copy Markdown
Contributor Author

zcorpan commented Nov 22, 2016

SGTM

@zcorpan
Copy link
Copy Markdown
Contributor Author

zcorpan commented May 30, 2017

Should add support for namespaces in web-platform-tests's idlharness.js and add an interfaces.html test for cssom (and cssom-view).

@bzbarsky
Copy link
Copy Markdown

That ended up with the wrong pull request number in the commit message... ah, well.

@bzbarsky
Copy link
Copy Markdown

@tabatkins Are there existing bugs reported against browsers for this?

@tabatkins
Copy link
Copy Markdown
Member

@bzbarsky
Copy link
Copy Markdown

That looks like the bug on supporting namespace at all, not for "CSS should be a namespace".

I guess the question is who is responsible for making sure that UAs actually investigate whether this is shippable.

@tabatkins
Copy link
Copy Markdown
Member

The second comment on that bug is about the CSS namespace specifically.

@bzbarsky
Copy link
Copy Markdown

Yes, it's about the fact that the functionality is needed for that. I'll be pretty surprised if this change gets made in that bug.

Anyway, I landed this in Gecko in https://bugzilla.mozilla.org/show_bug.cgi?id=1455805 but in general the CSSWG really should start filing bugs when spec changes happen....

@zcorpan zcorpan deleted the css-idl-namespace branch April 24, 2018 13:25
fergald pushed a commit to fergald/csswg-drafts that referenced this pull request May 7, 2018
foolip added a commit to foolip/css-houdini-drafts that referenced this pull request Jul 21, 2018
tabatkins pushed a commit to w3c/css-houdini-drafts that referenced this pull request Jul 23, 2018
svgeesus added a commit that referenced this pull request Dec 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment