Skip to content

Remove the concept of CSS Bindings - #1505

Merged
domenic merged 3 commits into
masterfrom
beyndings
Jul 7, 2016
Merged

domenic merged 3 commits into
masterfrom
beyndings

Conversation

@annevk

@annevk annevk commented Jul 6, 2016

Copy link
Copy Markdown
Member

The only problem this leaves unsolved is how the ‘appearance’ works,
but that was not solved before this change either.

Fixes #86.

The only problem this leaves unsolved is how the ‘appearance’ works,
but that was not solved before this change either.

Fixes #86.
@annevk

annevk commented Jul 6, 2016

Copy link
Copy Markdown
Member Author

Bah, made a typo in the branch name.

Comment thread source
<p>Each kind of form control is also given a specific default binding, as described in subsequent
sections, which implements the look and feel of the control.</p> <!-- a binding -->
<p>Each kind of form control is also described in the <a href="#widgets">Widgets</a> section,
which describes the look and feel of the control.</p>

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe "This may be implemented using mechanisms beyond those provided by CSS", or something similar? Not sure; your revision is pretty good as-is.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh, I guess that's explained in the Widgets section, all good

@domenic

domenic commented Jul 6, 2016

Copy link
Copy Markdown
Member

Yay!! This has been bugging me for a long time, as the low issue number indicates. Awesome work.

I think I found all the phrasing bugs caused by the change. I also pointed out a few things that would be good to fix while in the area. Of those only the shadow tree for details is, I think, urgent.

@annevk

annevk commented Jul 6, 2016

Copy link
Copy Markdown
Member Author

Feedback addressed and filed #1508 as follow up. Probably requires changes throughout the standard as there's often references to the "rendered" concept.

@domenic domenic added the topic: rendering How elements are expected to render: the user agent style sheet label Jul 6, 2016
@annevk

annevk commented Jul 7, 2016

Copy link
Copy Markdown
Member Author

We could maybe rename "Widgets" to "Controls", kinda depends on what term we want to align on going forward...

@domenic

domenic commented Jul 7, 2016

Copy link
Copy Markdown
Member

I'm still not OK talking about the element's shadow tree here, since it doesn't refer to the shadow tree concept defined in DOM, but instead some weird concept that isn't web-exposed.

@annevk

annevk commented Jul 7, 2016

Copy link
Copy Markdown
Member Author

I think it's a little weird to block on that given that the text was already there before. I also don't really agree with your analysis. It's quite similar to the concept of a "closed" shadow tree defined in DOM and as with that concept you cannot observe it.

@domenic

domenic commented Jul 7, 2016

Copy link
Copy Markdown
Member

Will you block if I make a follow-up PR to remove it?

@annevk

annevk commented Jul 7, 2016

Copy link
Copy Markdown
Member Author

I don't think I have that power and I would be interested in seeing something that is clearer than what we have today, but I think inventing new concepts that are not related to shadow trees would be weird since that's exactly the kind of concept we want implementations to be using here.

@domenic

domenic commented Jul 7, 2016

Copy link
Copy Markdown
Member

OK, we can leave that for a follow-up PR then. I'd still like to do another once-over to spot any typos and such, but I can probably push any fixups I find and merge.

@domenic
domenic merged commit 6c96bea into master Jul 7, 2016
@domenic
domenic deleted the beyndings branch July 7, 2016 17:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

topic: rendering How elements are expected to render: the user agent style sheet

Development

Successfully merging this pull request may close these issues.

2 participants