-
Notifications
You must be signed in to change notification settings - Fork 38
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
Color module strange markup in color.theme.inc #4468
Comments
Good catch @indigoxela 👍 ...this seems to have been a CR oversight in https://github.com/backdrop/backdrop/pull/2228/files#diff-854a186b448a82fbcebaf8c1b34cd404R25 (see #3186). Now as to whether it should be an |
Yes, that was an oversight on my part. It was originally an iframe, but I changed it to an object since some browsers were doing weird things with their handling of iframes. I made a PR that fixes the issue. backdrop/backdrop#3242 |
Thanks @hosef ...RTBC 👍 |
…settings preview. By @hosef, @indigoxela & @klonos.
…settings preview. By @hosef, @indigoxela & @klonos.
Thanks @indigoxela for reporting this, @hosef for the PR and @klonos for testing! I've merged backdrop/backdrop#3242 into 1.x and 1.16.x. |
Description of the bug
It doesn't seem to cause any problems, but the closing tag should match the opening tag to get valid markup:
https://github.com/backdrop/backdrop/blob/9994d4d00bc00819450acf911f30624308e8325b/core/modules/color/color.theme.inc#L25
It opens an
<object>
but closes an<iframe>
Browsers seem to interpret it as "object", I didn't see any side effects.
What is this supposed to be? Iframe or object?
The text was updated successfully, but these errors were encountered: