Closed Bug 742030 Opened 13 years ago Closed 13 years ago

Cloning a node can change its style attribute

Categories

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

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla14

People

(Reporter: neil, Assigned: bzbarsky)

Details

Attachments

(1 file)

Steps to reproduce problem: 1. Create an HTML element 2. Set its style attribute to something which Gecko's CSS parser considers noncanonical, such as 'color: #ff0000' 3. Clone the element 4. Read the style attribute back from the clone Expected results: Style attribute read back from the clone should equal the style attribute read back from the original element Actual result: Style attribute read back from the node: 'color: #ff0000' Style attribute read back from the clone: 'color: rgb(255, 0, 0);'
Assignee: nobody → bzbarsky
Keywords: checkin-needed
Whiteboard: [need landing]
Flags: in-testsuite+
Keywords: checkin-needed
Whiteboard: [need landing]
Target Milestone: --- → mozilla14
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
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: