javascript innerHTML doesnt apply style to the injected html

RESOLVED WORKSFORME

Status

()

Core
DOM
RESOLVED WORKSFORME
12 years ago
5 years ago

People

(Reporter: José Luis Barrera, Unassigned)

Tracking

Trunk
x86
Windows XP
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3

When I render some html into a div with a table and some style, the correct style isnt displayed correctly, only after rightclick inside the div it is displayed correctly

Reproducible: Always

Steps to Reproduce:
1.Use the example page, wait it to load
2.see in the div the style isnt displayed correcly
3.mouse right click over the div and see it change




see the html example.
(Reporter)

Updated

12 years ago
Version: unspecified → 1.5.0.x Branch
(Reporter)

Comment 1

12 years ago
Created attachment 223319 [details]
Test Case

The test case, just wait a few seconds till it loads the example javascript with the onload event

Comment 2

12 years ago
Created attachment 223411 [details]
same testcase with small changes

I moved the button, made the textareas larger, and shortened the timeout.
Assignee: nobody → general
Component: General → DOM: Mozilla Extensions
Product: Firefox → Core
QA Contact: general → ian
Version: 1.5.0.x Branch → Trunk
Assignee: general → nobody
QA Contact: ian → general
So... what exactly is incorrect here?  I see nothing change in the layout when I right-click.

Comment 4

9 years ago
The styles are applied, as far as I can tell.  I even tried using Firefox 1.5.0.12 (on Mac).
Status: UNCONFIRMED → RESOLVED
Last Resolved: 9 years ago
Resolution: --- → WORKSFORME
(Assignee)

Updated

5 years ago
Component: DOM: Mozilla Extensions → DOM
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.