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);'
Created attachment 611969 [details] [diff] [review]
When cloning nodes with inline style, preserve the inline style string.