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)

defect

Tracking

()

People

(Reporter: emilio, Unassigned)

Details

We execute scripts inside <template> elements, I think, we add stuff to mDocument->mL10nProtoElements among others...

Zibi, I'm moderately sure at least this is wrong if you're in a <template> element... Am I right?

Flags: needinfo?(gandalf)

yeah!

Flags: needinfo?(gandalf)
Priority: -- → P3

CC'ing Mossop since he wrote the original mL10nProtoElements

Is the idea that we wouldn't localise elements in the template and then localise them when they are copied into the document?

Yes. We do localize them when they get copied to the tree under root (document or shadowRoot).

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.