Closed Bug 281388 Opened 20 years ago Closed 20 years ago

CSS font declarations with system fonts serialize incorrectly (and round-tripping breaks)

Categories

(Core :: Layout: Text and Fonts, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 227695

People

(Reporter: brianm, Unassigned)

References

()

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0 Any element with the font property set will not render correctly when its parent's innerHTML value is copied to another element. A view source of the example tells all. FWIW, other font props like font-family work. Reproducible: Always Steps to Reproduce: See Example Actual Results: The default font was used for text. The default text font was used for form elements, not the default form font. Expected Results: The copy of the innerHTML should appear just like the original.
Summary: font property not respected when innerHTML copied. → CSS font declarations with system fonts serialize incorrectly (and round-tripping breaks)
*** This bug has been marked as a duplicate of 227695 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.