Skip to content

Close #630 - #631

Merged
narumincho merged 50 commits into
mainfrom
dev
Aug 6, 2026
Merged

Close #630#631
narumincho merged 50 commits into
mainfrom
dev

Conversation

@narumincho

@narumincho narumincho commented Aug 2, 2026

Copy link
Copy Markdown
Owner

残タスク

  • 余計な属性を struct で持つのは不要
  • まだ自動生成のものを利用していないところがある
  • やっぱりVDOMに型パラメータ不要? 調査して
  • 出力したファイルのlinter 警告があるようなので, 警告がでない形で出力するようにしてください

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6ed5561db8

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +787 to +789
if html_attribute_names.contains(&name) || name.starts_with("aria") || name.starts_with("data")
{
return true;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Emit real ARIA attribute names

When a caller uses the generated ARIA helpers such as .aria_label("Close"), this branch treats IDL reflection property names like ariaLabel as content attributes, and the generator later writes that raw name into the rendered attribute. In HTML this becomes arialabel rather than the required aria-label, so accessible names/states set through the new typed helpers are ignored by assistive technology.

Useful? React with 👍 / 👎.

Comment on lines +441 to +445
let is_svg = node
.dyn_ref::<web_sys::Element>()
.and_then(|el| el.namespace_uri())
.map(|ns| ns == "http://www.w3.org/2000/svg")
.unwrap_or(false);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Preserve HTML namespace under foreignObject

When a state update appends children to an existing SVG <foreignObject>, this derives is_svg only from the parent namespace; because foreignObject itself is SVG, appended HTML children such as div or input are created with the SVG namespace. Initial rendering already switches back to HTML for foreignObject children, so dynamic appends diverge from the initial DOM and the embedded HTML will not behave/render correctly.

Useful? React with 👍 / 👎.

@narumincho
narumincho merged commit 47626d9 into main Aug 6, 2026
1 check passed
@narumincho
narumincho deleted the dev branch August 6, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant