Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix CSS Normal Flow: Inline demo #182

Merged
merged 3 commits into from
May 23, 2024
Merged

Fix CSS Normal Flow: Inline demo #182

merged 3 commits into from
May 23, 2024

Conversation

ragul1697
Copy link
Contributor

@ragul1697 ragul1697 commented May 22, 2024

Fixes the issue mdn/content#33705

Description:

MDN URL
https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_flow_layout/Block_and_inline_layout_in_normal_flow

The first code example in the Elements participating in an inline formatting context
section is not interactive and Reset button wasn't working.

This PR fixes the issue.

Motivation:
.

Additional details:
.

Related issues and pull requests:
.

Fixes the issue #33705 in mdn / content.
@ragul1697 ragul1697 requested a review from a team as a code owner May 22, 2024 12:30
@ragul1697 ragul1697 requested review from pepelsbey and removed request for a team May 22, 2024 12:30
@pepelsbey pepelsbey changed the title Update inline.html May 22, 2024
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

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

Hey! Thanks for the help :) I’d suggest changing the approach a bit.

Since this example only uses HTML and no CSS, we don’t need the playable-css class name. But since it’s causing an error in JS, I’d instead remove all references to it from JS (all textareaCSS occurrences, basically). As for the editable class name, I don’t think it’s used anywhere in JS or CSS, so we don’t really need it here.

flow/block-inline/inline.html Outdated Show resolved Hide resolved
flow/block-inline/inline.html Outdated Show resolved Hide resolved
@pepelsbey pepelsbey added bug Indicates an unexpected problem or unintended behavior. Content:CSS effort: small Task is a small effort. labels May 22, 2024
Fixes the issue textarea changes not being responsive
@ragul1697 ragul1697 closed this May 23, 2024
@ragul1697 ragul1697 reopened this May 23, 2024
Copy link
Member

@pepelsbey pepelsbey left a comment

Choose a reason for hiding this comment

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

Nice! Thanks :)

@pepelsbey pepelsbey merged commit 84ab8c4 into mdn:main May 23, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Indicates an unexpected problem or unintended behavior. Content:CSS effort: small Task is a small effort.
2 participants