Bug 327442
| Summary: | audi.com: Deactivate the <model> element feature to avoid a name conflict | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Brent Fulgham <bfulgham> |
| Component: | New Bugs | Assignee: | Brent Fulgham <bfulgham> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Brent Fulgham
The audi.com configurator puts its engine panel inside a custom <model> tag.
WebKit reads that as an instance of the Immersive Web built-in 3D-model element and always gives it a fixed 300x150 box that can't show anything inside it, so the whole panel disappears.
Chrome (and Firefox) do not support this new standard proposal, and treats <model> as an ordinary unknown tag and shows the panel.
Best practice for custom elements is to contain a hyphen (e.g., <audi-model> would have been safe).
We can work around this issue for Audi's configurator by turning the <model> element off when visiting this site, since it does not expect a true 3D-model element for its content.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
This is:
<rdar://181630431>
Brent Fulgham
Pull Request: https://github.com/WebKit/WebKit/pull/76928
EWS
Committed 323761@main (9c83f601b16c): <https://commits.webkit.org/323761@main>
Reviewed commits have been landed. Closing PR #76928 and removing active labels.