You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There is ul tag inside p tag at src/components/app/index.marko. I was noticing visible element padding change after initial rendering in browser. Found the cause, it was because ul is block-level element and causes p to automatically close. It means that browser will render ul outside p tag even if it's inside it in HTML markup. It seems that JavaScript rendering will allow ul inside p and when JavaScript render code runs it will move ul inside p tag.
More info https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p and https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
There is ul tag inside p tag at
src/components/app/index.marko
. I was noticing visible element padding change after initial rendering in browser. Found the cause, it was becauseul
is block-level element and causesp
to automatically close. It means that browser will renderul
outsidep
tag even if it's inside it in HTML markup. It seems that JavaScript rendering will allowul
insidep
and when JavaScript render code runs it will moveul
insidep
tag.More info https://developer.mozilla.org/en-US/docs/Web/HTML/Element/p and https://developer.mozilla.org/en-US/docs/Web/HTML/Block-level_elements
The text was updated successfully, but these errors were encountered: