Open
Bug 1627474
Opened 6 years ago
Updated 6 years ago
<html:template> handling is a bit fishy in PrototypeDocumentContentSink.cpp
Categories
(Core :: DOM: Core & HTML, defect, P3)
Core
DOM: Core & HTML
Tracking
()
NEW
People
(Reporter: emilio, Unassigned)
Details
We execute scripts inside <template> elements, I think, we add stuff to mDocument->mL10nProtoElements among others...
| Reporter | ||
Comment 1•6 years ago
|
||
Zibi, I'm moderately sure at least this is wrong if you're in a <template> element... Am I right?
Flags: needinfo?(gandalf)
Updated•6 years ago
|
Priority: -- → P3
Comment 3•6 years ago
|
||
CC'ing Mossop since he wrote the original mL10nProtoElements
Comment 4•6 years ago
|
||
Is the idea that we wouldn't localise elements in the template and then localise them when they are copied into the document?
Comment 5•6 years ago
|
||
Yes. We do localize them when they get copied to the tree under root (document or shadowRoot).
Comment 6•6 years ago
|
||
Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•