Open Bug 1602476 Opened 6 years ago Updated 3 years ago

<meta http-equiv=default-style> not handled dynamically

Categories

(Core :: DOM: Core & HTML, defect, P2)

defect

Tracking

()

People

(Reporter: annevk, Unassigned)

Details

It seems that Firefox does not handle "dynamic" insertion of default-style meta elements.

There's a test in https://github.com/web-platform-tests/wpt/pull/15264 though it needs some cleaning up due to more recent web-platform-tests refactoring (I'm working on that). There's also a question of timing relative to other inserted elements as discussed by https://github.com/whatwg/dom/issues/808.

What would dynamic insertion even mean, semantically? Having this as a "thing that comes before all the stylesheets" makes some sense; inserting it after a bunch of content is loaded and styles are applied is a little weird.

I think it's mainly to avoid surprises that when you build up the tree dynamically, certain things don't break down.

Priority: -- → P2
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.