Closed Bug 339234 Opened 18 years ago Closed 15 years ago

javascript innerHTML doesnt apply style to the injected html

Categories

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

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: jluis.barrera, Unassigned)

Details

Attachments

(2 files)

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.
Version: unspecified → 1.5.0.x Branch
Attached file Test Case
The test case, just wait a few seconds till it loads the example javascript with the onload event
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.
The styles are applied, as far as I can tell.  I even tried using Firefox 1.5.0.12 (on Mac).
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
Component: DOM: Mozilla Extensions → DOM
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: