Re: [w3c/editing] Define behavior of pressing enter in inline editing host (Issue #430)

> > 3. 3-1. If _container_ creates a context, e.g., `<caption>`, `<body>`, etc, break this loop
> 
> Hi @masayuki-nakano, could you clarify what you mean by "context" here?

I meant that it creates a things which are enclosed in a group of content, it should not be duplicated like `<caption>`, etc. (I'm not sure the good term to explain such elements.)

> > 3. If _container_ can not have the new default paragraph as a child
> 
> Could you say what conditions lead to "can not have the new default paragraph as a child"? Does this mean "if the container is inline"? If so, would that be determined by tag name or actual inline style?

I'm thinking about the relation between parent element and child element (new default paragraph) from HTML spec point of view.

> > 3. 3-3. If parent node of _container_ is a `<div>`, `<p>`, `<hn>`, `<li>`, `<dt>` or `<dd>`, break this loop
> 
> Could you say more about why this specific list of elements?

They won't have new default paragraphs in any browsers, I think. They will become the left node, and browsers put the right node for it.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/editing/issues/430#issuecomment-1596514040
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/editing/issues/430/1596514040@github.com>

Received on Monday, 19 June 2023 05:11:11 UTC